Closed nevir closed 10 years ago
@nevir I have committed an initial simple implementation of a coveralls integration. The data does not map 100% so I mapped statements to branches and did not include information about functions.
Please clone this repo and let me know what you think of the implementation.
@nevir - I am closing this issue as resolved with the fix I made a couple of weeks ago. You can reopen it if you have any additional requirements that are not met by the change I made.
I'd like to be able to wire this up with https://www.npmjs.org/package/gulp-coveralls (or something else that reports to coveralls), but that consumes the raw LCOV data; not the JSON-formatted output
Ideally: gulp.task('test:unit', function() { return gulp.src('test/*/.js') .pipe(coverage.instrument({pattern: ['lib/*/.js']})) .pipe(mocha()) .pipe(coverage.gather()) .pipe(coverage.format({reporter: 'lcov'})) .pipe(coveralls()); });