开发者社区> 镜像站> NPM> testarmada-magellan-xunit-reporter
testarmada-magellan-xunit-reporter
Magellan xUnit reporter plugin
Last updated 2 years ago by thunderzhulei .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install testarmada-magellan-xunit-reporter 
SYNC missed versions from official npm registry.

Magellan xUnit Reporter Plugin

Codecov

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

Current Tags

  • 0.0.6                                ...           latest (2 years ago)

6 Versions

  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (9)
Dependents (0)
None