All Projects → hit9 → ntt

hit9 / ntt

Licence: other
Node Tiny Tests module.

Programming Languages

javascript
184084 projects - #8 most used programming language

ntt

Node Tiny Tests module.

Install

npm install ntt

Example

var unit = require('ntt');

unit('unit', function(test) {
  test('case1', function(done) {
    // your tests
    done();
  });
  test('case2', function(done) {
    // async tests
    setTimeout(function() {
      done();
    }, 1000)
  });
});

ntt is not a testing tool, just run node test.js.

License

MIT. Copyright (c) Chao Wang [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].