diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt
index 2417274..be1dc6a 100644
a
|
b
|
Defining a test runner
|
301 | 301 | .. currentmodule:: django.test.runner |
302 | 302 | |
303 | 303 | A test runner is a class defining a ``run_tests()`` method. Django ships |
304 | | with a ``DiscoverRunner`` class that defines the default Django |
305 | | testing behavior. This class defines the ``run_tests()`` entry point, |
306 | | plus a selection of other methods that are used to by ``run_tests()`` to |
307 | | set up, execute and tear down the test suite. |
| 304 | with a ``DiscoverRunner`` class that defines the default Django testing |
| 305 | behavior. This class defines the ``run_tests()`` entry point, plus a |
| 306 | selection of other methods that are used to by ``run_tests()`` to set up, |
| 307 | execute and tear down the test suite. |
308 | 308 | |
309 | 309 | .. class:: DiscoverRunner(pattern='test*.py', top_level=None, verbosity=1, interactive=True, failfast=True, **kwargs) |
310 | 310 | |
| 311 | .. versionadded:: 1.6 |
| 312 | |
311 | 313 | ``DiscoverRunner`` will search for tests in any file matching ``pattern``. |
312 | 314 | |
313 | 315 | ``top_level`` can be used to specify the directory containing your |
… |
… |
set up, execute and tear down the test suite.
|
341 | 343 | Attributes |
342 | 344 | ~~~~~~~~~~ |
343 | 345 | |
| 346 | .. attribute:: DiscoverRunner.test_loader |
| 347 | |
| 348 | This is the class that loads tests, whether from TestCases or modules or |
| 349 | otherwise and bundles them into test suites for the runner to execute. |
| 350 | By default it is set to ``unittest.defaultTestLoader``. You can override |
| 351 | this attribute if your tests are going to be loaded in unusual ways. |
| 352 | |
344 | 353 | .. attribute:: DiscoverRunner.option_list |
345 | 354 | |
346 | 355 | This is the tuple of ``optparse`` options which will be fed into the |