react-hooks-testing-library VS testing-react

Compare react-hooks-testing-library vs testing-react and see what are their differences.

react-hooks-testing-library

šŸ Simple and complete React hooks testing utilities that encourage good testing practices. (by testing-library)

testing-react

Testing utilities that allow you to reuse your Storybook stories in your React unit tests! (by storybookjs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
react-hooks-testing-library testing-react
18 3
5,201 588
0.5% -
1.5 0.0
3 months ago 12 months ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

react-hooks-testing-library

Posts with mentions or reviews of react-hooks-testing-library. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-18.

testing-react

Posts with mentions or reviews of testing-react. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-10.
  • What is Storybook Play function?
    2 projects | dev.to | 10 Mar 2024
    For more details on implementation, please refer to the following link (the above code is also quoted from this link): https://github.com/storybookjs/testing-react
  • Integrating Storybook with Cypress and HMR
    3 projects | dev.to | 4 Feb 2022
    When I started to play with this idea the first option which came to my mind was to launch Storybook and then tell Cypress to navigate to the componentā€™s iFrame source url and start interacting with it. It can work but it has some challenges, like making sure the Storybook is up first, and how it is accessed on on-demand spawned environments in the build pipeline, but then another method presented itself to me - using a library that Storybook team has developed called @storybook/testing-react
  • What is Storybook used for?
    1 project | /r/reactjs | 22 Dec 2021
    Adding on to what others have said: you can use https://github.com/storybookjs/testing-react to reuse your storybook entries as test setup & really simplify your tests while making your storybook entries even more valuable.

What are some alternatives?

When comparing react-hooks-testing-library and testing-react you can also consider the following projects:

zustand - šŸ» Bear necessities for state management in React

pedalboard - A collection of packages to make you software sound better

redux-devtools-extension - Redux DevTools extension.

common-testing-library-mistakes - Showcase for common mistakes when using testing-library

jest - Delightful JavaScript Testing.

testing-library-recorder-extension - Testing Library Extension for Chrome DevTools Recorder

Immer - Create the next immutable state by mutating the current one

eslint-config-galex - hopefully the last eslint config you'll ever need - customizable & modern best practices for JS, TS, Node, React, Remix, Next, Jest, testing-library & storybook

malabi - Tracing Based JavaScript Assertions

kirby-boilerplate - This is an opiniated boilerplate with rocking tools for front-end development

ionic-react-supabase-simple-storage - Supabase Storage Image Upload Tutorial Using Ionic React & Capacitor Camera

storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.