1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 |
<html> |
3 |
<head> |
4 |
<title>JSCoverage - demo</title> |
5 |
<link rel="stylesheet" type="text/css" href="reset-fonts-grids.css"> |
6 |
<link rel="stylesheet" type="text/css" href="style.css"> |
7 |
</head> |
8 |
<body> |
9 |
<div id="doc3" class="yui-t5"> |
10 |
<div id="hd"><h1><a href="./">JSCoverage</a><br><span class="tag">code coverage for JavaScript</span></h1></div> |
11 |
<div id="bd"> |
12 |
<div id="yui-main"> |
13 |
<div id="jscoverage-main" class="yui-b"> |
14 |
<h2>Demo</h2> |
15 |
<p> |
16 |
Several examples of JSCoverage in action are available online. For each demo, click the "Summary" tab |
17 |
after the JavaScript code in the "Browser" tab has executed. See the <a href="manual.html">manual</a> |
18 |
for more information. |
19 |
</p> |
20 |
<dl> |
21 |
<dt><a href="instrumented/jscoverage.html?index.html">Simple demo</a></dt> |
22 |
<dd>A trivial demonstration of JSCoverage. Simply choose a number and then click the "Summary" tab.</dd> |
23 |
<dt><a href="http://siliconforks.com/jscoverage/instrumented-mochikit/jscoverage.html?tests/index.html">MochiKit test suite</a></dt> |
24 |
<dd>The test suite for the <a href="http://mochikit.com/">MochiKit</a> library, instrumented using JSCoverage.</dd> |
25 |
<dt><a href="http://siliconforks.com/jscoverage/instrumented-jquery/jscoverage.html?test/index.html">jQuery test suite</a></dt> |
26 |
<dd>The test suite for the <a href="http://jquery.com/">jQuery</a> library, instrumented using JSCoverage.</dd> |
27 |
<dt><a href="http://siliconforks.com/jscoverage/instrumented-scriptaculous/jscoverage.html?test/run_unit_tests.html">script.aculo.us test suite</a></dt> |
28 |
<dd>The test suite for the <a href="http://script.aculo.us/">script.aculo.us</a> library, instrumented using JSCoverage. (For this one you |
29 |
will have to click the links in the left frame to run the tests.)</dd> |
30 |
</dl> |
31 |
<h3>Inverted mode</h3> |
32 |
<p> |
33 |
The following are examples of running JSCoverage in "inverted mode": |
34 |
for each demo, click the "Coverage report" button after the JavaScript |
35 |
code on the page has executed. |
36 |
</p> |
37 |
<dl> |
38 |
<dt><a href="instrumented-inverted/index.html">Simple inverted mode demo</a></dt> |
39 |
<dd>A trivial demonstration JSCoverage in "inverted mode". |
40 |
Choose a number and then click the "Coverage report" button.</dd> |
41 |
<dt><a href="http://siliconforks.com/jscoverage/instrumented-jsunit/jsunit/testRunner.html?testPage=http://siliconforks.com/jscoverage/instrumented-jsunit/test.html&autoRun=true">Simple JsUnit demo</a></dt> |
42 |
<dd>A trivial demonstration of using JSCoverage with JsUnit. Once the |
43 |
JsUnit unit tests have run, click the "Coverage report" button.</dd> |
44 |
<dt><a href="http://siliconforks.com/jscoverage/instrumented-jsunit-self/jsunit/testRunner.html?testPage=http://siliconforks.com/jscoverage/instrumented-jsunit-self/jsunit/tests/jsUnitTestSuite.html&autoRun=true">JsUnit test suite</a></dt> |
45 |
<dd>JsUnit's own test suite, instrumented using JSCoverage. (Note: some versions of Safari seem to have trouble with the tests in the latest version of JsUnit.)</dd> |
46 |
</dl> |
47 |
</div> |
48 |
</div> |
49 |
<div id="jscoverage-sidebar" class="yui-b"> |
50 |
<ul> |
51 |
<li><a href="./">Home</a> |
52 |
<li><a href="news.html">News</a> <a href="http://siliconforks.com/jscoverage/news.xml" type="application/rss+xml" title="RSS feed for JSCoverage"><img src="feed-icon-14x14.png" alt="RSS feed"></a> |
53 |
<li><a href="manual.html">Documentation</a> |
54 |
<li>Demo |
55 |
<li><a href="http://siliconforks.com/jscoverage/download.html">Download</a> |
56 |
<li><a href="faq.html">FAQ</a> |
57 |
<li><a href="help.html">Help</a> |
58 |
<li><a href="license.html">License</a> |
59 |
<li><a href="links.html">Links</a> |
60 |
</ul> |
61 |
</div> |
62 |
</div> |
63 |
<div id="ft"> |
64 |
<address> |
65 |
Copyright © 2007 siliconforks.com<br> |
66 |
Last updated August 26, 2007<br> |
67 |
<a href="mailto:jscoverage@siliconforks.com">jscoverage@siliconforks.com</a> |
68 |
</address> |
69 |
</div> |
70 |
</div> |
71 |
</body> |
72 |
</html> |