From 5a9b95179c4ba3eea19de34f10df7511a119f8d1 Mon Sep 17 00:00:00 2001 From: Marius van den Beek Date: Thu, 14 Oct 2021 11:40:15 +0200 Subject: [PATCH] Clarify position of pytest arguments Co-authored-by: Nicola Soranzo --- doc/source/dev/debugging_tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/dev/debugging_tests.md b/doc/source/dev/debugging_tests.md index d464672b9b6..91703113fd4 100644 --- a/doc/source/dev/debugging_tests.md +++ b/doc/source/dev/debugging_tests.md @@ -41,7 +41,7 @@ The first step is often to exclude the workflow runs that are passing, so that y To do this you can delete all the workflow files in .github/workflows/*.yaml except for the one that sets up the failing test. If the yaml file has a strategy section that sets up multiple tests keep just the one that contains the failing test. -If the test never finishes through in a `-s` in the run_tests.sh arguments, so you see live output. +If the test never finishes, add `-s` to the options that `run_tests.sh` pass to `pytest` (i.e. `-s` needs to be after a `--`), so you can see live output. This diff here adds `-s` and disables strategies that are already passing: ```diff