OpenStack tooling for interacting with testr
2c07d4e638
The patch encodes a data string which contains non-ASCII characters to unicode type. In python2 there are two text types str and unicode. When we add two different text types, for example: >>> "Hello " + u"World" u'Hello World' The string on the left is decoded by using the default system encoding into a Unicode string. If it would contain non-ASCII characters(as in our case) this normally blow up with an UnicodeDecodeError because the default encoding is set to ASCII. Change-Id: I17e5aa6f45133d9d12aa38cec9cc42694913d4bd Closes-Bug: #1857901 |
||
---|---|---|
doc | ||
os_testr | ||
releasenotes | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.zuul.yaml | ||
babel.cfg | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
os-testr
A testr wrapper to provide functionality for OpenStack projects.
- Free software: Apache license
- Documentation: https://docs.openstack.org/os-testr/
- Source: https://opendev.org/openstack/os-testr
- Bugs: https://bugs.launchpad.net/os-testr
Features
Warning
ostestr
command is deprecated. Use stestr command instead like
following
- Install stestr (This step is already done if you're using ostestr.)
- You can use
stestr run ...
instead ofostestr ...
- You can use
stestr list ...
instead ofostestr --list ...
For more sub commands and options, please refer to stestr help or the stestr document.
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