node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

chook

chook

Headless, framework-agnostic unit test runner for Node.js Build Status

Getting Started

Install Chook with: npm install chook

Install the JsTestDriver adapter (currently the only adapter available) with: npm install chook-jstestdriver

var chook = require('chook'),
    chook_jstestdriver = require('chook-jstestdriver');
 
chook.configure(function(){
    chook.use( chook_jstestdriver({configPath: '/path/to/JsTestDriver.conf'}) );
});
 
chook.run().on('complete', function(results) {
    console.log(results);
});

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

License

Copyright (c) 2013 Mark Dalgleish
Licensed under the MIT license.