summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHarry Moreno <morenoh149@gmail.com>2017-08-22 10:26:00 -0400
committerTim Graham <timograham@gmail.com>2017-08-22 10:26:00 -0400
commit254fb8d1a4e0525d890a5363a5c08f00bc873f03 (patch)
treecebb4b08b4c303a2dc4e682a2c2ff023dcaf5d32 /docs
parent796fde5b793b6a36b7fc5481994d37ef71da8f58 (diff)
Added "test --keepdb" to testing speedup docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/testing/overview.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt
index 5687e07e2e..b7deb95ee1 100644
--- a/docs/topics/testing/overview.txt
+++ b/docs/topics/testing/overview.txt
@@ -343,3 +343,10 @@ the :setting:`PASSWORD_HASHERS` setting to a faster hashing algorithm::
Don't forget to also include in :setting:`PASSWORD_HASHERS` any hashing
algorithm used in fixtures, if any.
+
+Preserving the test database
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The :option:`test --keepdb` option preserves the test database between test
+runs. It skips the create and destroy actions which can greatly decrease the
+time to run tests.