test-runner
Installation
SKILL.md
Test Runner
Core workflow
- Detect the language, package manager, and existing test framework before changing anything.
- Prefer the project's current test stack over introducing a new one.
- Run the smallest relevant test scope first, then widen coverage after the failure is understood.
- When fixing bugs, start with a failing test, make the smallest code change that passes, then refactor.
- After changes, run the narrow test again and then a broader suite if the local workflow supports it.
Framework selection
Use the existing framework when one is already configured. If the project has no test stack, prefer:
| Language | Unit tests | Integration | End-to-end |
|---|---|---|---|
| TypeScript / JavaScript | Vitest | Supertest | Playwright |
| Python | pytest | pytest + httpx | Playwright |
| Swift | XCTest | XCTest | XCUITest |