Loading...
Loading...
Pytest discipline for writing, reviewing, and fixing Python tests — what deserves to be a committed test, deterministic concurrency testing, fixture isolation, mocking boundaries, and suite structure. Triggers on writing or reviewing pytest tests, designing fixtures, parametrizing cases, mocking or patching, debugging flaky or order-dependent tests, xfail/skip decisions, and pytest configuration.
npx skill4agent add nathan-gage/python-skills python-pytest**When ...****Scope:****Exception ...**HIGHMEDIUM-HIGHMEDIUMLOW-MEDIUM| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Test Value | HIGH | |
| 2 | Determinism | HIGH | |
| 3 | Fixtures & Isolation | MEDIUM-HIGH | |
| 4 | Mocking | MEDIUM-HIGH | |
| 5 | Structure & Execution | MEDIUM | |
value-value-observable-contractsvalue-independent-oraclesvalue-one-behavior-per-testdeterminism-determinism-sync-not-sleepdeterminism-no-flake-maskingdeterminism-strict-xfailxfail(strict=True)fixtures-fixtures-narrowest-scopefixtures-restore-global-statemonkeypatchfixtures-canonical-objectsmock-mock-stable-boundariesmock-patch-where-usedmock-assert-wire-formatstructure-structure-parametrize-partitionsstructure-unique-module-namesstructure-plugin-hygienerules/value-observable-contracts.md
rules/mock-patch-where-used.mdAGENTS.md