unit-testing

Installation
SKILL.md

Unit Testing Skill

Framework-agnostic unit testing best practices. Apply these patterns regardless of language or test runner.

Core Principles

  1. Test behavior, not implementation — tests should survive internal refactoring
  2. One behavior per test — not one method per test
  3. AAA structure — Arrange / Act / Assert, always
  4. Prefer fakes and spies over mocks — less coupling to mocking frameworks
  5. Name tests as readable sentences — a non-developer should understand the scenario

Workflow

Writing New Tests

Installs
1
GitHub Stars
1
First Seen
Apr 9, 2026
unit-testing — masterfermin02/agent-skills