diff options
| author | Tim Graham <timograham@gmail.com> | 2024-02-05 07:18:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-05 09:18:53 -0300 |
| commit | d70b79c6b90c8a9657c6bf7f6eca6f3f9424bb45 (patch) | |
| tree | 5b0034baa6d54ed90ae309a6d7c7c488c9c20eca /docs/releases | |
| parent | 02a600ff67f7b106cdcab22310bacea98c1a26ba (diff) | |
Replaced "Django test runner" with DiscoverRunner in release notes.
Removed mention of options supported only by runtests.py.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/3.0.txt | 10 | ||||
| -rw-r--r-- | docs/releases/3.1.txt | 4 | ||||
| -rw-r--r-- | docs/releases/4.0.txt | 7 | ||||
| -rw-r--r-- | docs/releases/4.1.txt | 5 | ||||
| -rw-r--r-- | docs/releases/5.0.txt | 5 | ||||
| -rw-r--r-- | docs/releases/5.1.txt | 3 |
6 files changed, 13 insertions, 21 deletions
diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt index 4dfb6aae5a..eb043710c1 100644 --- a/docs/releases/3.0.txt +++ b/docs/releases/3.0.txt @@ -362,14 +362,8 @@ Tests references, and entity references that refer to the same character as equivalent. -* Django test runner now supports headless mode for selenium tests on supported - browsers. Add the ``--headless`` option to enable this mode. - -* Django test runner now supports ``--start-at`` and ``--start-after`` options - to run tests starting from a specific top-level module. - -* Django test runner now supports a ``--pdb`` option to spawn a debugger at - each error or failure. +* :class:`~django.test.runner.DiscoverRunner` can now spawn a debugger at each + error or failure using the :option:`test --pdb` option. .. _backwards-incompatible-3.0: diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt index 0b13fc37d2..a872326200 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -475,8 +475,8 @@ Tests * The new :setting:`MIGRATE <TEST_MIGRATE>` test database setting allows disabling of migrations during a test database creation. -* Django test runner now supports a :option:`test --buffer` option to discard - output for passing tests. +* :class:`~django.test.runner.DiscoverRunner` can now discard output for + passing tests using the :option:`test --buffer` option. * :class:`~django.test.runner.DiscoverRunner` now skips running the system checks on databases not :ref:`referenced by tests<testing-multi-db>`. diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt index 05f199e4fe..8fb11451a6 100644 --- a/docs/releases/4.0.txt +++ b/docs/releases/4.0.txt @@ -367,8 +367,7 @@ Tests serialized to allow usage of the :ref:`serialized_rollback <test-case-serialized-rollback>` feature. -* Django test runner now supports a :option:`--buffer <test --buffer>` option - with parallel tests. +* The :option:`test --buffer` option now supports parallel tests. * The new ``logger`` argument to :class:`~django.test.runner.DiscoverRunner` allows a Python :py:ref:`logger <logger>` to be used for logging. @@ -376,8 +375,8 @@ Tests * The new :meth:`.DiscoverRunner.log` method provides a way to log messages that uses the ``DiscoverRunner.logger``, or prints to the console if not set. -* Django test runner now supports a :option:`--shuffle <test --shuffle>` option - to execute tests in a random order. +* :class:`~django.test.runner.DiscoverRunner` can now execute tests in a random + order using the :option:`test --shuffle` option. * The :option:`test --parallel` option now supports the value ``auto`` to run one test process for each processor core. diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt index c840db4a7f..3986774013 100644 --- a/docs/releases/4.1.txt +++ b/docs/releases/4.1.txt @@ -534,8 +534,9 @@ Miscellaneous on the :class:`~django.db.models.Model` instance to which they belong. *This change was reverted in Django 4.1.2.* -* The Django test runner now returns a non-zero error code for unexpected - successes from tests marked with :py:func:`unittest.expectedFailure`. +* :class:`~django.test.runner.DiscoverRunner` now returns a non-zero error code + for unexpected successes from tests marked with + :py:func:`unittest.expectedFailure`. * :class:`~django.middleware.csrf.CsrfViewMiddleware` no longer masks the CSRF cookie like it does the CSRF token in the DOM. diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt index a10c9d280a..303ee88078 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -432,8 +432,9 @@ Tests * :class:`~django.test.AsyncClient` now supports the ``follow`` parameter. -* The new :option:`test --durations` option allows showing the duration of the - slowest tests on Python 3.12+. +* :class:`~django.test.runner.DiscoverRunner` now allows showing the duration + of the slowest tests using the :option:`test --durations` option (available + on Python 3.12+). Validators ~~~~~~~~~~ diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index 3fefaa9f0e..1d014ceb21 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -280,9 +280,6 @@ Tests :meth:`~django.test.SimpleTestCase.assertInHTML` assertions now add haystacks to assertion error messages. -* The Django test runner now supports a ``--screenshots`` option to save - screenshots for Selenium tests. - * The :class:`~django.test.RequestFactory`, :class:`~django.test.AsyncRequestFactory`, :class:`~django.test.Client`, and :class:`~django.test.AsyncClient` classes now support the ``query_params`` |
