summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2013-02-26 15:00:16 +0100
committerFlorian Apolloner <florian@apolloner.eu>2013-02-26 15:00:16 +0100
commit28e545c4b3c18fd1d3641b1194bf53699a7c868a (patch)
tree677c0c9fddb9056520fefebe2fa2a637fd0ec455 /docs
parent4d9f39f3074da38c1cc3cd571c6c964a7c6f8843 (diff)
Updated docs to reflect new tests layout.
Thanks to Ramiro Morales for the initial patch.
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt
index bd1aa5a96f..f56bf1cdeb 100644
--- a/docs/internals/contributing/writing-code/unit-tests.txt
+++ b/docs/internals/contributing/writing-code/unit-tests.txt
@@ -7,10 +7,8 @@ code base. It's our policy to make sure all tests pass at all times.
The tests cover:
-* Models and the database API (``tests/modeltests``),
-* Everything else in core Django code (``tests/regressiontests``),
-* :ref:`contrib-apps` (``django/contrib/<app>/tests`` or
- ``tests/regressiontests/<app>_...``).
+* Models, the database API and everything else in core Django core (``tests/``),
+* :ref:`contrib-apps` (``django/contrib/<app>/tests`` or ``tests/<app>_...``).
We appreciate any and all contributions to the test suite!
@@ -105,9 +103,9 @@ internationalization, type:
./runtests.py --settings=path.to.settings generic_relations i18n
-How do you find out the names of individual tests? Look in
-``tests/modeltests`` and ``tests/regressiontests`` — each directory name
-there is the name of a test. Contrib app names are also valid test names.
+How do you find out the names of individual tests? Look in ``tests/`` — each
+directory name there is the name of a test. Contrib app names are also valid
+test names.
If you just want to run a particular class of tests, you can specify a list of
paths to individual test classes. For example, to run the ``TranslationTests``