Updated docs to reflect new tests layout.
Thanks to Ramiro Morales for the initial patch.
This commit is contained in:
parent
4d9f39f307
commit
28e545c4b3
|
@ -7,10 +7,8 @@ code base. It's our policy to make sure all tests pass at all times.
|
||||||
|
|
||||||
The tests cover:
|
The tests cover:
|
||||||
|
|
||||||
* Models and the database API (``tests/modeltests``),
|
* Models, the database API and everything else in core Django core (``tests/``),
|
||||||
* Everything else in core Django code (``tests/regressiontests``),
|
* :ref:`contrib-apps` (``django/contrib/<app>/tests`` or ``tests/<app>_...``).
|
||||||
* :ref:`contrib-apps` (``django/contrib/<app>/tests`` or
|
|
||||||
``tests/regressiontests/<app>_...``).
|
|
||||||
|
|
||||||
We appreciate any and all contributions to the test suite!
|
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
|
./runtests.py --settings=path.to.settings generic_relations i18n
|
||||||
|
|
||||||
How do you find out the names of individual tests? Look in
|
How do you find out the names of individual tests? Look in ``tests/`` — each
|
||||||
``tests/modeltests`` and ``tests/regressiontests`` — each directory name
|
directory name there is the name of a test. Contrib app names are also valid
|
||||||
there is the name of a test. Contrib app names are also valid test names.
|
test names.
|
||||||
|
|
||||||
If you just want to run a particular class of tests, you can specify a list of
|
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``
|
paths to individual test classes. For example, to run the ``TranslationTests``
|
||||||
|
|
Loading…
Reference in New Issue