Skip to main content

testing

Comprehensive testing patterns and anti-patterns for writing and reviewing tests

Source facts

Repository
okou-ai/okou
Last source activity
July 3, 2026 at 12:31
Detected SKILL.md language
English
Stars
1,157
Forks
72

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
testing
description
Comprehensive testing patterns and anti-patterns for writing and reviewing tests
context
fork
# 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](../../../docs/testing.md) | — | | Anti-patterns | [docs/testing.md](../../../docs/testing.md) | [anti-patterns.md](../../../docs/testing/anti-patterns.md) | | Patterns | [docs/testing.md](../../../docs/testing.md) | [patterns.md](../../../docs/testing/patterns.md) | | CLI (`turbo/apps/cli`) | [docs/testing.md](../../../docs/testing.md) | [cli-testing.md](../../../docs/testing/cli-testing.md) | | CLI E2E (`e2e/tests/`) | [docs/testing.md](../../../docs/testing.md) | [cli-e2e-testing.md](../../../docs/testing/cli-e2e-testing.md) | | API (`turbo/apps/api`) | [docs/testing.md](../../../docs/testing.md) | [api-testing.md](../../../docs/testing/api-testing.md) | | App (`turbo/apps/platform`) | [docs/testing.md](../../../docs/testing.md) | [app-testing.md](../../../docs/testing/app-testing.md) | | Rust (`crates/`) | [docs/testing.md](../../../docs/testing.md) | [rust-testing.md](../../../docs/testing/rust-testing.md) | | Python addon (`crates/runner/mitm-addon`) | [docs/testing.md](../../../docs/testing.md) | [mitm-addon-testing.md](../../../docs/testing/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
View on GitHub