![npm install tst](https://nodei.co/npm/tst.png?mini=true)
var test = require('tst')
var assert = require('assert');
test('Test trivial things', function() {
var success = true;
assert.equal(success, true);
});
test.skip('Do not test unwanted things', function () {
var $ = require('jquery');
});
test('Group tests', function () {
test('Nested', function () {
});
test('Nested', function () {
});
});
test.only('Test of interest', function () {
});
Run in node: $ node ./test.js
or in browser $ beefy ./test.js
.
Related
ava — futuristic test runner by @sindresohrus.
mocha — vintage test runner by @tj.
tape — Test Anything Protocol by @substack.
tap — Test Anything Protocol by @isaacs