atwayne / karma-jasmine-lcov

this pet project will generate code coverage data in lcov format for sonarqube, with karma, jasmine, and gulp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A sample project with

  1. a dummy javascript function
  2. a few Jasmine test cases for this dummy function
  3. minimum Karma configuration with coverage reporter
  4. gulp file which will trigger Karma run

Try

npm install
npm test

and it will generate a coverage file under coverage folder, naming lcov.info.

Send it to SonarQube and you will see your coverage.

About

this pet project will generate code coverage data in lcov format for sonarqube, with karma, jasmine, and gulp

License:MIT License


Languages

Language:JavaScript 100.0%