Turbo Test
Testing & Qualityturbo-testTurbo Test is an Agent Skill for testing & quality published in the justrach/turboAPI repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Run TurboAPI tests. Use when running tests, checking for regressions, or verifying changes.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/justrach/turboAPI/blob/HEAD/.claude/skills/turbo-test/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/turbo-test, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Run TurboAPI Tests
Steps
-
Determine scope: If
$ARGUMENTSis provided, run only matching tests. Otherwise run the full suite. -
Run tests:
# Full suite
uv run --python 3.14t python -m pytest tests/ -p no:anchorpy \
--deselect tests/test_fastapi_parity.py::TestWebSocket -v
# Specific file
uv run --python 3.14t python -m pytest tests/$ARGUMENTS -v
# Specific test
uv run --python 3.14t python -m pytest tests/ -k "$ARGUMENTS" -v
- Run Zig unit tests (if Zig files changed):
cd zig && zig build test
- Run continuous fuzzing (if security-sensitive changes):
cd zig && zig build test --fuzz
Known exclusions
- WebSocket tests (
TestWebSocket) — pre-existing failure, always deselect - anchorpy plugin — causes import error, disable with
-p no:anchorpy
Test categories
| File | What it tests |
|---|---|
test_fastapi_parity.py | FastAPI compatibility (275+ tests) |
test_security_audit_fixes.py | Security fixes (rate limiting, CORS, etc.) |
test_annotated_depends.py | Annotated[Type, Depends(...)] pattern |
test_perf_callnoargs_tupleabi.py | Handler classification + fast paths |
test_query_and_headers.py | Query params, headers, body parsing |
Quick smoke test
uv run --python 3.14t python -c "
from turboapi import TurboAPI
app = TurboAPI()
@app.get('/')
def hello(): return {'ok': True}
from turboapi.testclient import TestClient
c = TestClient(app)
assert c.get('/').status_code == 200
print('OK')
"