/[jscoverage]/trunk/doc/index.html
ViewVC logotype

Diff of /trunk/doc/index.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2 by siliconforks, Wed Aug 1 13:51:53 2007 UTC revision 415 by siliconforks, Thu Dec 11 10:28:55 2008 UTC
# Line 7  Line 7 
7  </head>  </head>
8  <body>  <body>
9  <div id="doc3" class="yui-t5">  <div id="doc3" class="yui-t5">
10    <div id="hd"><h1>JSCoverage<br><span class="tag">code coverage for JavaScript</span></h1></div>      <div id="hd"><h1><span class="h1">JSCoverage</span><br><span class="tag">code coverage for JavaScript</span></h1></div>  
11    <div id="bd">    <div id="bd">
12      <div id="yui-main">      <div id="yui-main">
13        <div id="jscoverage-main" class="yui-b">        <div id="jscoverage-main" class="yui-b">
14          <p>          <p>
15          JSCoverage is a tool that generates code coverage statistics for          JSCoverage is a tool that measures code coverage for
16          JavaScript.  This information is useful for designing tests that          JavaScript programs.
17          exercise all parts of a JavaScript program.          </p>
18            <p>
19            <dfn>Code coverage</dfn> statistics show which lines of a program have
20            been executed (and which have been missed).  This information is useful
21            for constructing comprehensive test suites (hence, it is often called
22            <dfn>test coverage</dfn>).
23          </p>          </p>
24          <p>          <p>
25          JSCoverage works by instrumenting the JavaScript code used in web          JSCoverage works by instrumenting the JavaScript code used in web
# Line 22  Line 27 
27          JavaScript code is executed in a web browser.          JavaScript code is executed in a web browser.
28          </p>          </p>
29          <p>          <p>
30            JSCoverage supports the complete language syntax described in the
31            <cite>ECMAScript Language Specification</cite> (ECMA-262, 3rd edition).
32          JSCoverage works with any modern standards-compliant web browser -          JSCoverage works with any modern standards-compliant web browser -
33          including Internet Explorer (IE 6 and IE 7), Firefox, Opera, and Safari          including Internet Explorer (IE 6 and IE 7), Firefox (FF 2 and FF 3),
34          - on Windows and Linux.          Opera, Safari, and Google Chrome - on Microsoft Windows and GNU/Linux.
35          </p>          </p>
36          <p>          <p>
37          JSCoverage is free software, distributed under the          JSCoverage is free software, distributed under the
38          <a href="license.html">GNU General Public License</a>.          <a href="license.html">GNU General Public License version 2</a>.
39            </p>
40    
41            <h2>Latest News <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></h2>
42    
43            <h3><a name="20081211">December 11, 2008 - JSCoverage 0.4</a></h3>
44            <p>
45            JSCoverage 0.4 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>.
46            </p>
47            <p>
48            This release includes many new features:
49            </p>
50            <ul class="list">
51            <li>
52            The new <code>jscoverage-server</code> program is provided as an
53            alternative to the <code>jscoverage</code> program.  The
54            <code>jscoverage-server</code> program is a simple HTTP server which
55            instruments JavaScript code as it is served; this allows you to execute
56            JavaScript and gather code coverage statistics without a preliminary
57            step of creating instrumented code. The <code>jscoverage-server</code>
58            program can either serve files directly from the filesystem or run as a
59            proxy server (with the <code>--proxy</code> option), instrumenting
60            JavaScript provided by another web server.
61            <li>
62            Using <code>jscoverage-server</code>, coverage reports can now be stored
63            to the filesystem.
64            </li>
65            <li>
66            JSCoverage now recognizes special JavaScript comments which specify that
67            certain lines of code should be ignored in coverage reports.
68            </li>
69            <li>
70            The new <code>--encoding</code> option provides better support for
71            different character encodings.
72            </li>
73            <li>
74            The JSCoverage user interface is now faster and more responsive.
75            </li>
76            <li>
77            The new <code>--no-highlight</code> option can be used to disable syntax
78            highlighting (giving better performance for large JavaScript files).
79            </li>
80            <li>
81            The build system has been modified so that <code>make install</code>
82            only installs the <code>jscoverage</code> and
83            <code>jscoverage-server</code> executables and their manual pages.
84            (Previous versions installed SpiderMonkey library and executable files,
85            which could conflict with other versions of SpiderMonkey installed on
86            your system.)
87            </li>
88            <li>
89            JSCoverage now supports several features beyond those found in the
90            <cite>ECMAScript Language Specification</cite>, including the following:
91            <ul class="list">
92            <li>getters and setters
93            <li><code>for each</code> loops
94            <li>generators and iterators
95            <li>the <code>let</code> keyword
96            <li>destructuring assignment
97            <li>array comprehensions
98            <li>expression closures
99            <li>generator expressions
100            </ul>
101            Use the new <code>--js-version</code> option to enable these features.
102            </li>
103            </ul>
104            <p>
105            The GCC C++ compiler (<code>g++</code>) is now required to compile
106            JSCoverage.  (Previously, only the C compiler was needed.)
107            </p>
108    
109            <h3><a name="20080331">March 31, 2008 - JSCoverage and Firefox 3</a></h3>
110            <p>
111            The <a href="faq.html">JSCoverage FAQ</a> has been updated to address problems using JSCoverage with Firefox 3.
112            </p>
113    
114            <h3><a name="20080324">March 24, 2008 - JSCoverage in Debian GNU/Linux</a></h3>
115            <p>
116            JSCoverage is now <a href="http://packages.debian.org/sid/jscoverage">available</a> in the Debian unstable distribution.
117            </p>
118    
119            <p>
120            <a href="news.html">All news items...</a>
121          </p>          </p>
122        </div>        </div>
123      </div>      </div>
# Line 38  Line 127 
127        <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="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>
128        <li><a href="manual.html">Documentation</a>        <li><a href="manual.html">Documentation</a>
129        <li><a href="demo.html">Demo</a>        <li><a href="demo.html">Demo</a>
130        <li><a href="download.html">Download</a>        <li><a href="http://siliconforks.com/jscoverage/download.html">Download</a>
131          <li><a href="faq.html">FAQ</a>
132        <li><a href="help.html">Help</a>        <li><a href="help.html">Help</a>
133        <li><a href="license.html">License</a>        <li><a href="license.html">License</a>
134        <li><a href="links.html">Links</a>        <li><a href="links.html">Links</a>
135          <li><a href="users.html">Users</a>
136          <li><a href="http://siliconforks.com/jscoverage/bugs/">Bug tracker</a>
137        </ul>        </ul>
138      </div>      </div>
139    </div>      </div>  
140    <div id="ft">    <div id="ft">
141      <address>      <address>
142        Copyright &copy; 2007 siliconforks.com<br>        Copyright &copy; 2007, 2008 <a href="http://siliconforks.com/"><img src="siliconforks-16x16.png" width="16" height="16" class="icon" alt="Silicon Forks"></a> <a href="http://siliconforks.com/">siliconforks.com</a><br>
       Last updated July 8, 2007<br>  
143        <a href="mailto:jscoverage@siliconforks.com">jscoverage@siliconforks.com</a>        <a href="mailto:jscoverage@siliconforks.com">jscoverage@siliconforks.com</a>
144      </address>      </address>
145    </div>      </div>  

Legend:
Removed from v.2  
changed lines
  Added in v.415

  ViewVC Help
Powered by ViewVC 1.1.24