karma-junitp-reporter
Advanced tools
Weekly downloads
Readme
Reporter for the JUnit XML format.
This version has been modified to make the junit format compatible with the junit output created by protractor. Specifically:
The easiest way is to keep karma-junit-reporter
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-junit-reporter": "~0.2"
}
}
You can simple do it by:
npm install karma-junit-reporter --save-dev
// karma.conf.js
module.exports = function(config) {
config.set({
reporters: ['progress', 'junit'],
// the default configuration
junitReporter: {
outputFile: 'test-results.xml',
suite: ''
}
});
};
You can pass list of reporters as a CLI argument too:
karma start --reporters junit,dots
For more information on Karma see the homepage.
FAQs
A Karma plugin. Report results in junit xml format that are compatible with protractor.
The npm package karma-junitp-reporter receives a total of 583 weekly downloads. As such, karma-junitp-reporter popularity was classified as not popular.
We found that karma-junitp-reporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.