aaa-pattern

Installation
SKILL.md

AAA Pattern (Arrange-Act-Assert)

Overview

Every test has three phases: Arrange, Act, Assert. Keep them separate.

Clear structure makes tests readable, maintainable, and debuggable. When phases blur together, tests become confusing.

When to Use

  • Writing any test
  • Test logic is hard to follow
  • Unclear what's being tested
  • Multiple actions or assertions mixed together

The Iron Rule

Installs
34
GitHub Stars
12
First Seen
Jan 22, 2026
aaa-pattern — yanko-belov/code-craft