a3b403bd4e
The way how we handled the regular expressions had a lot of limitation. - We are not able to pass huge arguments to testr, it makes difficult to have long list if accepted and/or rejected test cases, but we can pass a path to a file of test cases, which can be arbitrary big. - How we wanted to handle the backlists before was not worked together with the regular selecting regex because it consumed the pattern. Now the blacklisting happens in a separated phase after the selecting regex search. This change just allows the new code path to run when both a blacklist_file and a selecting regexp specified. The new way depends on the usual test discovery and just filters the output of the discovery command, this strategy can be the default in the future, now I just wanted to preserve the old behavior as much as possible in all the other cases. Change-Id: Ie8e5928e286d0c9076c4eee23319149c9869a6fa Closes-Bug: #1506215 |
||
---|---|---|
doc/source | ||
os_testr | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
os-testr
A testr wrapper to provide functionality for OpenStack projects.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/os-testr
- Source: http://git.openstack.org/cgit/openstack/os-testr
- Bugs: http://bugs.launchpad.net/os-testr
Features
ostestr
: a testr wrapper that uses subunit-trace for output and builds some helpful extra functionality around testrsubunit-trace
: an output filter for a subunit stream which provides useful information about the runsubunit2html
: generates a test results html page from a subunit streamgenerate-subunit
: generate a subunit stream for a single test