From e2de49ec2ea5827b36d0d4ec4f90b4ee0a003e93 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Sat, 25 May 2019 20:55:30 +0200 Subject: Fixed #28520 -- Added --start-at/--start-after options to runtests.py. --- .../internals/contributing/writing-code/unit-tests.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'docs/internals/contributing/writing-code') diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index 6d9074f2d1..febfa3546e 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -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 -------------------------- -- cgit v1.3