Testing Edge Cases and Errors
Bugs hide at the edges of what a function accepts, so good tests try zero and empty values, the smallest and biggest values allowed and each side of a boundary, make sure bad values are refused with pytest.raises, and run many examples through one test with parametrize.
Updated

- Category
- Python
- Level
- Journeyman
- Tags
- Boundary Value, Edge Case, Parametrized Test, pytest.raises, python