Use Testing Coverage in Jest to Analyze Your Testing Suites

preview_player
Показать описание
You've probably heard the term "testing coverage" before but have no idea how to actually calculate it. In this video, I show you how to get testing coverage in Jest and leverage your numbers to improve your tests!
Рекомендации по теме
Комментарии
Автор

a bigger text size of the code screen would be better good video anyways

shivankkunwar
Автор

I disagree completely around aiming for 100% coverage, you mentioned the "goal of your test and other developers is to understand the code", no.... it's to ensure the application functions as expected, aiming for close to 100% coverage (i aim for 95%) ensures that a small change in one part of the application most likely won't break another part of the application because you've not written enough tests...

JlNGLEZ