Angular 2angular-cli test coverage

Download Angular 2 for free

Introduction

test coverage is defined as a technique which determines whether our test cases are actually covering the application code and how much code is exercised when we run those test cases.

Angular CLI has built in code coverage feature with just a simple command ng test --cc

Related Examples

A simple angular-cli command base test coverage