mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #16185, #15675 -- Added the ability for test runners to define custom options, and to specify a custom test runner at the command line. Thanks to Dmitry Jemerov and Mikołaj Siedlarek for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b56ef75088
commit
046ffa483e
6 changed files with 148 additions and 11 deletions
|
@ -964,6 +964,13 @@ information.
|
|||
Use the :djadminopt:`--failfast` option to stop running tests and report the failure
|
||||
immediately after a test fails.
|
||||
|
||||
.. versionadded:: 1.4
|
||||
.. django-admin-option:: --testrunner
|
||||
|
||||
The :djandminopt:`--testrunner` option can be used to control the test runner
|
||||
class that is used to execute tests. If this value is provided, it overrides
|
||||
the value provided by the :setting:`TEST_RUNNER` setting.
|
||||
|
||||
testserver <fixture fixture ...>
|
||||
--------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue