test-ids
CommunityStandardize React Native test IDs.
Authorguicheffer
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of creating reliable and maintainable automated tests for React Native applications by establishing a consistent pattern for defining and using testID attributes.
Core Features & Use Cases
- Hierarchical Naming: Enforces a
feature-component-element-variantnaming convention to prevent collisions and improve discoverability. - Constant Definitions: Promotes defining
testIDs as constants within feature-specific files, enabling easier refactoring and preventing typos. - Cross-Platform Compatibility: Provides guidance for using the same
testIDs in both unit tests (React Native Testing Library) and E2E tests (Maestro). - Use Case: When writing tests for a new user profile screen, you can quickly define and use
testIDs likeprofile-screen-header,profile-screen-edit-button, andprofile-screen-avatarensuring consistency and testability.
Quick Start
Define test IDs for your React Native components using the feature-component-element naming convention.
Dependency Matrix
Required Modules
None requiredComponents
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: test-ids Download link: https://github.com/guicheffer/devorch-cli/archive/main.zip#test-ids Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.