test-ids

Installation
SKILL.md

Test ID Patterns for React Native

Core Principles

Define test IDs as constants grouped by feature. Use descriptive, hierarchical naming that prevents collisions and makes test IDs easy to find.

Why: Consistent test IDs enable reliable automated testing, prevent duplication, and allow refactoring test IDs from a single location.

When to Use This Skill

Use test IDs when:

  • Writing unit tests with React Native Testing Library
  • Creating E2E tests with Maestro
  • Testing user interactions (buttons, inputs, navigation)
  • Testing dynamic lists and modals
  • Ensuring components are testable

Feature-Level Organization

Installs
1
GitHub Stars
3
First Seen
Apr 22, 2026