summaryrefslogtreecommitdiff
path: root/docs/internals/contributing
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2019-05-25 20:55:30 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-05-31 07:01:12 +0200
commite2de49ec2ea5827b36d0d4ec4f90b4ee0a003e93 (patch)
treef1e67da211515557b6fe8789432f5cbf60979d55 /docs/internals/contributing
parentef7e0ae53bf42942c3dcf1155962b90ab3f3e6fd (diff)
Fixed #28520 -- Added --start-at/--start-after options to runtests.py.
Diffstat (limited to 'docs/internals/contributing')
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt18
1 files changed, 18 insertions, 0 deletions
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
--------------------------