A JavaScript code coverage tool for Grunt
Questions tagged [grunt-istanbul]
5 questions
3
votes
1 answer
Grunt, Istanbul, Isparta and TypeScript
TL;DR
Has anyone used Grunt and Jasmine to successfully generate coverage reports?
Long Story:
I have a few tests, written in Jasmine, for which I wanted to generate some coverage information. For being generic, I have actually used grunt-istanbul,…

Xabre
- 1,292
- 1
- 11
- 17
2
votes
2 answers
Merge istanbul test coverage from karma-coverage with coverage from other sources
I have several tests generating coverage reports with istanbul. One of them is generated by karma-coverage plugin. I am merging these reports with istanbul report but files from karma-coverage report are not included in the merged report.
There was…

esp
- 7,314
- 6
- 49
- 79
1
vote
0 answers
Grunt "aborted due to warnings" when too much output is generated
I work on a NodeJS project and I use grunt as task manager. In particular, I use grunt to run unit test and generate coverage reports.
The program under test has a configurable feature that allows to generate more or less output in the log (the…

fgalan
- 11,732
- 9
- 46
- 89
1
vote
0 answers
Unable to run Code-coverage for Grunt-jsmine-istanbul with requirejs
I have been running jasmine unit-test and used Istanbul for code-coverage for long time but now I have come across a project which uses requirejs and I am unable to run Istanbul-Code-Coverage test for it.
The code successful gives runs jasmine test…

Chetan Kumar
- 397
- 3
- 13
1
vote
1 answer
Karma-istanbul code coverage fails to load files
I am trying to generate coverage metrics for a git project:
Here is the sample repo:
https://github.com/imvetri/JS-coverage
my.conf.js
files: [ 'base/*.js', 'src/*.js', 'test/spec/*.js' ]
Executing the test:
npm…

uICoDEr
- 11
- 2