Chris Jerdonek
b263f4b69d
Fixed #32552 -- Added logger argument to DiscoverRunner.
2021-08-24 09:23:01 +02:00
Andrew Northall
c23aa73626
Fixed #32964 -- Corrected 'setup'/'set up' usage in docs.
2021-08-17 12:18:07 +02:00
Jacob Walls
56f9579105
Fixed #32655 -- Deprecated extra_tests argument for DiscoverRunner.build_suite()/run_tests().
2021-07-16 20:46:41 +02:00
Chris Jerdonek
90ba716bf0
Fixed #24522 -- Added a --shuffle option to DiscoverRunner.
2021-07-08 07:29:04 +02:00
Daniyal
a0410ffe8f
Refs #32552 -- Added DiscoverRunner.log() to allow customization.
...
Thanks Carlton Gibson, Chris Jerdonek, and David Smith for reviews.
2021-06-01 13:31:44 +02:00
Mariusz Felisiak
37044817f9
Refs #25735 -- Added tags/exclude_tags arguments to DiscoverRunner docs.
2021-03-19 08:03:57 +01:00
Mariusz Felisiak
f099ef3ef5
Added parallel argument to DiscoverRunner docs.
...
Follow up to cd9fcd4e80
.
2021-03-19 08:03:57 +01:00
Mariusz Felisiak
fc6fba0aa9
Corrected DiscoverRunner.build_suite() signature.
...
Follow up to 9012833af8
.
2021-03-19 08:03:57 +01:00
Jozef
6993e1bf6d
Fixed typo in docs/topics/testing/advanced.txt.
2021-03-17 18:10:33 +01:00
Simon Charette
3089018e95
Fixed #32446 -- Deprecated SERIALIZE test database setting.
...
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-24 20:31:11 +01:00
Mariusz Felisiak
af685b5f00
Refs #31811 -- Corrected DiscoverRunner.setup_databases() signature.
...
Accidentally changed in 61a0ba43cf
.
2021-02-24 20:24:05 +01:00
Mariusz Felisiak
b7dd89ed53
Removed versionadded/changed annotations for 3.1.
2021-01-14 17:50:04 +01:00
Jon Dufresne
0b8871ab67
Fixed #31979 -- Made django.test.utils.setup_databases()'s time_keeper argument optional.
2020-09-03 09:48:40 +02:00
Ahmad A. Hussein
61a0ba43cf
Refs #31811 -- Added optional timing outputs to the test runner.
2020-08-13 17:17:15 +02:00
ovkulkarni
b7a438c7e2
Fixed #31509 -- Made DiscoverRunner enable faulthandler by default.
2020-07-10 18:55:50 +02:00
Mariusz Felisiak
188f7786bc
Refs #27430 -- Added buffer argument to DiscoverRunner docs.
2020-07-10 18:55:50 +02:00
Mariusz Felisiak
2c43840dfb
Refs #30676 -- Added pdb argument to DiscoverRunner docs.
2020-07-10 18:55:50 +02:00
Andrew Godwin
fc0fa72ff4
Fixed #31224 -- Added support for asynchronous views and middleware.
...
This implements support for asynchronous views, asynchronous tests,
asynchronous middleware, and an asynchronous test client.
2020-03-18 19:59:12 +01:00
Simon Charette
430e796980
Refs #31055 -- Made DiscoverRunner skip running system checks on unused test databases.
2020-02-07 11:01:31 +01:00
Felipe Lee
a2e96f7969
Fixed #20456 -- Added example of directly testing CBVs in topics docs.
2019-12-04 16:36:42 +01:00
Caio Ariede
dafdfd6a60
Fixed #28790 -- Doc'd how to avoid running certain test classes in parallel.
2019-10-08 12:11:06 +02:00
Mariusz Felisiak
416c584cab
Removed versionadded/changed annotations for 2.2.
2019-09-10 12:01:00 +02:00
Tobias Kunze
4a954cfd11
Fixed #30573 -- Rephrased documentation to avoid words that minimise the involved difficulty.
...
This patch does not remove all occurrences of the words in question.
Rather, I went through all of the occurrences of the words listed
below, and judged if they a) suggested the reader had some kind of
knowledge/experience, and b) if they added anything of value (including
tone of voice, etc). I left most of the words alone. I looked at the
following words:
- simply/simple
- easy/easier/easiest
- obvious
- just
- merely
- straightforward
- ridiculous
Thanks to Carlton Gibson for guidance on how to approach this issue, and
to Tim Bell for providing the idea. But the enormous lion's share of
thanks go to Adam Johnson for his patient and helpful review.
2019-09-06 13:27:46 +02:00
François Freitag
568eed9e79
Fixed #30245 -- Added -k option to DiscoverRunner.
2019-04-30 16:20:51 +02:00
Simon Charette
41e73de39d
Fixed #28478 -- Make DiscoverRunner skip creating unused test databases.
...
SimpleTestCase.databases makes it possible to determine the set of
databases required to run the discovered tests.
2019-01-10 19:11:21 -05:00
Stephen James
e40e7026ca
Fixed #29683 -- Added view permission to docs.
2018-09-26 15:06:43 -04:00
Curtis Maloney
c49ea6f591
Refs #20910 -- Replaced snippet directive with code-block.
2018-09-10 13:00:34 -04:00
Mariusz Felisiak
35319bf12c
Alphabetized imports in various docs.
...
Follow-up of d97cce3409
and 7d3fe36c62
.
2018-05-12 19:37:42 +02:00
Brett Cannon
64b74804c5
Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.
2018-04-17 20:24:27 -04:00
Mariusz Felisiak
7c81b28ebc
Updated various links in docs to use HTTPS.
2018-01-07 14:28:41 +01:00
Sergey Fedoseev
3922f02dc6
Fixed typo in docs/topics/testing/advanced.txt. ( #9416 )
2017-12-04 14:23:16 +05:00
Ville Skyttä
617686e226
Fixed 'a'/'an' mix-ups in docs.
2017-10-30 21:47:09 -04:00
Tim Graham
5446b72003
Removed versionadded/changed annotations for 1.11.
2017-09-22 12:51:18 -04:00
Dima Veselov
01d7ff9a17
Fixed typo in docs/topics/testing/advanced.txt.
2017-05-25 05:44:55 -04:00
Claude Paroz
01f658644a
Updated various links in docs to avoid redirects
...
Thanks Tim Graham and Mariusz Felisiak for review and completion.
2017-05-22 19:28:44 +02:00
Tim Graham
784a53beef
Reverted "Fixed #27878 , refs #23919 -- Used python3 shebangs."
...
This reverts commit 4cffa9a1ff
.
2017-03-07 10:10:32 -05:00
Chris Lamb
4cffa9a1ff
Fixed #27878 , refs #23919 -- Used python3 shebangs.
2017-02-23 13:41:10 -05:00
Adam Chainz
5eff8a7783
Fixed #25415 -- Made DiscoverRunner run system checks.
2016-12-29 12:33:24 -05:00
Andreas Pelme
e76981b433
Fixed #26840 -- Added test.utils.setup/teardown_databases().
2016-08-17 13:55:04 -04:00
Chris Jerdonek
7f9fd42b93
Fixed #27019 -- Made teardown_test_environment() restore the old DEBUG.
2016-08-10 16:24:41 -04:00
Chris Jerdonek
a3a5ef4d0e
Fixed #27035 -- Eased changing settings.DEBUG for DiscoverRunner.
2016-08-09 13:40:29 -04:00
Chris Jerdonek
42f9d65107
Edited docs of test.utils.setup/teardown_test_environment().
2016-08-05 17:38:49 -04:00
Chris Jerdonek
ebed9ee8d5
Fixed #26981 -- Added DiscoverRunner.get_test_runner_kwargs().
2016-08-04 14:45:44 -04:00
Tobias McNulty
17e661641d
Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.
...
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().
2016-06-20 11:07:46 -04:00
Andrew Abraham
f2d9caa625
Fixed DiscoverRunner failfast parameter default in docs.
2016-03-15 18:33:35 -04:00
rowanv
a6ef025dfb
Fixed #26124 -- Added missing code formatting to docs headers.
2016-02-01 10:42:05 -05:00
bee_keeper
a17216646a
Added class-based view example to RequestFactory example.
2015-10-30 13:13:51 -04:00
Tim Graham
53e89ce2e7
Fixed #25451 -- Added advice about organizing tests.
2015-09-25 07:15:19 -04:00
Tim Graham
54848a96dd
Removed versionadded/changed annotations for 1.8.
2015-09-23 19:31:11 -04:00
Tim Graham
6a70cb5397
Refs #19973 -- Removed optparse support in management commands per deprecation timeline.
2015-09-23 19:31:10 -04:00