From 254fb8d1a4e0525d890a5363a5c08f00bc873f03 Mon Sep 17 00:00:00 2001 From: Harry Moreno Date: Tue, 22 Aug 2017 10:26:00 -0400 Subject: [PATCH] Added "test --keepdb" to testing speedup docs. --- docs/topics/testing/overview.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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.