react-native-testing

react native testing

callstack ↓ 3k
Claude Code
View source ↗

What it does

  • v14.x → load references/api-reference-v14.md (React 19+, async APIs, test-renderer)
  • v13.x → load references/api-reference-v13.md (React 18+, sync APIs, react-test-renderer)
  • Text, TextInput, Switch are by default
  • View needs accessible={true} (or use Pressable/TouchableOpacity)
  • v13 API Reference — Complete v13 API: sync render, queries, matchers, userEvent, React 19 compat
  • v14 API Reference — Complete v14 API: async render, queries, matchers, userEvent, migration
  • Anti-Patterns — Common mistakes to avoid

Requirements & configuration

  • View needs accessible={true} (or use Pressable/TouchableOpacity)

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

react native testing

Source

Repository: https://github.com/callstack/react-native-testing-library

react-native-testing FAQ

What does the react-native-testing skill do?

> Write tests using React Native Testing Library (RNTL) v13 and v14 (`@testing-library/react-native`). Use when writing, reviewing, or fixing React Native component tests. Covers: render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, and async patterns. Supports v13 (React 18, sync render) and v14 (React 19+, async render). Triggers on: test files for React Native components, RNTL imports, mentions of "testing library", "write tests", "component tests", or "RNTL". v14.x → load references/api-reference-v14.md (React 19+, async APIs, test-renderer) v13.x → load references/api-reference-v13.md (React 18+, sync APIs, react-test-renderer)

What does react-native-testing require?

View needs accessible={true} (or use Pressable/TouchableOpacity)

How do I install react-native-testing?

Run: npx -y skills add https://github.com/callstack/react-native-testing-library --skill react-native-testing --agent claude-code — the source lives at github.com/callstack/react-native-testing-library.

Maintain react-native-testing?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[react-native-testing on getagentictools](https://getagentictools.com/skills/callstack-react-native-testing-library-react-native-testing?ref=badge)
npx agentictools info skills/callstack-react-native-testing-library-react-native-testing

The second line is the CLI lookup for this page — handy in READMEs and docs.