1.0.1 • Published 10 years ago

tpill v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

tpill

Synchronous tests for assertions.

install

npm install tpill

usage

// import
var TPill = require('tpill').TPill;
var tpill = new TPill();
// var tpill = new TPill(3000); wait 3 seconds

// add test
tpill.create(1, 1, 'My Test is True', true);
tpill.create(1, '1', 'My Second Test is True ', false);

// run all test
tpill.run(function(){
  process.exit()
});

api

tpill.create(current, expected, testName, strict);
tpill.run(callback);
1.0.1

10 years ago

1.0.0

10 years ago

0.0.1

11 years ago