Testing

Rules for testing frameworks and methodologies

TypeScript (Expo, Jest, Detox)

Comprehensive guide and rules for TypeScript-based mobile development using Expo, Jest, and Detox. Includes best practices for code style, UI/UX, performance, testing, and more.
TypeScript
Expo
Jest

Cypress Best Practices: A Comprehensive Guide

This guide offers best practices for using Cypress, an end - to - end testing framework for web apps. It covers code organization, patterns, performance, security, testing approaches, common pitfalls, and tooling.
Cypress
testing
web application

Vitest Best Practices and Coding Standards

This document details Vitest best - practices. It covers code organization, common patterns, performance, security, testing approaches, pitfalls, and tooling. It emphasizes organizing tests close to source, using proper naming, following AAA pattern, optimizing performance, preventing security vulnerabilities, and integrating with CI/CD.
Vitest
testing
best practices

Behave Cursor MDC File

This rule focuses on the behave - cursor - mdc - file. It likely pertains to the testing process, perhaps related to how the cursor behaves in MDC files. It might involve verifying cursor movement, interaction with specific elements in these files during testing scenarios to ensure proper functionality and user - experience.
behave
cursor
mdc file

Mockito Best Practices and Coding Standards

This document offers comprehensive guidelines for using Mockito in Java projects. It covers code organization, common patterns, performance, security, testing, and pitfalls. It details how to structure code, use Mockito annotations, optimize performance, prevent security vulnerabilities, and test different scenarios effectively.
testing
java
mocking

unittest Best Practices Guide

This guide offers best practices for Python's `unittest` library. It covers code organization in tests, common patterns and anti - patterns, performance, security, various testing approaches, common pitfalls, and tooling. It helps write effective, maintainable, and performant unit tests to ensure code quality and reliability.
unittest
Python testing
testing best practices

Explore our comprehensive collection of Cursor rules