Skip to content

Glossary: Software Design Patterns

pytest

Also written: pytest.raises

A Python testing framework. It finds functions named `test_...`, builds fixtures and passes them to tests by parameter name, and offers `pytest.raises` to check that code raises an error.

Where the book teaches it

Related terms

FixtureparametrizeInversion of control