-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
31 lines (25 loc) · 884 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cd ..BROWSER USE
===========
Running the tests
-----------------
If this folder contains a file named runtests.html open it with the browser you want to test.
Otherwise, go to to folder SimpleTestHarness
at the cmd prompt run build.bat
Your tests should run in the browser.
Thats it.
Inspecting the results
----------------------
The test results are reported in the browser (Look for the testName that you gave for your test).
Thats it.
UNIX SHELL USE
================
Running the tests
-----------------
From a bash shell in this directory:
$ SimpleTestHarness/build_shell.sh # to build the runtests.js file
then
$ js runtest.js # to run the tests, where js is javascript shell you're testing
or
$ js runtests.js | grep Total # to see a summary of the test results
or
$ js runtests.js | grep -v PASS # to see only those tests which did not pass