Testbench
/testbench:generatePROConvention-Aware Generation
Generates tests for a single file. Reads config AND existing test files, never generates without context.
What it does
Categories: happy path → edge cases → error cases → type contracts
React: render, content, interactions, conditional rendering, accessibility
API routes: successful response, validation, auth, authz, not found
Auto-splits if exceeding 150 lines
Runs test and fixes up to 3 times before declaring failure
What you get by plan
PRO
Tests that match your project's existing conventions — not generic AI output.
- Reads your existing tests before generating
- Matches import style, mock patterns, naming
- Categories: happy path → edge cases → errors → types
- Self-healing: runs + fixes up to 3 retries