Key features of pytest
mainpytest is a scalable testing framework with the following core capabilities:
- Detailed Assertion Introspection: Uses plain
assertstatements and provides rich information on why an assertion failed. - Auto-discovery: Automatically finds test modules and functions.
- Modular Fixtures: Provides a system for managing small or parametrized long-lived test resources.
- unittest Compatibility: Can run existing
unittest(ortrial) test suites out of the box. - Plugin Architecture: Supports over 1300+ external plugins to extend functionality.
Requirements:
- Python 3.10+ or PyPy3