# simpleU 0.0.5
simpleU is a simple unit testing tool for Node.JS that has some special features:
- Simple structure with minimum configuration
- No dependencies
- Oriented for Test-Driven Development
- Uses Node.JS assert core module
Works in Node.JS 0.10+
Any feedback is welcome!
More simple modules:
Changelog
Documentation
Instalation
npm install simpleu
or install globally
npm install -g simpleu
Running a test suite
var simpleu = ; ;
Structure of a test suite
{
'test name 1': function (test) {
test.ok(/* true value */);
test.done();
},
'test name 2': function (test) {
test.ok(/* another true value*/);
test.done();
},
'test name 3': function (test) {
test.equal(/* actual value, expected value, message */);
test.done();
}
}
Running from command line
simpleu /path/to/tests
Structure of a test from command line
var tests = { testparams test; test; } { ; test; } { test; test; } { test; test; }; moduleexports = tests: tests;