summaryrefslogtreecommitdiff
path: root/tests/test_runner/test_discover_runner.py
AgeCommit message (Collapse)Author
2019-01-10Fixed #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-05Reverted "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-29Refs #25251 -- Filtered out skipped tests when processing the test suite to ↵romgar
set _next_serialized_rollback.
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2018-11-06Fixed #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-02-13Fixed #29106 -- Made DiscoverRunner display selected test tags.Sanyam Khurana
2018-01-08Fixed #28869 -- Made tagged test classes and methods inherit tags from parents.Will Ayd
2018-01-04Reorganized test_runner test apps.Tim Graham
2017-05-04Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed.Tim Graham
2016-08-12Fixed #27008 -- Added --debug-mode option to DiscoverRunner.Chris Jerdonek
2016-08-09Fixed #27035 -- Eased changing settings.DEBUG for DiscoverRunner.Chris Jerdonek
2016-08-04Fixed #26981 -- Added DiscoverRunner.get_test_runner_kwargs().Chris Jerdonek
2016-02-17Fixed #25735 -- Added support for test tags to DiscoverRunner.Jakub Paczkowski
Thanks Carl Meyer, Claude Paroz, and Simon Charette for review.
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-07-27Fixed #25110 -- Fixed a test_runner test isolation regression.Joseph Gordon
Thanks claudep for the patch.
2015-02-11Moved contrib.gis tests out of contrib.Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-11-24Fixed #23742 -- Added an option to reverse tests order.wrwrwr
This is useful for debugging side effects affecting tests that are usually executed before a given test. Full suite and pair tests sort cases more or less deterministically, thus some test cross-dependencies are easier to reveal by reversing the order. Thanks Preston Timmons for the review.
2014-10-23Fixed #23707 -- Prevented discovery of duplicated testsClaude Paroz
2014-05-16cater for running tests from another directory than tests - applying ↵Nikolaus Schlemm
existing pattern to newly added test_testcase_ordering as well
2014-04-16Fixed flake8 warnings introduced in recent commits.Simon Charette
2014-04-12Fixed #22102 -- Made SimpleTestCase tests run before unittest.TestCase onesClaude Paroz
Thanks aptiko for the reporti and Tim Graham for the review.
2014-01-01Removed unused function in test_runner testsPreston Timmons
This was used for python 2.6 and unittest2 compatibility. It was forgotten when the code that used it was removed.
2014-01-01Fixed #21206 -- Fixed test discovery without labelsPreston Timmons
Added test to verify an empty label performs discovery on the current working directory.
2013-12-26Fixed #21206 -- No longer run discovery if the test label doesn't point to a ↵Preston Timmons
package or directory. Thanks thepapermen for the report and Carl Meyer for the review.
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-09-10Fixed #16534 -- Improved ability to customize DiscoverRunnerTim Graham
Added DiscoverRunner.test_suite and .test_runner attributes. Thanks tomchristie for the suggestion and jcd for the patch.
2013-07-01Removed tests for django.utils.unittest vs. unittest.Aymeric Augustin
Silenced warnings caused by the deprecation of django.utils.unittest. Thanks Preston Timmons and Carl Meyer for their advice. Fixed #20680.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-05-20Fixed #20437 - marked a test-runner test as expected-fail under certain ↵Carl Meyer
conditions.
2013-05-19Fixed #20449 - Corrected test sensitivity to current working dir.Tomasz Jaskowski
2013-05-10Fixed #17365, #17366, #18727 -- Switched to discovery test runner.Carl Meyer
Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670.