karma-runner / karma-runner/karma-coverage

Coverage on v0.12

Open
#69 7 comments 0 reactions 0 assignees View on GitHub
needs: investigation type: bug
Dominant language
JavaScript
Stars
771
Forks
242
PR merge metrics
No merged PRs in 30d

Description

I can't see my xml coverage anymore with Karma 0.12. Was working with old Kama versions.

This is my configuration:

``` javascript
module.exports = {
port: 9876,
captureTimeout: 60000,
frameworks: ['jasmine'],
basePath: 'app/build',
singleRun: true,
browsers: [
'Chrome',
'Firefox'
],
plugins: [
'karma-jasmine',
'karma-coverage',
'karma-story-reporter',
'karma-phantomjs-launcher',
'karma-firefox-launcher',
'karma-chrome-launcher'
],
files: [
'all my files'
],
exclude: [
'**/*.scenario.js'
],
reporters: ['coverage', 'dots'],
preprocessors: {
'!(bower_components)/**/!(*.spec).js': 'coverage'
},
coverageReporter: {
type : 'cobertura',
dir : '../coverage',
file: 'coverage.xml'
}
};
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.