testing-best-practices

Installation
SKILL.md

Testing Best Practices

Testing Pyramid

Layer Share Speed Examples
Unit ~70% Fast (ms) Pure logic, validators, utils
Integration ~20% Medium (s) API endpoints, DB queries, service + repo
E2E ~10% Slow (10s+) Login → checkout → confirmation

Test: business logic, edge cases, error paths, public API contracts. Skip: framework internals, third-party lib behavior, private methods, trivial getters.

Test Behavior, Not Implementation

Installs
8
GitHub Stars
3
First Seen
Apr 13, 2026
testing-best-practices — spardutti/claude-skills