Skip to content

tinder-ktarasov/custom-xunit-reporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magellan xUnit Reporter Plugin

This project is a plugin for Magellan which allows you to report test information in a XML file in xUnit format.

Installation

Install the npm module in your node project:

npm install --save testarmada-magellan-xunit-reporter

Add the plugin to magellan.json in the reporters list (note: if this file doesn't exist, create it)

{
  "reporters": [
    "testarmada-magellan-xunit-reporter"
  ]
}

Configuration

This plugin is configured with environment variables.

  • XUNIT_REPORT_PATH - path name where to put the xUnit report file, e.g. ./mocha_report.xml

Limitation

Currently to see the error stack trace in JSON report:

  • add --reporter json into your mocha.opts file
  • use Magellan version >=8.6.0
  • Magellan option --max_test_attempts cannot be set to 1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%