Change nose to testr in the documentation
This change update how to running test of the documentation. It change nose reference to the testr. DocImpact Fixes bug #1193165 Change-Id: If00ed219d42f268dd3229980f13e9de82929890e
This commit is contained in:
parent
5bfbaba768
commit
e12e2da9e6
@ -59,15 +59,14 @@ run through tox_.
|
||||
$ cd /opt/stack/ceilometer
|
||||
$ tox -e py27,pep8
|
||||
|
||||
As tox is a wrapper around nose, it also accepts the same flags as nosetests.
|
||||
See the `nose options documentation`_ for details about these additional flags.
|
||||
As tox is a wrapper around testr, it also accepts the same flags as testr.
|
||||
See the `testr documentation`_ for details about these additional flags.
|
||||
|
||||
.. _nose options documentation: http://readthedocs.org/docs/nose/en/latest/usage.html#options
|
||||
.. _testr documentation: https://testrepository.readthedocs.org/en/latest/MANUAL.html
|
||||
|
||||
Use a double hyphen to pass options to nose. For example, to set verbose
|
||||
flag and to run only tests under tests/api/v2::
|
||||
Use a double hyphen to pass options to testr. For example, to run only tests under tests/api/v2::
|
||||
|
||||
$ tox -e py27 -- -v api/v2
|
||||
$ tox -e py27 -- api.v2
|
||||
|
||||
.. seealso::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user