Back to Browse

Test coverage: A complete example using JEST

2.2K views
Jan 23, 2024
15:09

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

Download

0 formats

No download links available.

Test coverage: A complete example using JEST | NatokHD