testarmada-magellan-json-reporter

0.0.5 • Public • Published

Magellan JSON Reporter Plugin

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

Installation

Install the npm module in your node project:

npm install --save testarmada-magellan-json-reporter

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

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

Configuration

This plugin is configured with environment variables.

  • JSON_REPORT_PATH - path name where to put the JSON report file, e.g. ./mocha_report.json

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

Readme

Keywords

none

Package Sidebar

Install

npm i testarmada-magellan-json-reporter

Weekly Downloads

0

Version

0.0.5

License

MIT

Last publish

Collaborators

  • thunderzhulei
  • chaoyi.chen