Test Design

Design practical tests for business logic, integrations, APIs, and regression protection.

eooo-io b6d4e17 1.2 KB Updated

File contents

Test Design

Purpose

Produce a lean, useful test plan for a change or component — enough coverage to catch the failures that matter, not enough to drown the change under fixture maintenance.

Test types

  • Unit tests for pure logic and small functions.
  • Component tests for module-level behavior with realistic dependencies.
  • Integration tests for database, queue, API, or external boundaries.
  • Acceptance-style tests for user-visible behavior or contract surfaces.

Output format

## Scope

## Test plan

### Unit
### Component
### Integration
### Acceptance

## Edge and failure cases

## Tests intentionally not included

Rules

  • Prefer meaningful coverage over coverage theater.
  • Tests must be runnable by the project's existing tooling.
  • Include edge cases and failure cases — happy-path-only suites lie about quality.
  • Avoid brittle tests that assert implementation details without protecting behavior.
  • If a test type is intentionally skipped, name it in "Tests intentionally not included" and say why.

eooo-io/ai-native-engineering-doctrine/tree/main/04-agent-skills/test-design commit b6d4e17e69

Frequently asked questions

npx skillmds@latest add eooo-io/test-design