callstack/react-native-testing-library

πŸ¦‰ Simple and complete React Native testing utilities that encourage good testing practices.

View on GitHub β†—Jump to charts ↓

Summary Information

Updated 1 hour ago
Added to GitGenius on September 20th, 2026
Created on October 1st, 2018
Open Issues & Pull Requests: 12 (+0)
GitHub issues: Enabled
Number of forks: 281
Total Stargazers: 3,421 (+0)
Total Subscribers: 26 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 2
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 742 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (13)
  • bug (2)
  • discussion (2)
  • help wanted (2)
  • compat: testing-library (1)
  • good first issue (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

React Native Testing Library is a testing utility library for React Native components that encourages good testing practices by focusing on user-centric assertions rather than implementation details.

The library addresses the challenge of writing maintainable tests for React Native applications. It simulates the React Native runtime using Test Renderer and guides developers toward tests that resemble how software is actually used. By avoiding assertions on implementation details, tests remain stable across refactors and continue to provide confidence in component behavior. The tool works with Jest and is designed to be compatible with other test runners as well.

Developers building React Native applications should choose this tool if they want their test suites to remain maintainable as components evolve. It suits projects where the team values tests that verify user-facing behavior rather than internal implementation. The library is inspired by React Testing Library, bringing similar principles and patterns to the React Native ecosystem for developers already familiar with that approach.

The project maintains active engagement with its codebase, regularly addressing issues and pull requests from the community. Development includes consistent updates to keep the tool compatible with evolving React Native versions and testing standards. The maintainers actively document the API and provide examples to help developers adopt the library effectively.