Kaynağa Gözat

Added "test --keepdb" to testing speedup docs.

Harry Moreno 7 yıl önce
ebeveyn
işleme
254fb8d1a4
1 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  1. 7 0
      docs/topics/testing/overview.txt

+ 7 - 0
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.