diff options
| author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2021-04-24 16:46:16 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-07-08 07:29:04 +0200 |
| commit | 90ba716bf060ee7fef79dc230b0b20644839069f (patch) | |
| tree | 93ac388d4c3a75e5ab34edbf5a552305b72962d4 /docs/internals/contributing/writing-code | |
| parent | 77b88fe621bb7828535a4c4cf37d9d4ac01b146b (diff) | |
Fixed #24522 -- Added a --shuffle option to DiscoverRunner.
Diffstat (limited to 'docs/internals/contributing/writing-code')
| -rw-r--r-- | docs/internals/contributing/writing-code/unit-tests.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index d2d4044e7e..1d38d4f429 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -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 |
