Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_runner
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25466 -- Added backwards compatibility aliases ↵Tim Graham2015-09-301-3/+3
| | | | | | for LoaderOrigin and StringOrigin. Thanks Simon Charette for the DeprecationInstanceCheck class.
* Removed RemovedInDjango110Warning.Tim Graham2015-09-241-2/+3
|
* Refs #14091 -- Fixed connection.queries on SQLite.Aymeric Augustin2015-09-171-36/+12
|
* Fixed #25377 -- Changed Count queries to execute ↵Adam Chainz2015-09-141-12/+12
| | | | COUNT(*) instead of COUNT('*').
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-1/+2
|
* Cloned databases for running tests in parallel.Aymeric Augustin2015-09-091-2/+2
|
* Moved an import to the toplevel.Aymeric Augustin2015-09-051-5/+5
|
* Fixed #25110 -- Fixed a test_runner test isolation ↵Joseph Gordon2015-07-271-3/+5
| | | | | | regression. Thanks claudep for the patch.
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-2/+2
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Mocked db.connections in test_runner testsClaude Paroz2015-05-091-91/+69
|
* Fixed #24394 -- Allowed running tests with empty default ↵Andrei Kulakov2015-03-251-1/+16
| | | | dictionary.
* Refs #24324 -- Fixed Python 2 test failures when path to ↵Tim Graham2015-02-182-3/+6
| | | | Django source contains non-ASCII characters.
* Moved contrib.gis tests out of contrib.Tim Graham2015-02-111-2/+2
|
* Disallowed importing concrete models without an application.Aymeric Augustin2015-02-102-20/+21
| | | | | | Removed fragile algorithm to find which application a model belongs to. Fixed #21680, #21719. Refs #21794.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-062-3/+6
|
* Fixed test_runner test failure on Python 3.5; refs #23763.Tim Graham2015-01-231-3/+7
| | | | Python change is http://bugs.python.org/issue22032
* Fixed #24118 -- Added --debug-sql option for tests.Marc Tamlyn2015-01-121-0/+102
| | | | | | | | | Added a --debug-sql option for tests and runtests.py which outputs the SQL logger for failing tests. When combined with --verbosity=2, it also outputs the SQL for passing tests. Thanks to Berker, Tim, Markus, Shai, Josh and Anssi for review and discussion.
* Fixed #23289 -- Added mock as a test dependency.Tim Graham2014-12-011-7/+3
|
* Fixed #23742 -- Added an option to reverse tests order.wrwrwr2014-11-251-0/+29
| | | | | | | | | 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.
* Changed test_runner imports to name objects imported ↵wrwrwr2014-11-241-12/+13
| | | | from test.runner.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-1/+1
| | | | Django test suite.
* Fixed #23652 -- Restored database name after destroying ↵Claude Paroz2014-10-241-0/+13
| | | | | | test database Thanks Bjarkias for the report.
* Fixed #23707 -- Prevented discovery of duplicated testsClaude Paroz2014-10-231-0/+9
|
* Removed unneeded override_system_checksClaude Paroz2014-10-211-4/+0
| | | | Refs #23685.
* Fixed #23421 -- Corrected TEST SERIALIZE setting.Tim Graham2014-09-241-30/+65
| | | | Thanks gkoller for the report.
* Converted test management command to argparseClaude Paroz2014-06-141-6/+6
| | | | | | | Keeping backwards compatibility with test_runner.option_list is tricky and would imply transforming an optparse.Option to an argparse.Action. I choose to introduce a backwards incompatible change because it only affects testing, not runtime behavior.
* Fix broken alias testing testAndrew Godwin2014-06-091-2/+2
|
* Fixed #20550 -- Added keepdb argument to destroy_test_dbGreg Chapple2014-06-061-1/+1
|
* Fixed #20550 -- Added ability to preserve test db ↵Greg Chapple2014-05-281-1/+1
| | | | between runs
* cater for running tests from another directory than ↵Nikolaus Schlemm2014-05-161-11/+12
| | | | tests - applying existing pattern to newly added test_testcase_ordering as well
* Removed old test runner test cases.Preston Timmons2014-04-213-3/+0
| | | | These files were added as part of #12658, which pertained to the old django.test.simple test runner. No tests call them anymore.
* Fixed flake8 warnings introduced in recent commits.Simon Charette2014-04-161-1/+0
|
* Fixed #22102 -- Made SimpleTestCase tests run before ↵Claude Paroz2014-04-121-2/+16
| | | | | | unittest.TestCase ones Thanks aptiko for the reporti and Tim Graham for the review.
* Removed django.test.simple and django.test._doctest per ↵Tim Graham2014-03-211-23/+1
| | | | | | deprecation timeline. refs #17365, #17366, #18727.
* Fixed #22237 -- Removed some warnings in the test suiteClaude Paroz2014-03-091-4/+5
| | | | Thanks Aymeric Augustin for the report.
* Avoided changing raw DeprecationWarning filter behaviorClaude Paroz2014-03-081-3/+4
| | | | | Refs #21188. Now pure Python DeprecationWarning visibility should be back to Python defaults.
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Fixed #16905 -- Added extensible checks (nee validation) ↵Russell Keith-Magee2014-01-201-1/+4
| | | | | | | | | | | framework This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.
* Removed unused function in test_runner testsPreston Timmons2014-01-011-8/+1
| | | | | This was used for python 2.6 and unittest2 compatibility. It was forgotten when the code that used it was removed.
* Fixed #21206 -- Fixed test discovery without labelsPreston Timmons2014-01-011-11/+25
| | | | | Added test to verify an empty label performs discovery on the current working directory.
* Made DeprecationDisplayTest more robustClaude Paroz2013-12-311-1/+3
|
* Fixed #21206 -- No longer run discovery if the test ↵Preston Timmons2013-12-261-0/+28
| | | | | | label doesn't point to a package or directory. Thanks thepapermen for the report and Carl Meyer for the review.
* Made AppConfig importable from django.apps.Aymeric Augustin2013-12-221-2/+2
| | | | It is a public API.
* Moved apps back in the toplevel django namespace.Aymeric Augustin2013-12-221-2/+2
| | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
* Added the ability to supply custom app configs.Aymeric Augustin2013-12-221-2/+2
|
* Implemented two-stage app-cache population.Aymeric Augustin2013-12-221-10/+6
| | | | | | | | | | | | First stage imports app modules. It doesn't catch import errors. This matches the previous behavior and keeps the code simple. Second stage import models modules. It catches import errors and retries them after walking through the entire list once. This matches the previous behavior and seems useful. populate_models() is intended to be equivalent to populate(). It isn't wired yet. That is coming in the next commit.
* Moved the new app cache inside core.Aymeric Augustin2013-12-171-2/+2
|
* Refactored old test runner to handle apps without a ↵Aymeric Augustin2013-12-171-9/+14
| | | | models module.
* Fixing E302 ErrorsJason Myers2013-11-031-0/+1
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-022-2/+0
|