summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-09-15 11:17:12 -0400
committerTim Graham <timograham@gmail.com>2014-09-24 14:49:46 -0400
commit02aa3e30e9cb8e5be5c33082c3548e2a6e1b91cb (patch)
treedc7376e357d91bdf63c4637dfa722b810b523318 /docs/ref
parent5356183716daa88e5c0009b179de55370bd5c5da (diff)
[1.7.x] Fixed #23421 -- Corrected TEST SERIALIZE setting.
Thanks gkoller for the report and Markus Holtermann for review.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/settings.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index b8b4f5ffa9..7e434fc6c7 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -704,6 +704,19 @@ test database will use the name ``'test_' + DATABASE_NAME``.
See :ref:`the-test-database`.
+.. setting:: TEST_SERIALIZE
+
+SERIALIZE
+^^^^^^^^^
+
+.. versionadded:: 1.7.1
+
+Boolean value to control whether or not the default test runnner serializes the
+database into an in-memory JSON string before running tests (used to restore
+the database state between tests if you don't have transactions). You can set
+this to ``False`` to speed up creation time if you don't have any test classes
+with :ref:`serialized_rollback=True <test-case-serialized-rollback>`.
+
.. setting:: TEST_CREATE
CREATE_DB