DiscoverRunner.run_tests(test_labels, extra_tests=None, **kwargs)
Run the test suite.
test_labels
allows you to specify which tests to run and supports several formats (see DiscoverRunner.build_suite()
for a list of supported formats).
extra_tests
is a list of extra TestCase
instances to add to the suite that is executed by the test runner. These extra tests are run in addition to those discovered in the modules listed in test_labels
.
This method should return the number of tests that failed.
Please login to continue.