react-native-testing-library
Installation
SKILL.md
React Native Testing Library
Component testing for React Native apps, focusing on behavior over implementation details.
When to Use
- Testing React Native components and screens
- Simulating user interactions (press, type, scroll)
- Writing maintainable UI tests that resist refactoring
- Testing accessibility features and labels
- Verifying component behavior from user perspective
Don't use for:
- End-to-end tests across app (use Detox or Maestro)
- Testing native modules directly (use native test frameworks)
- Performance benchmarking (use React Native performance tools)