Test Driven Development in React

This page summarizes the projects mentioned and recommended in the original post on /r/react

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
  • msw

    Seamless REST/GraphQL API mocking library for browser and Node.js.

  • If you want even more integration testing MSW is great. It launches a service worker to intercept the requests made by your app, so you can specify a test response. This ways you don't have to mock calls to fetch/axios/your-fetching-library-of-choice and it's closer to end-to-end testing. It comes with trade offs though (additional dependency, learning curve maintenance).

  • jest

    Delightful JavaScript Testing.

  • As for the test runner the main player is Jest, but they are others.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts