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 on how to mock a JavaScript class using Jest, comparing dependency injection and mocking, along with guides on how to implement both.
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.
A beginner’s guide to debugging React testing library tests, with a code walkthrough of how to use react-testing-library to debug tests.
A guide covering the benefits of visual regression testing, automated vs. manual testing, as well as a description of Meticulous, a tool for visual regression testing without a maintenance burden.
A guide on choosing the right visual regression testing tool.