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-configapp/react-testing-library-example
More:
微信扫一扫