Fixed #28520 -- Added --start-at/--start-after options to runtests.py.

This commit is contained in:
Hasan Ramezani 2019-05-25 20:55:30 +02:00 committed by Mariusz Felisiak
parent ef7e0ae53b
commit e2de49ec2e
3 changed files with 66 additions and 9 deletions

View file

@ -213,6 +213,24 @@ Going beyond that, you can specify an individual test method like this:
$ ./runtests.py --settings=path.to.settings i18n.tests.TranslationTests.test_lazy_objects
You can run tests starting at a specified top-level module with ``--start-at``
option. For example:
.. console::
$ ./runtests.py --start-at=wsgi
You can also run tests starting after a specified top-level module with
``--start-after`` option. For example:
.. console::
$ ./runtests.py --start-after=wsgi
Note that the ``--reverse`` option doesn't impact on ``--start-at`` or
``--start-after`` options. Moreover these options cannot be used with test
labels.
Running the Selenium tests
--------------------------