Skip to content
This repository was archived by the owner on Feb 24, 2022. It is now read-only.

Running the tests

kdvolder edited this page Nov 5, 2012 · 8 revisions

Currently (0.2.0 release), testing is a bit of a mess. We have various tests on the client and the server. The client tests are qunit based and server tests are node-based.

Please run the tests before submitting any pull request.

Client tests

Server tests

Server-side tests focus on testing the server-side node modules and apis. Currently only the code in the 'jsdepend' subdirectory has tests. To run the tests:

cd server/jsdepend
npm test

The tests use nodeunit as the test driver so you must have nodeunit installed. It can be installed as follows:

npm -g install nodeunit
Clone this wiki locally