tiny-test
v0.11.6
Published
A testing library.
Downloads
139
Readme
TinyTest
A small testing library
Installation
npm -i -S tiny-test
Clean messaging
Diffs
Usage
tinyTest(function (test) {
// Equality
test("My test name", function () {
return true;
})
.isEqual(function () {
return true;
});
// Deep Equality
test("My deep test name", function () {
return [{ isTrue : true }];
})
.isDeepEqual(function () {
return [{ isTrue : true }];
});
// Not Equal
test("My not equal test", function () {
return true;
})
.isNotEqual(function () {
return false;
});
});