aboutsummaryrefslogtreecommitdiffstats
path: root/run_unit_tests.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-11-24Extracted all global parameters into functest_constants.pyhelenyao1-0/+1
JIRA: FUNCTEST-533 1. Extracted all global variables into functest_constants.py and updated all affected areas accordingly 2. Used os.path.join to replace '/' to come up with the path for better cross-platform support and improve the path accuracy 3. Removed unused variables 4. Updated the hardcoded path in Dockerfile by using variable reference 5. Removed "/" ending from all path variables 6. Updated the unit test Change-Id: Ib30a81d1f0c83fbaef042d63c187c27bd18301bb Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-18Adapt Domino to Test AbstractionMorgan Richomme1-1/+1
JIRA: FUNCTEST-547 Change-Id: Iaeb1bb3e6f4529343eacc2f5ceda6d61ca6d96f7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-09Repo structure modificationMorgan Richomme1-24/+1
- create functest subdirectory - rename unit tests - adapt path in exec and config files JIRA: FUNCTEST-525 Change-Id: Ifd5c6edfb5bda1b09f82848e2269ad5fbeb84d0a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-04bug fix on log file creation for unit testsMorgan Richomme1-8/+5
JIRA: FUNCTEST-326 Change-Id: Iae797d00c0bda07fce098f4a054dfc8f5bba069b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-04Add exit return code for unit testsMorgan Richomme1-5/+80
Note that this patch should trigger some refactoring 1: repo structure, uggly hack due to the fact that the code is at the root of the repo. The name can be change when cloning leading to python path issues 2: logger is called with harcoded file in functest_logger.py uggly hack to create the file is not already present Basically hacks were necessary to be able to run the unit tests locally and from jenkins JIRA: FUNCTEST-336 Change-Id: Ib88256a167c003805d480f57c218c37d8d5962d8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-20Fix nosetests call in run_unit_tests.shCédric Ollivier1-1/+2
It adds the missing whitespace and only lists the packages for which unit tests have been developped. It also adds python-neutronclient as requirement. Change-Id: Id14b0698cb3636333751d61ff954500a665e1551 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-19Add unittests dirMorgan Richomme1-0/+25
JIRA: FUNCTEST-336 Change-Id: Icd958552fafb4e8dc58f9008586bcaf33862ccd4 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>