A Pytest plugin that automatically applies @beartype to every collected test function at runtime, enabling runtime type-checking of test arguments and return values. The current version is 2026.04.26, with a rapid release cadence tied to calendar dates.
pip install pytest-beartype-testsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Enable beartype checking on all test functions by passing --beartype-tests to pytest.
Use --beartype-tests-skip to selectively disable for certain directories.
Ensure all test functions have appropriate type annotations or use @beartype.skip on specific functions.
pip install beartype
Install pytest-beartype-tests via pip; ensure it's in the same environment.