summaryrefslogtreecommitdiff
path: root/docs/topics/testing.txt
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-01-18 23:53:08 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-01-18 23:53:08 +0000
commit9aba6f807ebaa4aca9885142ce2d6f5e162cb8cd (patch)
treef3910e11a1eb6f4588195680f74669cee6e8a901 /docs/topics/testing.txt
parentbe26f1ace4532196b579c903ca77e1cd947a3bd4 (diff)
Fixed #12638 -- Minor documentation cleanups around the new class-based test runners. Thanks to Ramiro Morales for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/testing.txt')
-rw-r--r--docs/topics/testing.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
index 18a1052483..f5098d9584 100644
--- a/docs/topics/testing.txt
+++ b/docs/topics/testing.txt
@@ -1247,8 +1247,8 @@ testing behavior. This behavior involves:
#. Performing global post-test teardown.
-If you define your own test runner method and point :setting:`TEST_RUNNER` at
-that method, Django will execute your test runner whenever you run
+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
that can be executed from Python code, or to modify the Django test execution
process to satisfy whatever testing requirements you may have.
@@ -1290,7 +1290,7 @@ set up, execute and tear down the test suite.
write your own test runner, ensure accept and handle the ``**kwargs``
parameter.
-.. method:: DjangoTestSuiteRunner.run_tests(test_labels, extra_tests=[])
+.. method:: DjangoTestSuiteRunner.run_tests(test_labels, extra_tests=None)
Run the test suite.
@@ -1315,7 +1315,7 @@ set up, execute and tear down the test suite.
Sets up the test environment ready for testing.
-.. method:: DjangoTestSuiteRunner.build_suite(test_labels, extra_tests=[])
+.. method:: DjangoTestSuiteRunner.build_suite(test_labels, extra_tests=None)
Constructs a test suite that matches the test labels provided.