testicles
v1.0.0
Published
Super cool, simplistic test runner for node
Downloads
1
Readme
Testicles.js
A no-nonsense, (Whatever-Driven-Development) test runner for node.
Install
npm install [-D] testicles
Test
// some-test-file.js
require('testicles')({
'some context': {
'scenario #1: description': {
'edge-case #1': () => {
// define your test here...
},
'edge-case #2': () => {
// define your test here...
}
},
'scenario #2: description': () => {
// define your test here...
},
...
},
...
});
Run
$ node ./some-test-file.js
Output
running tests...
√ some context scenario #1: description edge-case #1
√ some context scenario #1: description edge-case #2
× some context scenario #2: description
--> expected true to be false
2 passed, 1 failed