35 |
<p> |
<p> |
36 |
You can then run the <code>test.html</code> file in JsUnit's <code>jsunit/testRunner.html</code>. |
You can then run the <code>test.html</code> file in JsUnit's <code>jsunit/testRunner.html</code>. |
37 |
The simplest way to do this is probably to copy the contents of <code>doc/instrumented-jsunit</code> |
The simplest way to do this is probably to copy the contents of <code>doc/instrumented-jsunit</code> |
38 |
to the root of a web server and then access |
to the root of a web server and then access the URL |
|
<a href="http://127.0.0.1/jsunit/testRunner.html?testPage=http://127.0.0.1/test.html&autorun=true">this URL</a>. |
|
39 |
</p> |
</p> |
40 |
|
|
41 |
|
<pre> |
42 |
|
http://127.0.0.1/jsunit/testRunner.html?testPage=http://127.0.0.1/test.html&autorun=true |
43 |
|
</pre> |
44 |
|
|
45 |
<h3>I'm trying to load my code with the URL |
<h3>I'm trying to load my code with the URL |
46 |
<code>file:///C:/foo/bar/jscoverage.html?foo/bar.html</code> |
<code>file:///C:/foo/bar/jscoverage.html?foo/bar.html</code> |
47 |
and I'm getting all kinds of JavaScript errors.</h3> |
and I'm getting all kinds of JavaScript errors.</h3> |