Loading...
Loading...
Comprehensive test execution with parallel analysis and coverage reporting. Use when running test suites or troubleshooting failures with the run-tests workflow.
npx skill4agent add yonatangross/orchestkit run-tests/run-tests
/run-tests backend
/run-tests frontend
/run-tests tests/unit/test_auth.py| Argument | Scope |
|---|---|
Empty/ | All tests |
| Backend only |
| Frontend only |
| Specific file |
| Specific test |
# Backend with coverage
cd backend
poetry run pytest tests/unit/ -v --tb=short \
--cov=app --cov-report=term-missing
# Frontend with coverage
cd frontend
npm run test -- --coverage# Test Results Report
## Summary
| Suite | Total | Passed | Failed | Coverage |
|-------|-------|--------|--------|----------|
| Backend | X | Y | Z | XX% |
| Frontend | X | Y | Z | XX% |
## Status: [ALL PASS | SOME FAILURES]
## Failures (if any)
| Test | Error | Fix |
|------|-------|-----|
| test_name | AssertionError | [suggestion] |# All backend tests
poetry run pytest tests/unit/ -v --tb=short
# With coverage
poetry run pytest tests/unit/ --cov=app
# Quick (no tracebacks)
poetry run pytest tests/unit/ --tb=no -q
# Specific test
poetry run pytest tests/unit/ -k "test_name" -v
# Frontend
npm run test -- --coverage
# Watch mode
npm run test -- --watch| Option | Purpose |
|---|---|
| Stop after 3 failures |
| Stop on first failure |
| Run only last failed |
| Verbose output |
| Shorter tracebacks |
unit-testingintegration-testinge2e-testingtest-data-management| Decision | Choice | Rationale |
|---|---|---|
| Parallel Analyzers | 3 agents | Backend, frontend, and coverage analysis in parallel |
| Default Traceback | | Balance between detail and readability |
| Stop Threshold | | Quick feedback without overwhelming output |
| Coverage Tool | pytest-cov / jest | Native integration with test frameworks |