원클릭으로
python-testing
pytest patterns: fixtures, markers, async tests, mocking for FastAPI
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
pytest patterns: fixtures, markers, async tests, mocking for FastAPI
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Debug frontend vanilla JS issues - console errors, rendering bugs, SPA navigation, WebSocket
Automates the process of setting up the first admin user or adding new admins via the bootstrap endpoint. Includes a Python script for easy execution.
Push to remote and wait for CI to pass. If CI fails, read logs, fix bugs, and re-push. Repeat until green.
Use when building or debugging LangGraph multi-agent systems - eval-first execution, task decomposition, model routing by complexity, and cost discipline
Use when AI agent modifies API routes or backend logic - catch systematic blind spots where the same model writes and reviews code
Use when making or recording significant architectural decisions - capture context, alternatives, and rationale as structured ADRs
| name | python-testing |
| description | pytest patterns: fixtures, markers, async tests, mocking for FastAPI |
# Run all project tests (always use --no-cov)
.venv\Scripts\python.exe -m pytest tests/ --no-cov -q
# Run single file
.venv\Scripts\python.exe -m pytest tests/test_orm.py --no-cov -v
# Run single test
.venv\Scripts\python.exe -m pytest tests/test_orm.py::TestClass::test_method --no-cov -v
# Run by marker
pytest -m unit # Fast, no external deps
pytest -m integration # Requires database
pytest -m e2e # Browser-based
--no-cov — pytest.ini has --cov which breaks SlowAPI inspect-v for verbose, -q for quick summary, -x to stop at first failure@pytest.mark.unit — Fast, no external dependencies@pytest.mark.integration — Requires database@pytest.mark.asyncio — Async tests@pytest.mark.slow — Takes >5 seconds@pytest.mark.e2e — Playwright browser testsinspect.getsource() and inspect.getsourcefile() when testing functions that need real DB connectionsunittest.mock.patch for external API callstests/conftest.py sets TEST_MODE=true automaticallytest_*.pyTest*test_*