react-native-testing-patterns

Community

Proven testing patterns for React Native apps.

AuthorPlaneInABottle
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Streamlines and standardizes testing practices across the Fitness Tracker app, covering unit tests for MST models and stores, component tests with RTL, and Maestro-based E2E flows.

Core Features & Use Cases

  • Unit Testing (MST): Model testing and store validation patterns for MST models and environments.
  • Component Testing (RTL): Patterns for rendering components with providers, interaction testing, and asynchronous testing.
  • Mocking Patterns: Centralized mocks for Expo modules and native dependencies.
  • E2E Testing (Maestro): End-to-end flow patterns for Maestro-driven tests.
  • References: See additional documentation in the references folder for MST_TESTING, COMPONENT_TESTING, and MAESTRO_FLOWS.

Quick Start

Install dependencies and run the test suite to validate unit, component, and Maestro flow tests.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: react-native-testing-patterns
Download link: https://github.com/PlaneInABottle/fitnessMobileApp/archive/main.zip#react-native-testing-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.