jrburke 68f79ed4c1 Setting up unit tests with doh. 12 سال پیش
..
LICENSE 68f79ed4c1 Setting up unit tests with doh. 12 سال پیش
README 68f79ed4c1 Setting up unit tests with doh. 12 سال پیش
_browserRunner.js 68f79ed4c1 Setting up unit tests with doh. 12 سال پیش
_nodeRunner.js 68f79ed4c1 Setting up unit tests with doh. 12 سال پیش
_rhinoRunner.js 68f79ed4c1 Setting up unit tests with doh. 12 سال پیش
runner.html 68f79ed4c1 Setting up unit tests with doh. 12 سال پیش
runner.js 68f79ed4c1 Setting up unit tests with doh. 12 سال پیش
runner.sh 68f79ed4c1 Setting up unit tests with doh. 12 سال پیش
small_logo.png 68f79ed4c1 Setting up unit tests with doh. 12 سال پیش

README

DOH may be run standalone by issuing a command like the following:

java -jar ../shrinksafe/js.jar runner.js testModule=tests.colors

where the testModule argument is optional and shrinksafe/js.jar is just a
convenient copy of the Rhino JavaScript engine -- the custom patch is not
required.

Optional arguments include:
* dojoUrl - specifies the location of dojo.js
* testUrl - specifies a Javascript file to load with initialization code
* testModule - specifies a test module in the dojo package namespace