Code Coverage

Code Coverage

Code coverage is used to determine the amount of source code that is covered by tests or it can be described as a form of testing used to pin point areas of the code that have not been tested.

It is a common practice to incorporate code coverage as a part of continuous delivery as developers aim to automate the entire process of shipping new features into production. Code coverage and testing goes hand in hand as crucial portions of source code written by developers are often overlooked which results in untested code being deployed to production. That’s where code coverage comes in!

In this article we will compare two JavaScript code coverage tools: Istanbul and JSCover

View the Istanbul example I created here

Statements Linear  Block
Lines Linear Block
Per Test
Report Types
JSON No Support
Text No Support
TeamCity No Support

Romario Raffington