一键导入
test-runner
Run tests using the project Makefile. Use for executing test suites, running specific tests, and validating code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run tests using the project Makefile. Use for executing test suites, running specific tests, and validating code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Product Manager. Use for product vision, requirements, PRDs, user stories, prioritization, and acceptance criteria.
Tech Lead and Architect. Use for architectural decisions, design guidance, task planning, code quality, and refactoring strategy.
Scrum Master and Project Coordinator. Use for sprint status, task tracking, velocity metrics, and team coordination.
Senior Software Engineer (Python). Use for implementation, coding, debugging, testing, and refactoring tasks.
Knowledge Officer and Documentation Architect. Use for documentation, knowledge queries, recording decisions/lessons, and file organization.
HCI Expert and UX Advocate. Use for user story review, usability testing, HCI evaluation, API/CLI feedback, sprint user review gates, and usability defect filing.
| name | test-runner |
| description | Run tests using the project Makefile. Use for executing test suites, running specific tests, and validating code changes. |
| triggers | ["*test","*qa test"] |
One-line summary: Run the project test suite through the Makefile for consistent environment setup.
TLDR:
Use make test to run all tests; use pytest directly (with .venv activated) for targeted runs by file, pattern, or coverage.
On failure: read the error, fix the issue, re-run the specific failing test first, then the full suite.
Used by Neo (*swe test) after implementation changes and by Trin (*qa test) for full verification.
This skill provides standardized test execution using the project's Makefile. All test commands should go through make to ensure consistent environment setup.
make test
Runs the complete test suite with pytest.
source .venv/bin/activate && pytest tests/unit/test_store.py -v
source .venv/bin/activate && pytest -k "test_pattern" -v
source .venv/bin/activate && pytest --cov=via tests/ -v
| Action | Command |
|---|---|
| All tests | make test |
| Unit tests only | source .venv/bin/activate && pytest tests/unit/ -v |
| Integration tests | source .venv/bin/activate && pytest tests/integration/ -v |
| Single file | source .venv/bin/activate && pytest tests/unit/test_X.py -v |
| By pattern | source .venv/bin/activate && pytest -k "pattern" -v |
| Verbose output | Add -v or -vv flag |
| Stop on first fail | Add -x flag |
make install)*swe test): Run tests after implementing changes*qa test): Run full test suite for verification