Skip to content

hit9/ntt

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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