nodeunit

Small nodeunit wrapper for haxe


Keywords
node.js, nodejs, nodeunit, testing, unittest
License
MIT
Install
haxelib install nodeunit 0.0.2

Documentation

haxe-nodeunit

This is a haxe wrapper for generating nodeunit compatible unit tests.

Installation

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