testing-unit

Installation
SKILL.md

Skill: Testing Unit

Goal

Write fast, focused unit tests for individual functions, classes, and modules with proper isolation and mocking.

Use This Skill When

  • Testing a single function or class
  • Testing pure functions with no side effects
  • Testing utility functions and helpers
  • Adding tests to existing code
  • The user asks for "unit tests" for specific code

Do Not Use This Skill When

  • Testing multiple components together (use integration tests)
  • Testing user flows or complete features (use E2E tests)
  • Database or network calls are involved (mock or use integration tests)

Unit Test Structure

Installs
12
GitHub Stars
6
First Seen
Mar 18, 2026
testing-unit — open-hax/opencode-skills