Skip to content

Commit 254fb8d

Browse files
morenoh149timgraham
authored andcommitted
Added "test --keepdb" to testing speedup docs.
1 parent 796fde5 commit 254fb8d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/topics/testing/overview.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,3 +343,10 @@ the :setting:`PASSWORD_HASHERS` setting to a faster hashing algorithm::
343343

344344
Don't forget to also include in :setting:`PASSWORD_HASHERS` any hashing
345345
algorithm used in fixtures, if any.
346+
347+
Preserving the test database
348+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349+
350+
The :option:`test --keepdb` option preserves the test database between test
351+
runs. It skips the create and destroy actions which can greatly decrease the
352+
time to run tests.

0 commit comments

Comments
 (0)