Additional helpers and assertions for nodeunit, particularly optimized for Q
Simple utilities for nodeunit (like test builders and assertions), particularly around Q promises.
In normal nodeunit, you add a test like this:
In nodeunitq, you write a test like this:
var Q = require'Q'var nodeunitq = require'nodeunitq'var builder = exportsbuilderaddreturn Qfcall return 1
And nodeunitq will take care of the failure handling for you.
Nodeunitq is also compatible with the kew library.