OpenStack tooling for interacting with testr
Go to file
Hervé Beraud 3ee44d3708 Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I34614487e74771ea980b7bd213d11ed5c960460d
2020-08-01 19:43:16 +00:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-02 14:20:06 +02:00
os_testr Stop to use the __future__ module. 2020-08-01 19:43:16 +00:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-02 14:20:06 +02:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:42:01 +00:00
.gitignore Switch to stestr under the covers 2017-08-29 11:03:30 -04:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:26 +00:00
.mailmap Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00
.stestr.conf Switch to stestr under the covers 2017-08-29 11:03:30 -04:00
.zuul.yaml [ussuri][goal] Drop python 2.7 support and testing 2020-03-04 01:35:46 +00:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2020-04-22 14:08:14 +00:00
HACKING.rst Use updated hacking url link 2018-10-17 02:34:54 +00: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 Replace git.openstack.org URLs with opendev.org URLs 2019-06-25 09:33:30 +00:00
babel.cfg Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00
requirements.txt Updated from global requirements 2017-11-16 11:20:18 +00:00
setup.cfg [ussuri][goal] Drop python 2.7 support and testing 2020-03-04 01:35:46 +00:00
setup.py [ussuri][goal] Drop python 2.7 support and testing 2020-03-04 01:35:46 +00:00
test-requirements.txt Fix hacking min version to 3.0.1 2020-05-12 21:52:27 -05:00
tox.ini [ussuri][goal] Drop python 2.7 support and testing 2020-03-04 01:35:46 +00:00

README.rst

os-testr

Latest Version

Downloads

A testr wrapper to provide functionality for OpenStack projects.

Features

Warning

ostestr command is deprecated. Use stestr command instead like following

  1. Install stestr (This step is already done if you're using ostestr.)
  2. You can use stestr run ... instead of ostestr ...
  3. You can use stestr list ... instead of ostestr --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 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