summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2019-08-05 13:41:14 +1000
committerCarlton Gibson <carlton@noumenal.es>2019-08-07 08:16:31 +0200
commit052388aba47ba7166886fc741cac5ce3b22fea58 (patch)
treed5509efba1acea95aab6975e09d9aaea2e9731bc /docs
parentc5075360c50b6e681fb3e7d58e6e93ae96662f49 (diff)
Fixed #30676 -- Added --pdb option to test runner.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/django-admin.txt6
-rw-r--r--docs/releases/3.0.txt3
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index b5572cd5c7..b38740669f 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1456,6 +1456,12 @@ Runs test methods and classes matching test name patterns, in the same way as
This feature is only available for Python 3.7 and later.
+.. django-admin-option:: --pdb
+
+.. versionadded:: 3.0
+
+Spawns a ``pdb`` debugger at each test error or failure. If you have it
+installed, ``ipdb`` is used instead.
``testserver``
--------------
diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt
index 9de85ab770..ad303ede3e 100644
--- a/docs/releases/3.0.txt
+++ b/docs/releases/3.0.txt
@@ -348,6 +348,9 @@ Tests
* Django test runner now supports ``--start-at`` and ``--start-after`` options
to run tests starting from a specific top-level module.
+* Django test runner now supports a ``--pdb`` option to spawn a debugger at
+ each error or failure.
+
URLs
~~~~