mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #24522 -- Added a --shuffle option to DiscoverRunner.
This commit is contained in:
parent
77b88fe621
commit
90ba716bf0
10 changed files with 472 additions and 21 deletions
|
@ -470,12 +470,13 @@ the first one:
|
|||
|
||||
$ ./runtests.py --pair basic.tests.ModelTest.test_eq queries transactions
|
||||
|
||||
You can also try running any set of tests in reverse using the ``--reverse``
|
||||
option in order to verify that executing tests in a different order does not
|
||||
cause any trouble:
|
||||
You can also try running any set of tests in a random or reverse order using
|
||||
the ``--shuffle`` and ``--reverse`` options. This can help verify that
|
||||
executing tests in a different order does not cause any trouble:
|
||||
|
||||
.. console::
|
||||
|
||||
$ ./runtests.py basic --shuffle
|
||||
$ ./runtests.py basic --reverse
|
||||
|
||||
Seeing the SQL queries run during a test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue