Test coverage: A complete example using JEST

Veröffentlicht am: 23 Januar 2024
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Test coverage: A complete example using JEST mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Rafael Queiroz 23 Januar 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,581 Mal angesehen und es wurde von 6 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!