# React Testing Library

A set of utilities for testing React components through the DOM, built on DOM Testing Library.


Source: https://findsoftware.frbit.cloud/react-testing-library/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://testing-library.com/docs/react-testing-library/intro/
- repository: https://github.com/testing-library/react-testing-library
- docs: https://testing-library.com/docs/react-testing-library/intro/
- discord: https://discord.gg/testing-library

### Identity

- status: active
- maintainer: Kent C. Dodds
- maintainerType: individual
- parent: unknown
- firstRelease: 2018
- hqCountry: unknown

### Kind

- category: testing
- hosting: not applicable
- language: javascript
- runtime: node
- runtimeMin: node 18
- basedOn: react

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 16
- latestReleaseDate: 2026-08-27

### Adoption

- githubStargazers: 19682
- packagistDownloads: not applicable
- npmWeeklyDownloads: 92469012
- contributors: 168
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 1052404
- dependentPackages: 43775

### Sources

- urls: https://testing-library.com/docs/react-testing-library/intro/ (read 2026-11-16)
- urls: https://api.github.com/repos/testing-library/react-testing-library (read 2026-11-16)
- urls: https://testing-library.com/docs/react-testing-library/intro/ (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/testing-library/react-testing-library/main/LICENSE (read 2026-11-16)
- maintainerType: https://raw.githubusercontent.com/testing-library/react-testing-library/main/LICENSE (read 2026-11-16)
- category: https://testing-library.com/docs/react-testing-library/intro/ (read 2026-11-16)
- language: https://api.github.com/repos/testing-library/react-testing-library (read 2026-11-16)
- basedOn: https://testing-library.com/docs/react-testing-library/intro/ (read 2026-11-16)
- installMethod: https://raw.githubusercontent.com/testing-library/react-testing-library/main/README.md (read 2026-11-16)
- license: https://api.github.com/repos/testing-library/react-testing-library (read 2026-11-16)
- licenseModel: https://raw.githubusercontent.com/testing-library/react-testing-library/main/LICENSE (read 2026-11-16)
- runtime: https://raw.githubusercontent.com/testing-library/react-testing-library/v16.3.3/package.json (read 2026-11-16)
- runtimeMin: https://raw.githubusercontent.com/testing-library/react-testing-library/v16.3.3/package.json (read 2026-11-16)
- currentMajor: https://api.github.com/repos/testing-library/react-testing-library/releases (read 2026-11-16)
- latestReleaseDate: https://registry.npmjs.org/@testing-library/react (read 2026-11-16)
- firstRelease: https://api.github.com/repos/testing-library/react-testing-library/releases (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@testing-library/react (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/testing-library/react-testing-library (read 2026-11-16)
- contributors: https://api.github.com/repos/testing-library/react-testing-library/contributors?per_page=1 (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@testing-library%2Freact (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@testing-library%2Freact (read 2026-11-16)

## Notes

React Testing Library provides utilities for testing React components through the DOM, building on top of DOM Testing Library. It is installed as a development dependency and runs under Node.

## Worth knowing

Current releases need DOM Testing Library installed beside it, because it is a peer dependency. The docs include a [guide for developers moving from Enzyme](https://testing-library.com/docs/react-testing-library/migrate-from-enzyme).

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
