Chapter 23 Code Coverage | Angular | Jasmine | Karma Unit | Testing

Опубликовано: 10 Апрель 2026
на канале: Rudra Tech 2014
7,943
61

Code Coverage is a way of determining the part of the code which is left out of testing or not tested properly.
Karma uses Istanbul reporter tool to create code coverage reports.
With Karma we can produce the code coverage reports using CLI command:
ng test --code-coverage
Once the CLI command is executed it creates index.html in /coverage folder.