diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2019-11-30 22:10:16 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-12-09 13:47:12 +0100 |
| commit | 9e565386d3fafc8cc15d07095e50d574e5f53802 (patch) | |
| tree | 230529a4e6c62c4e90e7e05f8561e4f2481fcf80 /docs | |
| parent | f46452638885d89cacfca6831e0b9982c87b6527 (diff) | |
Fixed #27430 -- Added -b/--buffer option to DiscoverRunner.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 7 | ||||
| -rw-r--r-- | docs/releases/3.1.txt | 3 |
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 ~~~~ |
