summaryrefslogtreecommitdiff
path: root/tests/test_runner
AgeCommit message (Collapse)Author
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-10-24Fixed #23652 -- Restored database name after destroying test databaseClaude Paroz
Thanks Bjarkias for the report.
2014-10-23Fixed #23707 -- Prevented discovery of duplicated testsClaude Paroz
2014-10-21Removed unneeded override_system_checksClaude Paroz
Refs #23685.
2014-09-24Fixed #23421 -- Corrected TEST SERIALIZE setting.Tim Graham
Thanks gkoller for the report.
2014-06-14Converted test management command to argparseClaude Paroz
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.
2014-06-08Fix broken alias testing testAndrew Godwin
2014-06-05Fixed #20550 -- Added keepdb argument to destroy_test_dbGreg Chapple
2014-05-28Fixed #20550 -- Added ability to preserve test db between runsGreg Chapple
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-20Removed old test runner test cases.Preston Timmons
These files were added as part of #12658, which pertained to the old django.test.simple test runner. No tests call them anymore.
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-03-21Removed django.test.simple and django.test._doctest per deprecation timeline.Tim Graham
refs #17365, #17366, #18727.
2014-03-09Fixed #22237 -- Removed some warnings in the test suiteClaude Paroz
Thanks Aymeric Augustin for the report.
2014-03-08Avoided changing raw DeprecationWarning filter behaviorClaude Paroz
Refs #21188. Now pure Python DeprecationWarning visibility should be back to Python defaults.
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-01-20Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee
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.
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-31Made DeprecationDisplayTest more robustClaude Paroz
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-12-22Made AppConfig importable from django.apps.Aymeric Augustin
It is a public API.
2013-12-22Moved apps back in the toplevel django namespace.Aymeric Augustin
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
2013-12-22Added the ability to supply custom app configs.Aymeric Augustin
2013-12-22Implemented two-stage app-cache population.Aymeric Augustin
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.
2013-12-17Moved the new app cache inside core.Aymeric Augustin
2013-12-17Refactored old test runner to handle apps without a models module.Aymeric Augustin
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
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-09-05Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.Eric Boersma
The documentation and comments now all use 'an' to refer to the word SQL and not 'a'.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-29Deprecated django.utils.importlibClaude Paroz
This was a shim for pre-Python 2.7 support.
2013-07-14Fixed #20746 -- Removed Python 2.6 specific code/docsTim Graham
2013-07-13Fixed #20681 -- Prevented teardown_databases from attempting to tear down ↵Tim Graham
aliases Thanks simonpercivall.
2013-07-04Fixed #19940 -- Made test.runner.setup_databases properly handle aliases for ↵Tim Graham
default db. Thanks simonpercivall.
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-06-29Advanced deprecation warnings for Django 1.7.Aymeric Augustin
2013-06-14Fixed #20603 -- Made the test suite faster.Aymeric Augustin
By avoiding to run syncdb with the full set of test models. Thanks Anssi for the idea.
2013-06-14Fixed #20548 -- Removed all PendingDeprecationWarnings from django test suiteMarc Tamlyn
2013-06-10Defined available_apps in relevant tests.Aymeric Augustin
Fixed #20483.
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.
2013-03-24Fixed #18985 -- ensure module level deprecations are displayedPreston Holmes
Also don't compete with -W CLI option. Thanks to Aymeric Augustin for the catch, and Claude Paroz for the patch.
2013-02-26Changed test_runner tests to use full python path for settings files.Florian Apolloner