This is a haxe wrapper for generating nodeunit compatible unit tests.
I have uploaded haxe-nodeunit on haxelib. To install, type the following command in shell:
haxelib install nodeunit
I would also recommend using the continuation haxelib.
haxelib install continuation
The easiest way to get running is to install nodeunit globally
npm install -g nodeunit
And install source-map-support wherever you'll run your tests from
cd example && npm install source-map-support
Then you can run test like this
cd example && haxe build.hxml && nodeunit test.js