mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #34210 -- Added unittest's durations option to the test runner.
This commit is contained in:
committed by
Mariusz Felisiak
parent
27b399d235
commit
74b5074174
@@ -1559,6 +1559,16 @@ tests, which allows it to print a traceback if the interpreter crashes. Pass
|
||||
|
||||
Outputs timings, including database setup and total run time.
|
||||
|
||||
.. django-admin-option:: --durations N
|
||||
|
||||
.. versionadded:: 5.0
|
||||
|
||||
Shows the N slowest test cases (N=0 for all).
|
||||
|
||||
.. admonition:: Python 3.12 and later
|
||||
|
||||
This feature is only available for Python 3.12 and later.
|
||||
|
||||
``testserver``
|
||||
--------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user