testing
Installation
SKILL.md
Testing
Tests should prove behavior, not mirror implementation. Prefer the smallest test type that catches the risk.
Test Selection
Use feature tests for:
- routes and controllers;
- authorization and middleware;
- validation;
- redirects;
- sessions;
- database writes;
- user-facing workflows.
Use unit tests for: