We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0197980 commit f710d69Copy full SHA for f710d69
README.md
@@ -161,6 +161,23 @@ so you can run:
161
uv run poe <command>
162
```
163
164
+## Debugging Tests
165
+
166
+The `test` command ultimately just calls `pytest`, so you can use all of its
167
+command-line arguments. This one is commonly used to debug misbehaving tests:
168
169
+```sh
170
+uv run poe test -x --pdb -s
171
+```
172
173
+Here's what those flags mean:
174
175
+* `-x`: Exit on first failed test.
176
+* `--pdb`: Drop to PDB on failure.
177
+* `-s`: Workaround [a bug] which makes PDB unresponsive to input.
178
179
+[a bug]: https://github.com/pytest-dev/pytest/issues/12888
180
181
**Global install**
182
183
If you install the `poethepoet` package via `uv tool install` or `pipx install`,
0 commit comments