Ticket #12638: 12638.diff

File 12638.diff, 1.9 KB (added by Ramiro Morales, 15 years ago)

Small documenation changes

  • docs/ref/settings.txt

    diff -r 0b171fe8b1bc docs/ref/settings.txt
    a b  
    14091409TEST_RUNNER
    14101410-----------
    14111411
    1412 Default: ``'django.test.simple.run_tests'``
     1412Default: ``'django.test.simple.DjangoTestSuiteRunner'``.
    14131413
    14141414The name of the method to use for starting the test suite. See
    14151415:ref:`topics-testing`.
    14161416
     1417.. versionchanged:: 1.2
     1418   Prior to 1.2, test runners were a single function, not a class.
     1419
    14171420.. _Testing Django Applications: ../testing/
    14181421
    14191422.. setting:: THOUSAND_SEPARATOR
  • docs/topics/testing.txt

    diff -r 0b171fe8b1bc docs/topics/testing.txt
    a b  
    12471247
    12481248    #. Performing global post-test teardown.
    12491249
    1250 If you define your own test runner method and point :setting:`TEST_RUNNER` at
    1251 that method, Django will execute your test runner whenever you run
     1250If you define your own test runner class and point :setting:`TEST_RUNNER` at
     1251that class, Django will execute your test runner whenever you run
    12521252``./manage.py test``. In this way, it is possible to use any test framework
    12531253that can be executed from Python code, or to modify the Django test execution
    12541254process to satisfy whatever testing requirements you may have.
     
    12841284    If ``failfast`` is ``True``, the test suite will stop running after the
    12851285    first test failure is detected.
    12861286
    1287 .. method:: DjangoTestSuiteRunner.run_tests(test_labels, extra_tests=[])
     1287.. method:: DjangoTestSuiteRunner.run_tests(test_labels, extra_tests=None)
    12881288
    12891289    Run the test suite.
    12901290
     
    13091309
    13101310    Sets up the test environment ready for testing.
    13111311
    1312 .. method:: DjangoTestSuiteRunner.build_suite(test_labels, extra_tests=[])
     1312.. method:: DjangoTestSuiteRunner.build_suite(test_labels, extra_tests=None)
    13131313
    13141314    Constructs a test suite that matches the test labels provided.
    13151315
Back to Top