1 |
siliconforks |
2 |
<!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 |
siliconforks |
49 |
|
32 |
|
|
<h3>Inverted mode</h3> |
33 |
|
|
|
34 |
|
|
<p> |
35 |
|
|
The following are examples of running JSCoverage in "inverted mode": |
36 |
|
|
for each demo, click the "Coverage report" button after the JavaScript |
37 |
|
|
code on the page has executed. |
38 |
|
|
</p> |
39 |
|
|
|
40 |
|
|
<dt><a href="instrumented-inverted/index.html">Simple inverted mode demo</a></dt> |
41 |
|
|
<dd>A trivial demonstration JSCoverage in "inverted mode". |
42 |
|
|
Choose a number and then click the "Coverage report" button.</dd> |
43 |
|
|
<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> |
44 |
|
|
<dd>A trivial demonstration of using JSCoverage with JsUnit. Once the |
45 |
|
|
JsUnit unit tests have run, click the "Coverage report" button.</dd> |
46 |
|
|
<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> |
47 |
|
|
<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> |
48 |
|
|
</dl> |
49 |
siliconforks |
2 |
</div> |
50 |
|
|
</div> |
51 |
|
|
<div id="jscoverage-sidebar" class="yui-b"> |
52 |
|
|
<ul> |
53 |
|
|
<li><a href="./">Home</a> |
54 |
|
|
<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> |
55 |
|
|
<li><a href="manual.html">Documentation</a> |
56 |
|
|
<li>Demo |
57 |
|
|
<li><a href="download.html">Download</a> |
58 |
siliconforks |
29 |
<li><a href="faq.html">FAQ</a> |
59 |
siliconforks |
2 |
<li><a href="help.html">Help</a> |
60 |
|
|
<li><a href="license.html">License</a> |
61 |
|
|
<li><a href="links.html">Links</a> |
62 |
|
|
</ul> |
63 |
|
|
</div> |
64 |
|
|
</div> |
65 |
|
|
<div id="ft"> |
66 |
|
|
<address> |
67 |
|
|
Copyright © 2007 siliconforks.com<br> |
68 |
siliconforks |
43 |
Last updated August 26, 2007<br> |
69 |
siliconforks |
2 |
<a href="mailto:jscoverage@siliconforks.com">jscoverage@siliconforks.com</a> |
70 |
|
|
</address> |
71 |
|
|
</div> |
72 |
|
|
</div> |
73 |
|
|
</body> |
74 |
|
|
</html> |