ntt

0.0.7 • Public • Published

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 hit9@icloud.com

Readme

Keywords

Package Sidebar

Install

npm i ntt

Weekly Downloads

3

Version

0.0.7

License

MIT

Last publish

Collaborators

  • hit9