@tradera/mocha-asimov-reporter

1.1.1 • Public • Published

npm npm npm

1. Mocha-asimov-reporter

Mocha custom reporter to be used with asimov deploy -

Asimov Deploy is a simple distributed deployment tool that enables you to deploy applications to multiple machines through a central web interface.

The Mocha-Asimov-reporter allows you to write mocha tests and generate report output in a format that asimov-deploy can read.

1.1. Setup

  1. npm install @tradera/mocha-asimov-reporter
  2. Add to mocha via the command line --reporter @tradera/mocha-asimov-reporter

1.2. Output

  • Reporter only supports pass/fail for asimov;
  • Tests that are skipped will be ignored

1.3. Examples

Example mocha test:

describe("test mocha-asimov-reporter output", function() {
  it("should pass", function() {
    assert.ok(true);
  });
});

Expected output:

##asimov-deploy[test='test mocha-asimov-reporter output should pass' pass='true']

Testing

yarn test

Package Sidebar

Install

npm i @tradera/mocha-asimov-reporter

Weekly Downloads

1

Version

1.1.1

License

ISC

Unpacked Size

77.6 kB

Total Files

7

Last publish

Collaborators

  • mrtns
  • claessahlstrom
  • simonauner
  • gbecknoren
  • rmacfie
  • daniel.edholm.ignat.tradera
  • ateglund-tradera