name: pytest
binary: pytest
aliases: []
category:
- test
lang:
- python
summary: Python testing framework CLI.
homepage: https://github.com/pytest-dev/pytest
docs: https://docs.pytest.org/
detect:
version_args:
- --version
local:
files:
- pytest.ini
- conftest.py
dirs: []
package_json:
package_manager_prefixes: []
use_when:
- Run Python tests
avoid_when:
- The project uses unittest commands or another test runner
risk:
level: medium
effects:
- execute_code
- read_files
- write_files
requires_auth: false
destructive: false
confirmation_required_for:
- updating snapshots or golden files
guardrails:
- Prefer focused test paths before broad test suites when iterating.