skipped test
A test pytest deliberately did not run, because it was marked to skip or a condition such as a missing dependency applied.
In more detail
Skips are reported separately from passes and failures. A suite nobody runs because it is slow is effectively skipped entirely, which is worse than any single skipped test.
Related terms
- expected failure — A test marked with @pytest.mark.xfail because it is known to fail today, reported as xfailed instead of failed.
- deselected — The count pytest reports for tests that were collected but left out of this run by a -k or -m selection.
Taught in
- The Cost And Value Of A Test — Automated Testing, TDD & Quality Engineering
- Introducing pytest — Automated Testing, TDD & Quality Engineering