short test summary
The block at the end of a pytest run that lists each failed, skipped or expected-to-fail test on one line.
In more detail
The -r option chooses which outcomes appear there; -rN turns the summary off entirely. With the traceback hidden, the summary alone shows how many claims broke and which ones.
Related terms
- --tb — The pytest option that chooses how much of each failure's traceback to print, from long to short to none.
- failure report — What the test runner prints when a test fails: which test, which line, and the values that did not match.
Taught in
- One Assertion Per Reason — Automated Testing, TDD & Quality Engineering
- Making Failures Explain Themselves — Automated Testing, TDD & Quality Engineering