OpenStack tooling for interacting with testr
Go to file
Attila Fazekas a3b403bd4e Construct a list of test cases instead of passing a regexp
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
2016-09-19 14:26:03 +02:00
doc/source Fix doc warnings and disable smarty-pants 2016-06-29 13:57:02 +09:00
os_testr Construct a list of test cases instead of passing a regexp 2016-09-19 14:26:03 +02:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:42:01 +00:00
.gitignore Fix coverage section in tox.ini 2015-12-04 18:26:12 +09:00
.gitreview Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00
.mailmap Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00
.testr.conf Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00
CONTRIBUTING.rst Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00
HACKING.rst Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00
LICENSE Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00
MANIFEST.in Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00
README.rst Add documentation for generate-subunit 2016-06-10 14:00:47 -04:00
babel.cfg Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00
requirements.txt Updated from global requirements 2016-05-06 22:21:28 +00:00
setup.cfg Add support for Python versions 2016-08-16 13:51:37 +08:00
setup.py Updated from global requirements 2016-02-10 21:57:50 +00:00
test-requirements.txt Remove discover from test-requirements 2016-07-04 09:14:05 +02:00
tox.ini Add support for Python versions 2016-08-16 13:51:37 +08:00

README.rst

os-testr

Latest Version

Downloads

A testr wrapper to provide functionality for OpenStack projects.

Features

  • ostestr: a testr wrapper that uses subunit-trace for output and builds some helpful extra functionality around testr
  • subunit-trace: an output filter for a subunit stream which provides useful information about the run
  • subunit2html: generates a test results html page from a subunit stream
  • generate-subunit: generate a subunit stream for a single test