| name | testing |
|---|---|
| description | pytest—layout, coverage, tests/mocks, HTML reports; offline fixtures. |
- Adding or changing tests under
tests/. - Debugging flaky tests; improving mocks or fixtures.
| Goal | Command |
|---|---|
| Full suite | pytest |
| HTML report | pytest --html=tests/test-report/test-report.html --self-contained-html |
| Coverage (example) | coverage run -m pytest && coverage report -m |
tests/test_*.py— feature-focused modules (utils, GQL, metadata, editable tags, etc.).tests/mocks/— shared fixture-style data; extend for new scenarios instead of duplicating large JSON.
- Install
requirements.txtin a venv;pip install -e .for editable package tests.
- No committed
pytest.mark.skiporxfailwithout justification; nobreakpoint()left in CI paths. - No API keys or real tokens in tests.
skills/dev-workflow/SKILL.mdskills/code-review/SKILL.md