diff options
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/advanced.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 3cd60bc03c..192a62c516 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -402,12 +402,18 @@ testing behavior. This behavior involves: #. Running ``migrate`` to install models and initial data into the test databases. +#. Running the :doc:`system checks </topics/checks>`. + #. Running the tests that were found. #. Destroying the test databases. #. Performing global post-test teardown. +.. versionchanged:: 1.11 + + Running the system checks was added. + If you define your own test runner class and point :setting:`TEST_RUNNER` at that class, Django will execute your test runner whenever you run ``./manage.py test``. In this way, it is possible to use any test framework @@ -566,6 +572,12 @@ Methods Creates the test databases by calling :func:`~django.test.utils.setup_databases`. +.. method:: DiscoverRunner.run_checks() + + .. versionadded:: 1.11 + + Runs the :doc:`system checks </topics/checks>`. + .. method:: DiscoverRunner.run_suite(suite, **kwargs) Runs the test suite. |
