Description
Test grouping and formatting to make working with vanilla node assert marginally easier
Latest Version
4.0.2
Installation
npm install asserts --save
or in package.json
Usage
NOTE: Examples below work but are out of date in demonstrating current functionality (particularly async support, .dir, and .all.*) check test/test.js for better examples.
examples/happy.js looks like this:
var Assert = ;var Asserts = ; ;
and when run looks like this:
examples/sad.js looks like this:
var Assert = ;var Asserts = ; ;
and when run looks like this:
Check test/test.js for example of Asserts.dir and Asserts.['equal', 'notEqual', 'deepEqual', 'notDeepEqual', 'strictEqual', 'notStrictEqual']
TODO
add better documentation for 4.0.0 stuff - async support, .all., .dir