summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Moreno <morenoh149@gmail.com>2016-06-30 18:10:03 -0400
committerTim Graham <timograham@gmail.com>2016-07-01 09:05:40 -0400
commit30c65ee8187c7a87d2fc83c5b8966b1ea5e5316b (patch)
treefb7a2bedc93b9acfcd1319dab80585aa5def3c72
parent12b4280444b58c94197255655e284e4103fe00a9 (diff)
Added parallel test running to "Speeding up the tests" docs.
-rw-r--r--docs/topics/testing/overview.txt16
1 files changed, 12 insertions, 4 deletions
diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt
index 79de07cad2..6808d5cb30 100644
--- a/docs/topics/testing/overview.txt
+++ b/docs/topics/testing/overview.txt
@@ -324,10 +324,18 @@ need to test for success or failure at that level.
Speeding up the tests
---------------------
-In recent versions of Django, the default password hasher is rather slow by
-design. If during your tests you are authenticating many users, you may want
-to use a custom settings file and set the :setting:`PASSWORD_HASHERS` setting
-to a faster hashing algorithm::
+Running tests in parallel
+~~~~~~~~~~~~~~~~~~~~~~~~~
+
+As long as your tests are properly isolated, you can run them in parallel to
+gain a speed up on multi-core hardware. See :option:`test --parallel`.
+
+Password hashing
+~~~~~~~~~~~~~~~~
+
+The default password hasher is rather slow by design. If you're authenticating
+many users in your tests, you may want to use a custom settings file and set
+the :setting:`PASSWORD_HASHERS` setting to a faster hashing algorithm::
PASSWORD_HASHERS = [
'django.contrib.auth.hashers.MD5PasswordHasher',