Skip to content

hit9/ntt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Node Tiny Tests module.

Resources

Stars

Watchers

Forks

Packages

No packages published