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

Contents of /trunk/doc/index.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 427 - (show annotations)
Wed Feb 18 16:08:33 2009 UTC (10 years, 7 months ago) by siliconforks
File MIME type: text/html
File size: 6690 byte(s)
Update Copyright year.
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>JSCoverage - code coverage for JavaScript</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><span class="h1">JSCoverage</span><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 <p>
15 JSCoverage is a tool that measures code coverage for
16 JavaScript programs.
17 </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>
24 <p>
25 JSCoverage works by instrumenting the JavaScript code used in web
26 pages. Code coverage statistics are collected while the instrumented
27 JavaScript code is executed in a web browser.
28 </p>
29 <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 -
33 including Internet Explorer (IE 6 and IE 7), Firefox (FF 2 and FF 3),
34 Opera, Safari, and Google Chrome - on Microsoft Windows and GNU/Linux.
35 </p>
36 <p>
37 JSCoverage is free software, distributed under the
38 <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 <p>
109 Please report any bugs you find using the new <a href="http://siliconforks.com/jscoverage/bugs/">bug tracker</a>.
110 </p>
111
112 <h3><a name="20080331">March 31, 2008 - JSCoverage and Firefox 3</a></h3>
113 <p>
114 The <a href="faq.html">JSCoverage FAQ</a> has been updated to address problems using JSCoverage with Firefox 3.
115 </p>
116
117 <h3><a name="20080324">March 24, 2008 - JSCoverage in Debian GNU/Linux</a></h3>
118 <p>
119 JSCoverage is now <a href="http://packages.debian.org/sid/jscoverage">available</a> in the Debian unstable distribution.
120 </p>
121
122 <p>
123 <a href="news.html">All news items...</a>
124 </p>
125 </div>
126 </div>
127 <div id="jscoverage-sidebar" class="yui-b">
128 <ul>
129 <li>Home
130 <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>
131 <li><a href="manual.html">Documentation</a>
132 <li><a href="demo.html">Demo</a>
133 <li><a href="http://siliconforks.com/jscoverage/download.html">Download</a>
134 <li><a href="faq.html">FAQ</a>
135 <li><a href="help.html">Help</a>
136 <li><a href="license.html">License</a>
137 <li><a href="links.html">Links</a>
138 <li><a href="users.html">Users</a>
139 <li><a href="http://siliconforks.com/jscoverage/bugs/">Bug tracker</a>
140 </ul>
141 </div>
142 </div>
143 <div id="ft">
144 <address>
145 Copyright &copy; 2007, 2008, 2009 <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>
146 <a href="mailto:jscoverage@siliconforks.com">jscoverage@siliconforks.com</a>
147 </address>
148 </div>
149 </div>
150 </body>
151 </html>

  ViewVC Help
Powered by ViewVC 1.1.24