# JSCoverage
code coverage for JavaScript

## Demo

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 manual for more information.

Simple demo
  A trivial demonstration of JSCoverage. Simply choose a number and then click the "Summary" tab.
MochiKit test suite
  The MochiKit library test suite, instrumented using JSCoverage.
jQuery test suite
  The jQuery library test suite (which uses the QUnit test framework), instrumented using JSCoverage.
script.aculo.us test suite
  The script.aculo.us library test suite, instrumented using JSCoverage. (For this one you will have to click the links in the left frame to run the tests.)
MooTools test suite
  The MooTools library test suite (which uses the JSSpec test framework), instrumented using JSCoverage.

### Inverted mode

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.

Simple inverted mode demo
  A trivial demonstration JSCoverage in "inverted mode". Choose a number and then click the "Coverage report" button.
Simple JsUnit demo
  A trivial demonstration of using JSCoverage with JsUnit. Once the JsUnit unit tests have run, click the "Coverage report" button.
JsUnit test suite
  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.)
YUI test suite
  The YUI library test suite (which uses the YUI Test test framework), instrumented using JSCoverage.
Dojo test suite
  The Dojo library test suite (which uses the D.O.H. test framework), instrumented using JSCoverage. (Note: Internet Explorer may generate errors for some tests in this suite.)