SuperAPI AI Directory

testing

Testing & quality

View repository

Updated 10-17 21:01

About this skill

Publisher source snapshot: 2026-10-17 UTC, fixed Git revision. The complete original SKILL document follows. Companion reference files were not fetched; commands were not executed.

Testing Skill

Use this skill when writing tests, reviewing test code, or investigating test failures.

Documentation

Read the testing guide and relevant reference based on context:

Context Primary Reference
General docs/testing.md —
Anti-patterns docs/testing.md Anti-patterns
Patterns docs/testing.md Shared patterns
CLI (turbo/apps/cli) docs/testing.md cli-testing.md
CLI E2E (e2e/tests/) docs/testing.md cli-e2e-testing.md
API (turbo/apps/api) docs/testing.md api-testing.md
App (turbo/apps/platform) docs/testing.md app-testing.md
Rust (crates/) docs/testing.md rust-testing.md
Python addon (crates/runner/mitm-addon) docs/testing.md mitm-addon-testing.md

Key Principles

  1. Integration tests are primary — test at system entry points
  2. Mock at the boundary — only mock external services, not internal code
  3. Use real infrastructure — real database, real filesystem (temp dirs)
  4. Test behavior, not implementation — verify outcomes, not mock calls