pytest
framework- allows, about testing
- make easier to write
- scale
- support complex functional testing | applications & libraries
⚠️ ONLY useassert
statements⚠️ - Reason: 🧠``pytest``'s detailed assertion introspection🧠
- failing assert statements /
- -- via --
self.assert*
- -- via --
- Auto-discovery of
- test modules
- functions
- Modular fixtures / manage small OR parametrized long-lived test resources
- run unittest
- requirements
- Python 3.9+ or PyPy3
- Rich plugin architecture
- 1300+
- Open Collective
- == online funding platform / open & transparent communities