summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/django-admin.txt7
-rw-r--r--docs/releases/3.1.txt3
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 58fb34e821..cbb4a2d8ed 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1462,6 +1462,13 @@ Runs test methods and classes matching test name patterns, in the same way as
Spawns a ``pdb`` debugger at each test error or failure. If you have it
installed, ``ipdb`` is used instead.
+.. django-admin-option:: --buffer, -b
+
+.. versionadded:: 3.1
+
+Discards output (``stdout`` and ``stderr``) for passing tests, in the same way
+as :option:`unittest's --buffer option<unittest.-b>`.
+
``testserver``
--------------
diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt
index ae266e877d..7ae21330a6 100644
--- a/docs/releases/3.1.txt
+++ b/docs/releases/3.1.txt
@@ -257,6 +257,9 @@ Tests
* The new :setting:`MIGRATE <TEST_MIGRATE>` test database setting allows
disabling of migrations during a test database creation.
+* Django test runner now supports a :option:`test --buffer` option to discard
+ output for passing tests.
+
URLs
~~~~