testing-library/react-testing-library

🐐 Simple and complete React DOM testing utilities that encourage good testing practices.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 45 minutes ago
Added to GitGenius on September 3rd, 2026
Created on March 19th, 2018
Open Issues & Pull Requests: 82 (+0)
GitHub issues: Enabled
Number of forks: 1,168
Total Stargazers: 19,647 (+0)
Total Subscribers: 144 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 19.0 hours
Mean response time: 36.5 days
90th percentile: 51.0 days
Tracked items: 95

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 1% of issues opened in the past year have been closed. Three people close 72% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 34
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 666 days
Stale 30+ days: 33
Stale 90+ days: 21

Recent activity

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

Top labels

  • needs more information (8)
  • bug (3)
  • enhancement (3)
  • question (3)
  • needs investigation (2)
  • help wanted (1)
  • needs discussion (1)
  • released (1)

Detailed Description

React Testing Library is a testing utility library for React components that encourages good testing practices.

The library addresses the challenge of writing maintainable tests that focus on user behavior rather than implementation details. It provides lightweight utility functions built on top of react-dom and react-dom/test-utils, guided by the principle that tests resembling actual software usage provide greater confidence. By abstracting away implementation specifics, the tool helps ensure that component refactors do not break tests unnecessarily, reducing maintenance burden as codebases evolve.

React Testing Library suits projects where developers want to shift testing focus from internal component structure to external behavior and user interactions. It works well for teams prioritizing test maintainability and seeking to avoid brittle tests tied to implementation. The library is particularly valuable when refactoring components frequently, as tests written against user-facing behavior remain stable across internal changes.

The project maintains active engagement with its community through documented issue tracking for bugs, feature requests, and questions. Development activity shows consistent attention to the codebase with established contribution guidelines and a code of conduct supporting community participation.