A guide on how to do visual regression testing in a React app - a step-by-step tutorial. This includes an introduction to visual regression testing, spinning up an example app and a step-by-step guide on creating some visual regression tests.
A guide and tutorial on how to test React components in isolation using Storybook. This includes guide uses a 'React counter' for code examples, and discusses various advantages of using Storybook.
A complete guide to implementing React Error Boundaries, and how to use a third-party tool for handling more sophisticated scenarios.
A guide on how to use React Testing Library's to wait for and test asynchronously loaded elements. Contains code examples and a step-by-step walkthrough.
Follow this step-by-step guide on Jest's SpyOn method, with a practical example using React and Fetch. This post also includes a comparison to mocks.
How to effectively log info and error messages within a React application, and the best practices for doing this.
A beginner’s guide to debugging React testing library tests, with a code walkthrough of how to use react-testing-library to debug tests.