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
|
$ cd /opt/stack/ceilometer
|
||||||
$ tox -e py27,pep8
|
$ tox -e py27,pep8
|
||||||
|
|
||||||
As tox is a wrapper around nose, it also accepts the same flags as nosetests.
|
As tox is a wrapper around testr, it also accepts the same flags as testr.
|
||||||
See the `nose options documentation`_ for details about these additional flags.
|
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
|
Use a double hyphen to pass options to testr. For example, to run only tests under tests/api/v2::
|
||||||
flag and to run only tests under tests/api/v2::
|
|
||||||
|
|
||||||
$ tox -e py27 -- -v api/v2
|
$ tox -e py27 -- api.v2
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user