Skip to content
All packages

React Testing Library

Testing · JavaScript

  • Metadata verified
  • Licence confirmed

Renders components and queries them the way a user would, by role and label, instead of reaching into internal component state.

Details

Use case
Testing
Language
JavaScript
Licence
MITPermissive: Use it in anything, including closed software, if you keep the notice.
Activity
StableMature, released as needed
Package
npm: @testing-library/react
Tags
testing · react · components · dom · queries

npm

npm install @testing-library/react

What we checked

  • Metadata verified

    Name, package, repository and documentation checked against each other. Last run .

  • Licence confirmed

    The declared SPDX identifier was read from the repository’s own LICENSE file. Last run .

  • Reviewed

    Not checked yet. That is not a failure; it only means nobody has done this one.

These checks describe a project’s licence, metadata and release activity. They are not a security audit, and open source does not mean safe. Review any dependency before you ship it.

Also for Testing