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
En esta página del sitio puede ver el video en línea Test coverage: A complete example using JEST de Duración hora minuto segunda en buena calidad , que subió el usuario Rafael Queiroz 23 enero 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,581 veces y le gustó 6 a los espectadores. Disfruta viendo!