Karma coverage using Instabul

<p>Karma is an awesome testing environment, it is open source, it supports a plethora of testing frameworks and it is easy to use.</p> <p>In this post I am going to create some simple tests, run them on Karma using Jasmine and finally, show some code coverage reports, through Karma coverage and Instabul.</p> <h1>Source Code</h1> <p>Code outlined in this article can be found&nbsp;<a href="https://github.com/gdyrrahitis/bpost-karma-codecoverage" rel="noopener ugc nofollow" target="_blank">here</a>.</p> <h1>Setup</h1> <p>In this sample, I created a new project, running&nbsp;<code>npm init -y</code>, installing the following dependencies:</p> <p><a href="https://medium.com/@giorgos.dyrrahitis/karma-coverage-using-instabul-935d7e5beaff"><strong>Learn More</strong></a></p>
Tags: Karma Coverage