Testing React Like a User, Part 2: What to Test, and How Much
The Testing Trophy, use case coverage, and mocking at the network boundary—plus the honest answer to a team coverage gate, which is not to delete it.
The Testing Trophy, use case coverage, and mocking at the network boundary—plus the honest answer to a team coverage gate, which is not to delete it.
A test suite at 99% coverage, all green, and the main feature of the app is broken. Nobody wrote a bad test. That is the interesting part.