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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>JSCoverage - demo</title>
<link rel="stylesheet" type="text/css" href="reset-fonts-grids.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="doc3" class="yui-t5">
<div id="hd"><h1><a href="./">JSCoverage</a><br><span class="tag">code coverage for JavaScript</span></h1></div>
<div id="bd">
<div id="yui-main">
<div id="jscoverage-main" class="yui-b">
<h2>Demo</h2>
<p>
Several examples of JSCoverage in action are available online. For each demo, click the "Summary" tab
after the JavaScript code in the "Browser" tab has executed. See the <a href="manual.html">manual</a>
for more information.
</p>
<dl>
<dt><a href="instrumented/jscoverage.html?index.html">Simple demo</a></dt>
<dd>A trivial demonstration of JSCoverage. Simply choose a number and then click the "Summary" tab.</dd>
<dt><a href="http://siliconforks.com/jscoverage/instrumented-mochikit/jscoverage.html?tests/index.html">MochiKit test suite</a></dt>
<dd>The test suite for the <a href="http://mochikit.com/">MochiKit</a> library, instrumented using JSCoverage.</dd>
<dt><a href="http://siliconforks.com/jscoverage/instrumented-jquery/jscoverage.html?test/index.html">jQuery test suite</a></dt>
<dd>The test suite for the <a href="http://jquery.com/">jQuery</a> library, instrumented using JSCoverage.</dd>
<dt><a href="http://siliconforks.com/jscoverage/instrumented-scriptaculous/jscoverage.html?test/run_unit_tests.html">script.aculo.us test suite</a></dt>
<dd>The test suite for the <a href="http://script.aculo.us/">script.aculo.us</a> library, instrumented using JSCoverage. (For this one you
will have to click the links in the left frame to run the tests.)</dd>
</dl>
<h3>Inverted mode</h3>
<p>
The following are examples of running JSCoverage in "inverted mode":
for each demo, click the "Coverage report" button after the JavaScript
code on the page has executed.
</p>
<dl>
<dt><a href="instrumented-inverted/index.html">Simple inverted mode demo</a></dt>
<dd>A trivial demonstration JSCoverage in "inverted mode".
Choose a number and then click the "Coverage report" button.</dd>
<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>
<dd>A trivial demonstration of using JSCoverage with JsUnit. Once the
JsUnit unit tests have run, click the "Coverage report" button.</dd>
<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>
<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>
</dl>
</div>
</div>
<div id="jscoverage-sidebar" class="yui-b">
<ul>
<li><a href="./">Home</a>
<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>
<li><a href="manual.html">Documentation</a>
<li>Demo
<li><a href="http://siliconforks.com/jscoverage/download.html">Download</a>
<li><a href="faq.html">FAQ</a>
<li><a href="help.html">Help</a>
<li><a href="license.html">License</a>
<li><a href="links.html">Links</a>
</ul>
</div>
</div>
<div id="ft">
<address>
Copyright © 2007 siliconforks.com<br>
Last updated August 26, 2007<br>
<a href="mailto:jscoverage@siliconforks.com">jscoverage@siliconforks.com</a>
</address>
</div>
</div>
</body>
</html>
|