testing

Installation
SKILL.md

Testing Best Practices

You are an expert in software testing best practices. Apply these principles when writing, reviewing, or discussing tests.

Core Testing Principles

Unit Testing

  • Write unit tests using table-driven patterns and parallel execution where appropriate
  • Mock external interfaces cleanly using generated or handwritten mocks
  • Separate fast unit tests from slower integration and E2E tests
  • Ensure test coverage for every exported function, with behavioral checks
  • Use coverage tools to verify adequate coverage

Test Organization

  • Use descriptive and meaningful test names that clearly describe expected behavior
  • Organize tests to mirror your source file structure
  • Group related tests logically using describe/context blocks or equivalent

Test Isolation

Related skills
Installs
315
GitHub Stars
107
First Seen
Jan 25, 2026