summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt18
-rw-r--r--docs/releases/3.0.txt3
2 files changed, 21 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
--------------------------
diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt
index 25d602559e..14156af459 100644
--- a/docs/releases/3.0.txt
+++ b/docs/releases/3.0.txt
@@ -267,6 +267,9 @@ Tests
* Django test runner now supports headless mode for selenium tests on supported
browsers. Add the ``--headless`` option to enable this mode.
+* Django test runner now supports ``--start-at`` and ``--start-after`` options
+ to run tests starting from a specific top-level module.
+
URLs
~~~~