1 Running JavaScript tests
2 ========================
4 These tests have been created using the
5 http://dojotoolkit.org/reference-guide/util/doh.html[Dojo Objective Harness
6 (DOH)] testing framework.
8 To run these tests from the command line:
10 1. Download and extract a Dojo Toolkit source tarball:
12 --------------------------------------------------------------------------------
13 wget http://download.dojotoolkit.org/release-1.6.0/dojo-release-1.6.0-src.tar.gz
14 tar xzf dojo-release-1.6.0-src.tar.gz
15 ------------------------------------------------------------------------------
17 2. Copy the OpenSRF JavaScript directory into the Dojo source tree and move
18 the 'DojoSRF.js' file into place:
20 ------------------------------------------------------------------------------
21 cp -r src/javascript dojo-release-1.6.0-src/opensrf
22 mv dojo-release-1.6.0-src/opensrf/DojoSRF.js dojo-release-1.6.0-src/.
23 ------------------------------------------------------------------------------
25 3. Run the tests from the Dojo 'util/doh' directory, specifying the OpenSRF
28 ------------------------------------------------------------------------------
29 cd dojo-release-1.6.0-src/util/doh
30 sh runner.sh testModule=opensrf.tests.module
31 ------------------------------------------------------------------------------