
react-native-testing
Write tests using React Native Testing Library (RNTL) v13 and v14
by callstackFree
Description
react-native-testing is an agent skill from the callstack/react-native-testing-library project, listed on skills.sh. It guides a coding agent in writing, reviewing and fixing tests with React Native Testing Library, versions 13 and 14. The skill warns that the model's memory of the library may be outdated, because the signatures and sync or async behavior differ between the two versions. It tells the agent to check the version in package.json first, then load the matching API reference. Version 14 uses React 19 and later, with async APIs and the test renderer. Version 13 uses React 18 and later, with synchronous APIs and react-test-renderer. The skill sets a query priority: getByRole first, then getByLabelText, getByPlaceholderText, getByText and getByDisplayValue, with getByTestId as the last resort. It also covers query variants. A skill is a SKILL.md file of instructions that an AI agent loads only when a task calls for it, so the agent checks the version on every task. It can be installed with npx skills add https://github.com/callstack/react-native-testing-library --skill react-native-testing.…
Highlights
- Tests for React Native Testing Library v13 and v14
- Version detection from package.json
- Query priority guidance
- Version-specific API references
- Review and fix existing tests
Ratings & Reviews
No ratings yet
Be the first to rate react-native-testing.
People also visit

frontend-testing
Writing or changing Vitest or React Testing Library tests under `web/` or
react-native-testing FAQ
What does the react-native-testing skill do?
It guides an agent to write, review and fix React Native tests with React Native Testing Library.
How do I install it?
Run npx skills add https://github.com/callstack/react-native-testing-library --skill react-native-testing.
Which versions does it cover?
Versions 13 and 14 of @testing-library/react-native. It picks the version from your package.json.
Why does it prefer getByRole?
The skill sets the order getByRole, getByLabelText, getByPlaceholderText, getByText, getByDisplayValue, and getByTestId last.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
Is it free?
Yes. The skill is listed on skills.sh as free.
What are the best react-native-testing alternatives?
Popular alternatives to react-native-testing include react-testing-library, jest-react-testing and test. See all react-native-testing alternatives















