Test coverage: A complete example using JEST

Published: 23 January 2024
on channel: Rafael Queiroz
1,581
6

Maintain a product with a high standards of test coverage is a desired stage for every Product Manager. It is so, because no Product Owner wants to receive complaints that the product of his responsibility is presenting critical issues on new releases.
A way to minimize that is improving the coverage of automated tests. Tests that can cover the whole source code, with the proper variety of test scenarios are small chances for presenting problem when released in productive environment.
To assist in achieving this goal we are going to explore the –coverage flag from JEST framework for node.js applications.

0:00 Why code coverage is important and desired
1:22 Understanding the jest –coverage output results (console and HTML)
2:54 Creating the new node project and configuring JEST
6:37 Executing the first test and understanding the project structure
12:14 Executing the –coverage test


On this page of the site you can watch the video online Test coverage: A complete example using JEST with a duration of hours minute second in good quality, which was uploaded by the user Rafael Queiroz 23 January 2024, share the link with friends and acquaintances, this video has already been watched 1,581 times on youtube and it was liked by 6 viewers. Enjoy your viewing!