1.1.1 • Published 6 years ago

@tradera/mocha-asimov-reporter v1.1.1

Weekly downloads
51
License
ISC
Repository
github
Last release
6 years ago

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

npm.io

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

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago