Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-30 00:26:21 +00:00
parent 0c7df3d10e
commit ce95f613fc
4 changed files with 92 additions and 14 deletions

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Exit as soon as a test fails or encounters an error:
`pytest --exitfirst`
`pytest {{[-x|--exitfirst]}}`
- Run tests matching or excluding markers:
@@ -26,12 +26,12 @@ source: https://github.com/tldr-pages/tldr.git
- Run until a test failure, continuing from the last failing test:
`pytest --stepwise`
`pytest {{[--sw|--stepwise]}}`
- Run tests without capturing output:
`pytest --capture=no`
`pytest {{[-s|--capture=no]}}`
- Run tests with increased [v]erbosity, displaying individual test names:
- Run tests with increased verbosity, displaying individual test names:
`pytest -v`
`pytest {{[-v|--verbose]}}`