summaryrefslogtreecommitdiffstats
path: root/test/functest/run_tests.py
AgeCommit message (Collapse)AuthorFilesLines
2016-12-15Make sdnvpn a packageRomanos Skiadas1-87/+0
- Clean up the test/functest folder and move things to lib/ & artifacts/ - Add a new top level folder for the sdnvpn python code Change-Id: I5fdc7fa5475fb800f488a17d3481158c9c4f84e1 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-02Merge "Remove push to DB of overall result of bgpvpn test case"Jose Lausuch1-12/+0
2016-11-24Remove push to DB of overall result of bgpvpn test casejose.lausuch1-12/+0
Functest will capture the return value of run_tests.py and will report to the DB accordingly (PASS/FAIL) JIRA: SDNVPN-83 This follows this approach: https://wiki.opnfv.org/pages/viewpage.action?pageId=8685677#HowdoIintegrateafeaturetestcaseinFunctest?-3.Createapythonmoduleforyourtest Change-Id: I664964038b59ab8f38946d2dfe586dbdd41e9906 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-23Adapt new environment variable after refactorjose.lausuch1-4/+6
This patch changes the env variable repos_dir to REPOS_DIR https://gerrit.opnfv.org/gerrit/#/c/24619/ Change-Id: I55e17ee09395a976e79b8ee1abf045787009f52e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-22Fix a shebangRomanos Skiadas1-1/+1
Change-Id: Ib0b1a8c1b82c57d76d97520cbc27f043fede1352 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-09-09Use get_functest_config where appropriateRomanos Skiadas1-1/+1
The latest functest enforces using `get_parameter_from_yaml` to only get test specific parameters from the config file. `get_functest_config` is given to get functest configuration parameters. Change-Id: Icb6ec2ed4a9d6c278bf1c403d4d0c4f4b21e51b7 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-09-05Adapt some calls to functest_utils that don't require loggerjose.lausuch1-1/+0
Due to a small refactor of some functions in Functest, the calls to those are outdated and fail. Change-Id: I1fdce5d343fc55ecd1b25a837608c7172047f22e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-27Return -1 if the tests failjose.lausuch1-2/+7
Change-Id: I19c3e8b979376a38b8a5838b7a41a3915f90b57f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-20Report overall status of the test results to DBjose.lausuch1-8/+26
The reporting Dashboard looks for the test case called 'bgpvpn'. Now, we report the overall status of the tests into that test case and also each one separatelly. http://testresults.opnfv.org/test/api/v1/results?case=bgpvpn Also, fix the 3 flake8 violations Change-Id: I5b0d816894bf16d3d11085437f1556b5d0446d81 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-14Add support to push the results to the DBjose.lausuch1-16/+58
JIRA: SDNVPN-19 The test scripts now return a json object with the following format: {"status": criteria, "details": results} where criteria: "PASS"|"FAILED" (result of the test case) details: free output that will be printed to the console and pushed to the DB Change-Id: I9e5e0c3b6cb5f4b060929b71a06f6e4f95f814fb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-12Bugfix run_tests fails to run python scriptsjose.lausuch1-2/+4
Change-Id: Ibd97de79eb8d824120eb2a1b80017ff1f9f99f14 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-08Add testcase1 implementationjose.lausuch1-0/+31
JIRA: SDNVPN-30 Change-Id: I4d31e9c4dc683c031d6a3d44e0d2bf4d80332281 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>