karma-json-all-reporter
v0.1.1
Published
A Karma plugin. Report results in json format.
Downloads
1
Maintainers
Readme
karma-json-all-reporter
Reporter for the JSON format.
Installation
The easiest way is to keep karma-json-all-reporter
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-json-all-reporter": "~0.1"
}
}
You can simple do it by:
npm install karma-json-all-reporter --save-dev
Configuration
// karma.conf.js
module.exports = function(config) {
config.set({
reporters: ['progress', 'json-all'],
// the default configuration
jsonAllReporter: {
outputDir: '', // results will be saved as json-all-results.json
},
plugins: [
'karma-json-all-reporter'
]
});
};
You can pass list of reporters as a CLI argument too:
karma start --reporters json-all,dots
For more information on Karma see the homepage.
Version
v0.1.0
1、 fix readme and package bug.
v0.1.0
1、基础功能实现,输出了 error 和 log 。