Pytest Best Practices
Pass
Audited by Gen Agent Trust Hub on Sep 1, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a comprehensive guide for Python test engineering, covering legitimate patterns such as Arrange-Act-Assert, fixture scoping, and parametrization.
- [EXTERNAL_DOWNLOADS]: The instructions recommend installing standard, reputable Python testing packages including
pytest,pytest-cov,pytest-xdist, andpytest-mock. These are widely used in the industry and appropriate for the skill's stated purpose. - [DATA_EXPOSURE]: Code examples use mock identifiers (e.g.,
ch_123,tok_visa) and in-memory database strings (sqlite:///:memory:). No real credentials, private keys, or sensitive environment variables are exposed. - [COMMAND_EXECUTION]: The skill provides example CLI commands for running tests (e.g.,
pytest -m smoke,pytest -n auto). These are standard usage patterns for the pytest framework and do not contain malicious intent or hidden payloads.
Audit Metadata