Skip to content

Commit 1837858

Browse files
committed
Tweak changelog
1 parent 40b38f9 commit 1837858

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

changelog/13122.improvement.rst

+3-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ Improve the ``--stepwise``/``--sw`` flag to not forget the last failed test in c
33
This enables the following workflow:
44

55
1. Execute pytest with ``--stepwise``, pytest then stops at the first failing test;
6-
2. User iteratively updates the code and runs the test in isolation, without the ``--stepwise`` flag
7-
(for example in an IDE), until it is fixed.
8-
3. At this point, the user can execute pytest with ``--stepwise`` again and pytest will continue from the previously
9-
failed test, and if it passes, continue with the next tests.
6+
2. Iteratively update the code and run the test in isolation, without the ``--stepwise`` flag (for example in an IDE), until it is fixed.
7+
3. Execute pytest with ``--stepwise`` again and pytest will continue from the previously failed test, and if it passes, continue on to the next tests.
108

11-
Previously, at step 3, pytest would start from the beginning, forgetting the failed tests.
9+
Previously, at step 3, pytest would start from the beginning, forgetting the previously failed test.
1210

1311
Also added the new ``--stepwise-reset``/``--sw-reset``, allowing the user to explicitly reset the stepwise state and restart the workflow from the beginning.

0 commit comments

Comments
 (0)