New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ruru-protractor-junit-reporter

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruru-protractor-junit-reporter

A post-processor that will output Protractor test results in JUnit xml format.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23
decreased by-84.87%
Maintainers
1
Weekly downloads
 
Created
Source

ruru-protractor-junit-reporter

A post-processor that will output Protractor test results in JUnit XML format.

Will work with multi-capabilities and sharding spec files, because it will take the json output file from Protractor and create a single JUnit XML file.

Build status: Run Status

Test coverage: Coverage Badge

Installation

npm install ruru-protractor-junit-reporter

Usage

Place the following in your Protractor configuration file

var XMLReporter = require('ruru-protractor-junit-reporter');

exports.config = {

	framework : 'jasmine2',
	
	//You MUST efine the resultJsonOutputFile configuration so it can be post processed
	resultJsonOutputFile : 'my-protractor-e2e-results.json',

	...
	
	//Place a afterLauch function similar to:
	afterLaunch : function (exitCode) {
		return new Promise(function (resolve) {

		    var reporter = new XMLReporter({
                title : 'My Protractor End to End Results',
                xmlReportDestPath : 'reportDestinationFolder/protractor-e2e-report.xml'
            });

			reporter.generateXMLReport(exports.config.resultJsonOutputFile);
		});
	}
}

Development

If you want to build and test this project you will be able to by:

npm install
npm test

Keywords

FAQs

Package last updated on 22 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc