karma-jasmine-html-runner-reporter
v0.1.1
Published
A Karma plugin. Report results in Jasmine Test Runner format.
Downloads
2
Maintainers
Readme
karma-jasmine-runner-reporter
Reporter to create Jasmine Runner HTML on the fly.
Installation
The easiest way is to keep karma-jasmine-runner-reporter
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-jasmine-runner-reporter": "~0.1"
}
}
You can simple do it by:
npm install karma-jasmine-runner-reporter --save-dev
Configuration
Following code shows the default configuration...
// karma.conf.js
module.exports = function(config) {
config.set({
reporters: ['progress', 'jasmine-runner'],
// the default configuration
jasmineRunnerReporter: {
outputFile: 'jasmine-runner.html',
includes: [
"node_modules/jasmine-expect/dist/jasmine-matchers.js"
]
}
});
};
For more information on Karma see the homepage.