Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

karma-junitp-reporter

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Issues
File Explorer

Advanced tools

karma-junitp-reporter

A Karma plugin. Report results in junit xml format that are compatible with protractor.

    0.2.3latest
    GitHub

Version published
Maintainers
1
Weekly downloads
738
decreased by-1.47%

Weekly downloads

Readme

Source

karma-junit-reporter

Reporter for the JUnit XML format.

Modified

This version has been modified to make the junit format compatible with the junit output created by protractor. Specifically:

  • this removes the browser prefix
  • separates classes with . instead of a space

Installation

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

Configuration

// 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.

Keywords

FAQs

Last updated on 12 Jun 2015

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.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc