| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-04-02 | Refs #32532 -- Replaced is_discoverable() with try_importing(). | Chris Jerdonek | |
| 2021-03-30 | Fixed #29127 -- Prevented DiscoverRunner from hiding tagged test with syntax ↵ | Chris Jerdonek | |
| errors. This mades _FailedTest objects always match tags in DiscoverRunner. | |||
| 2021-03-29 | Simplified and optimized test_match_tags(). | Chris Jerdonek | |
| This simplifies and optimizes runner.py's test_match_tags() because it (1) uses isdisjoint() instead of intersection(), which involves constructing a new set, (2) eliminates a set operation when tags is falsey, (3) eliminates the need for a matched_tags variable, and (4) uses fewer not's, which should make it easier to parse and understand. | |||
| 2021-03-26 | Fixed #32591 -- Made DiscoverRunner order _FailedTest objects first. | Chris Jerdonek | |
| Failures detected when loading tests are ordered before all of the above for quicker feedback. This includes things like test modules that couldn't be found or that couldn't be loaded due to syntax errors. | |||
| 2021-03-24 | Fixed typo in DiscoverRunner --reverse help text. | Chris Jerdonek | |
| 2021-03-24 | Refs #32532 -- Added DiscoverRunner.load_tests_for_label(). | Chris Jerdonek | |
| 2021-03-18 | Fixed #31370 -- Added support for parallel tests with --buffer. | Adam Johnson | |
| 2021-03-18 | Refs #31370 -- Made RemoteTestResult subclass unittest.TestResult. | Adam Johnson | |
| 2021-03-17 | Fixed #32560 -- Fixed test runner with --pdb and --buffer on fail/error. | Adam Johnson | |
| 2021-03-15 | Fixed #32540 -- Optimized DiscoverRunner.build_suite() by calling ↵ | Chris Jerdonek | |
| find_top_level() only if is_discoverable() is true. | |||
| 2021-03-15 | Refs #32540 -- Added django.test.runner.find_top_level(). | Chris Jerdonek | |
| 2021-03-12 | Reduced nesting inside DiscoverRunner.build_suite(). | Chris Jerdonek | |
| 2021-03-11 | Fixed #32529 -- Delayed creating a test suite in build_suite(). | Chris Jerdonek | |
| 2021-03-09 | Fixed #32516 -- Fixed reorder_suite() with duplicates and reverse=True. | Chris Jerdonek | |
| 2021-03-08 | Refs #32489 -- Simplified filter_tests_by_tags(). | Chris Jerdonek | |
| 2021-03-08 | Refs #32489 -- Simplified partition_suite_by_case(). | Chris Jerdonek | |
| 2021-03-08 | Refs #32489 -- Removed unneeded partition_suite_by_type(). | Chris Jerdonek | |
| 2021-03-05 | Fixed #32489 -- Added iter_test_cases() to iterate over a TestSuite. | Chris Jerdonek | |
| This also makes partition_suite_by_type(), partition_suite_by_case(), filter_tests_by_tags(), and DiscoverRunner._get_databases() to use iter_test_cases(). | |||
| 2021-03-05 | Simplified for loop in reorder_suite(). | Chris Jerdonek | |
| 2021-02-24 | Fixed #32446 -- Deprecated SERIALIZE test database setting. | Simon Charette | |
| Whether or not the state of a test database should be serialized can be inferred from the set of databases allowed to be access from discovered TestCase/TransactionTestCase enabling the serialized_rollback feature which makes this setting unnecessary. This should make a significant test suite bootstraping time difference on large projects that didn't explicitly disable test database serialization. | |||
| 2021-02-10 | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | |
| 2020-11-28 | Fixed #32227 -- Prevented crash when setUpTestData() errors with --debug-sql. | Adam Johnson | |
| Thanks Mariusz Felisiak for the report. | |||
| 2020-08-13 | Refs #31811 -- Added optional timing outputs to the test runner. | Ahmad A. Hussein | |
| 2020-07-10 | Fixed #31509 -- Made DiscoverRunner enable faulthandler by default. | ovkulkarni | |
| 2020-02-07 | Refs #31055 -- Made DiscoverRunner skip running system checks on unused test ↵ | Simon Charette | |
| databases. | |||
| 2019-12-09 | Fixed #27430 -- Added -b/--buffer option to DiscoverRunner. | Baptiste Mispelon | |
| 2019-08-07 | Fixed #30676 -- Added --pdb option to test runner. | Andrew Godwin | |
| 2019-04-30 | Fixed #30245 -- Added -k option to DiscoverRunner. | François Freitag | |
| 2019-04-18 | Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, ↵ | Ramiro Morales | |
| comments and hints. | |||
| 2019-01-14 | Removed unnecessary string formatting of strings. | Jon Dufresne | |
| 2019-01-10 | Fixed #28478 -- Make DiscoverRunner skip creating unused test databases. | Simon Charette | |
| SimpleTestCase.databases makes it possible to determine the set of databases required to run the discovered tests. | |||
| 2018-12-05 | Reverted "Fixed #25251 -- Made data migrations available in ↵ | Tim Graham | |
| TransactionTestCase when using --keepdb." This reverts commits b3b1d3d45fc066367f4fcacf0b06f72fcd00a9c6 and 9fa0d3786febf36c87ef059a39115aa1ce3326e8 due to reverse build failures for which a solution isn't forthcoming. | |||
| 2018-11-29 | Refs #25251 -- Filtered out skipped tests when processing the test suite to ↵ | romgar | |
| set _next_serialized_rollback. | |||
| 2018-11-06 | Fixed #25251 -- Made data migrations available in TransactionTestCase when ↵ | romgar | |
| using --keepdb. Data loaded in migrations were restored at the beginning of each TransactionTestCase and all the tables are truncated at the end of these test cases. If there was a TransactionTestCase at the end of the test suite, the migrated data weren't restored in the database (especially unexpected when using --keepdb). Now data is restored at the end of each TransactionTestCase. | |||
| 2018-10-30 | Fixed #29866 -- Made DiscoverRunner do tests tear down if running checks or ↵ | Jayden Kneller | |
| tests raises an exception. | |||
| 2018-10-09 | Capitalized "Python" in docs and comments. | Jon Dufresne | |
| 2018-07-02 | Removed parser.add_arguments() arguments that match the defaults. | Claude Paroz | |
| 2018-03-16 | Fixed hanging indentation in various code. | Mariusz Felisiak | |
| 2018-02-13 | Fixed #29106 -- Made DiscoverRunner display selected test tags. | Sanyam Khurana | |
| 2018-01-03 | Fixed #28984 -- Made assorted code simplifications. | Tim Graham | |
| 2017-10-13 | Refs #28575 -- Allowed pickling Model.DoesNotExist and ↵ | Rachel Tobin | |
| MultipleObjectsReturned classes. | |||
| 2017-09-22 | Refs #26840 -- Removed django.test.runner.setup_databases() per deprecation ↵ | Tim Graham | |
| timeline. | |||
| 2017-09-11 | Fixed #28578 -- Renamed DatabaseCreation number arguments to suffix. | Jon Dufresne | |
| 2017-07-05 | Fixed #28360 -- Fixed test runner crash with --debug-sql on fail/error in ↵ | Sergey Fedoseev | |
| subTest. | |||
| 2017-04-01 | Removed implicit default store_true/false argparse args. | Jon Dufresne | |
| argparse automatically sets the default value for store_true/false arguments to its opposite. | |||
| 2017-03-04 | Refs #27656 -- Updated remaining docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-01-25 | Refs #23919 -- Removed misc Python 2/3 references. | Tim Graham | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-23 | Replaced dict() usage with dict literals. | Jon Dufresne | |
| Literals are faster and more idiomatic. | |||
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
