nodeunit-tape
Just enough tape to run nodeunit tests in the browser
Install
nodeunit-tape declares peer dependencies on tape and nodeunit.
npm install --save-dev nodeunit-tape
Create a file that will load and run your tests. If you want this to work with browserify, make sure all of your require statements use exact literal strings.
// run-tests.jsvar nodeunit = ; var tests = 'module1': 'module2': ; nodeunit;
Running
In node
node run-tests.js
In testling locally
browserify -i 'node_modules/nodeunit/lib/reporters/index.js' run-tests.js | testling
See the testling docs for how to run these in "the cloud" against actual browsers.