Install
openclaw skills install pytest-code-reviewReviews pytest test code for async patterns, fixtures, parametrize, and mocking. Use when reviewing test_*.py files, checking async test functions, fixture usage, or mock patterns.
openclaw skills install pytest-code-review| Issue Type | Reference |
|---|---|
| async def test_*, AsyncMock, await patterns | references/async-testing.md |
| conftest.py, factory fixtures, scope, cleanup | references/fixtures.md |
| @pytest.mark.parametrize, DRY patterns | references/parametrize.md |
| AsyncMock tracking, patch patterns, when to mock | references/mocking.md |
Work in order. Do not assert pytest-specific problems until each applicable gate passes.
test_*.py and any conftest.py you will cite; no findings for files outside that list.async def test_* / await; if yes, open references/async-testing.md before criticizing async usage.conftest.py path(s) or state none; for yield fixtures, confirm cleanup exists before claiming resource leaks.patch or mock critique, you give the import path where the symbol is used (call site), or mark N/A; open references/mocking.md when mocking is central to the review.async def test_* for async code under test