StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Languages
  4. Npm Packages
  5. @testing-library/react vs react-testing-library

@testing-library/react vs react-testing-library

OverviewComparisonAlternatives

Overview

@testing-library/react
@testing-library/react
Stacks3.7K
Followers7
Votes0
GitHub Stars18.3K
Forks1.1K
react-testing-library
react-testing-library
Stacks43
Followers2
Votes0
GitHub Stars18.3K
Forks1.1K

@testing-library/react vs react-testing-library: What are the differences?

What is @testing-library/react? Simple and complete React DOM testing utilities that encourage good testing practices. Simple and complete React DOM testing utilities that encourage good testing practices.

What is react-testing-library? Simple and complete React DOM testing utilities that encourage good testing practices. Simple and complete React DOM testing utilities that encourage good testing practices.

@testing-library/react and react-testing-library can be categorized as "npm Packages" tools.

@testing-library/react and react-testing-library are both open source tools. It seems that react-testing-library with 15.3K GitHub stars and 872 forks on GitHub has more adoption than @testing-library/react with 15.3K GitHub stars and 872 GitHub forks.

Amazon, HD Junction, and Readable are some of the popular companies that use @testing-library/react, whereas react-testing-library is used by ****, ****, and ****. @testing-library/react has a broader approval, being mentioned in 197 company stacks & 131 developers stacks; compared to react-testing-library, which is listed in 3 company stacks and 5 developer stacks.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Detailed Comparison

@testing-library/react
@testing-library/react
react-testing-library
react-testing-library

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

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

Statistics
GitHub Stars
18.3K
GitHub Stars
18.3K
GitHub Forks
1.1K
GitHub Forks
1.1K
Stacks
3.7K
Stacks
43
Followers
7
Followers
2
Votes
0
Votes
0

What are some alternatives to @testing-library/react, react-testing-library?

typescript

typescript

TypeScript is a language for application scale JavaScript development.

eslint

eslint

An AST-based pattern checker for JavaScript.

react

react

React is a JavaScript library for building user interfaces.

@types/node

@types/node

TypeScript definitions for Node.js.

prettier

prettier

Prettier is an opinionated code formatter.

react-dom

react-dom

React package for working with the DOM.

jest

jest

Delightful JavaScript Testing.

express

express

Fast, unopinionated, minimalist web framework.

mocha

mocha

Simple, flexible, fun test framework.

webpack

webpack

Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase