tst

A function to run tests

npm install tst
3 downloads in the last week
10 downloads in the last month

tst

A CommonJS module exporting a function for running tests.

e.g.

// ./test/index.js
var tst = require('tst'),
    assert = require('assert');

tst('A very simple test', function() {
    var success = true;
    assert.ok(success);
});

Run with:

node test
npm loves you