Generates unit tests, integration tests, and E2E tests for React/Next.js applications. Scans components to create Jest + React Testing Library test stubs, analyzes Istanbul/LCOV coverage reports to surface gaps, scaffolds Playwright test files from Next.js routes, mocks API calls with MSW, creates test fixtures, and configures test runners. Use when the user asks to "generate tests", "write unit tests", "analyze test coverage", "scaffold E2E tests", "set up Playwright", "configure Jest", "implement testing patterns", or "improve test quality".
90
86%
Does it follow best practices?
Impact
92%
1.26xAverage score across 6 eval scenarios
Passed
No known issues
Test generation script & RTL query patterns
Uses generator script
0%
25%
Script output flag
0%
0%
getByRole preferred
100%
100%
getByTestId as fallback only
100%
100%
userEvent over fireEvent
60%
100%
MSW for API mocking
0%
100%
MSW lifecycle hooks
0%
100%
Async findBy/waitFor
100%
100%
Co-located test files
100%
100%
AAA structure
62%
75%
Test naming pattern
100%
87%
Coverage configuration & analysis workflow
Uses coverage_analyzer script
0%
100%
Threshold flag used
0%
100%
Global threshold 80%
0%
100%
Branch threshold 75-80%
0%
100%
Critical path thresholds
100%
100%
collectCoverageFrom exclusions
100%
100%
Multiple coverage reporters
100%
100%
Coverage analysis workflow
60%
100%
Critical paths flag
0%
100%
Compare flag usage
0%
0%
JSON reporter flag
100%
100%
Playwright E2E setup & Page Object Model
Uses scaffolder script
0%
100%
POM flag used
0%
100%
Page Object class
100%
100%
Playwright accessible locators
100%
100%
Auth fixtures file
100%
100%
Fixture uses base.extend
100%
100%
Playwright init step
100%
100%
spec.ts file naming
100%
100%
waitForURL or waitForResponse
100%
0%
CI pipeline step
100%
100%
Locator chaining
50%
70%
Test data factories and provider utilities
User factory with overrides
100%
100%
Specialized factory variants
100%
100%
Product factory with faker or realistic data
100%
100%
renderWithProviders utility
100%
100%
QueryClient retry disabled
100%
100%
MSW handlers file
100%
100%
MSW server setup
100%
100%
MSW onUnhandledRequest error
100%
100%
MSW global lifecycle hooks
100%
100%
Sample test uses renderWithProviders
100%
100%
Sample test uses factory
100%
100%
Test file extension .test.tsx
100%
100%
Custom hook testing with renderHook and timers
renderHook used
100%
100%
act used for state updates
100%
100%
Counter reset tested
100%
100%
Fresh hook instance per test
100%
100%
Fake timers for debounce
100%
100%
advanceTimersByTime used
100%
100%
Callback not called before delay
100%
100%
Callback called once after delay
100%
100%
Test file extension .test.ts
100%
100%
Behavior-describing test names
100%
100%
Toggle initial value tested
100%
100%
Accessibility testing with jest-axe and a11y script flag
Generator script with a11y flag
0%
100%
Generator output to __tests__
0%
100%
jest-axe import
100%
100%
expect.extend called
100%
100%
axe run on container
100%
100%
toHaveNoViolations assertion
100%
100%
Accessible queries in tests
33%
100%
a11y test file naming
0%
0%
All three components tested
77%
100%
Component implementations provided
100%
100%
Workflow documentation
100%
100%
967fe01
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.