0.4.0 • Published 7 years ago

asimov-test v0.4.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

asimov-test

NPM version Code Climate Dependency Status

Unit and integration testing toolkit for asimov.js

How to use

Install from NPM

$ npm install --saveDev asimov-test

Create a test file

var test = require('asimov-test');

test('myAwesomeTest', function (test) {

  test.spec(function () {

    test.it('should be true', function () {
      expect(true).to.be.true;
    });
  });
});

Add test command to your package.json

...
"scripts": {
  "test": "node node_modules/asimov-test/bin/test"
}
...

Run the tests

$ npm test

Or just use the executable directly...

$ node node_modules/asimov-test/bin/test

Reporters

By default, the mocha dot reporter is used, but you can pass a flag to use any of the reporters that ships with mocha, or that you have installed with npm.

$ node node_modules/asimov-test/bin/test --spec

Made by Adam Renklint, Berlin 2014. MIT licensed.

0.5.0-beta1

7 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago