AI SummaryTesting guidelines for cursor users covering unit tests, component tests, and test file organization for React projects. Useful for developers establishing consistent testing practices in their cursor-based workflows.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "Tutoring-with-AI — Cursor Rules" prompt rules to my project. Repository: https://github.com/artur-IT/Tutoring-with-AI Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Tutoring to learn for young students
Testing
• Use Vitest, React Testing Library for components and Playwright for testing. • Write unit tests for all services and utilities. • Use React Testing Library for components. • Each new component must include at least 1 test file in the same folder and named like the component with .test.tsx extension. • Never mock things unnecessarily; only mock network requests. • Add only minimum necessary tests
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts