From 74b5074174d1749ee44df2f7ed418010a7a4ac70 Mon Sep 17 00:00:00 2001 From: David Smith Date: Wed, 14 Jun 2023 19:22:48 +0100 Subject: Fixed #34210 -- Added unittest's durations option to the test runner. --- docs/ref/django-admin.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/ref/django-admin.txt') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index cc448055f4..c3349f364b 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -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`` -------------- -- cgit v1.3