92248c8506
- Acreate a new tools/run_tests.py script to execute test cases - Move report generation to such script and remove 'report' tox environment - Running test cases generates report files (.log, .html, .xml) into 'report/{envname}' directory - Test cases failures will returns exit code 1 Other script test runner failures returns exit code 2 Big refactory to tox.ini file to try semplifying it: - create the new 'py3' tox environment for running unit tests as default platform python 3 interpreter - use same as py3 '{envdir}' for scenario, functional, neutron and faults tox environments Change-Id: Id09425245cc86b84b41e6b3b1c1db759cc686f3a
10 lines
436 B
Plaintext
10 lines
436 B
Plaintext
# Unit tests requirements
|
|
|
|
coverage!=4.4,>=4.0 # Apache-2.0
|
|
junitxml>=0.7 # LGPL-3
|
|
mock>=2.0 # BSD
|
|
os-testr>=1.0 # Apache-2.0
|
|
python-subunit>=1.4 ; python_version >= '3.0' # Apache-2.0
|
|
python-subunit<1.4 ; python_version < '3.0' # Apache-2.0
|
|
stestr>=2.0 # Apache-2.0
|