AGENT SKILL

testing-patterns

暂无简介

License 许可
MIT
最近更新
2026-06-13
Stars
★ 1
Forks
0

01 前言 Front Matter

name
testing-patterns
version
1.0

03 SKILL.md 正文

Skill: Testing Patterns

Overview

Testing strategy for the project. Unit tests use mocked ports, integration tests use real fixtures.

What to Do — Patterns

  • Test entities with pure unit tests, no mocks
  • Test use cases with in-memory fakes
  • Test adapters with real fixture files
  • Use factory helpers with spread overrides

What NOT to Do — Anti-Patterns

  • Don't mock entities — they're already pure
  • Don't use real I/O in use case tests

04 同仓库更多 Skills