testy
Super simple testing script. No added sugar. ≈100 LOC.
Install
Install with npm:
npm install testy
Usage
Example A
Designed to be as simple as possible - no functions, just the test.
var test = ;var assert = testassert;assert;
Example B
Set the expected property for async testing.
var test = ;var assert = testassert;testexpected = 2;;```![example-b-screenshot!](https://github.com/leetreveil/node-testy/raw/master/example-b.png)### Example CRun multiple tests within a file.``` javascriptvar testy = ;var testA = 'testA';var assertA = testAassert;testAexpected = 1;assertA;var testB = 'testB';var assertB = testBassert;testBexpected = 1;assertB;```![example-c-screenshot!](https://github.com/leetreveil/node-testy/raw/master/example-c.png)