OpenWebF App: Testing (Vitest + React Testing Library)
Instructions
- •Identify the stack (React/Vue/etc.) and current test tooling (if any).
- •Use MCP docs for the recommended testing approach and best practices.
- •Prefer “testing trophy” prioritization:
- •unit tests for business logic
- •component tests for UI behavior
- •minimal integration/E2E only where needed
- •Offer templates when appropriate:
- •
app/vitest-config - •
app/react-testing-library-example
- •
More: