pytest exercises
- Basic
- Fixture #mock-data
- Mark #Tags
- Parameterize #data-driven
- Yield #hooks
- Skip tests
| Type | Command |
|---|---|
| generic run | pytest -v -s pytest/test_yield_fixture.py |
| Run specific test case | pytest -v -s pytest/test_yield_fixture.py::test_fail |
| Run tagged tests | pytest -v -s pytest/test_mark.py -m 'slow' |