You might have a suite of end-to-end tests that cover your application well and you might be thinking do we need to duplicate our…
Categories
Testing
With Frontend libraries like React, we often don't use classes. But the same public/private differentiation can be made through…
When writing integration tests (tests that do minimal mocking) I often find myself duplicating test cases. In scenarios like this…
This is part three in a series on Testing Hooks The final category of hook usage is one of utility. These are hooks from libraries…
This is part two in a series on Testing Hooks In the last section where we shuffled around some code to make it more readable, we…
This is part one in a series on Testing Hooks The first category of hook usage is code organization to make our code easier to…
The primary category of React hook usage is code reuse between components. When trying to determine a testing strategy for a…
For a quick overview on Compound Compounds check out this article. Compound components are made up of many component parts. The…
React Context is a tool for designing flexible Component APIs. How we test it depends on the situation, we are going to explore…
This article will be enough to get you started with unit testing gatsby-node.js, we are not going to deep dive into every possible…
This article is walk-through of testing a React Bar Graph with Jest and React Testing Library. The style of tests documented here…
Kent C Dodds mentions in his article about snapshot testing when referring to a particular snapshot. "What makes this snapshot…
React-redux hooks like and the can have the same outcomes. The main difference between them is their ability to nudge (guide…