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

Annotation of /trunk/doc/index.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 568 - (hide annotations)
Mon Apr 26 15:09:24 2010 UTC (10 years, 9 months ago) by siliconforks
File MIME type: text/html
File size: 7319 byte(s)
Add link.

1 siliconforks 2 <!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 siliconforks 138 <div id="hd"><h1><span class="h1">JSCoverage</span><br><span class="tag">code coverage for JavaScript</span></h1></div>
11 siliconforks 2 <div id="bd">
12     <div id="yui-main">
13     <div id="jscoverage-main" class="yui-b">
14     <p>
15 siliconforks 76 JSCoverage is a tool that measures code coverage for
16     JavaScript programs.
17 siliconforks 2 </p>
18     <p>
19 siliconforks 76 <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 siliconforks 217 for constructing comprehensive test suites (hence, it is often called
22 siliconforks 76 <dfn>test coverage</dfn>).
23     </p>
24     <p>
25 siliconforks 2 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 siliconforks 217 JSCoverage supports the complete language syntax described in the
31     <cite>ECMAScript Language Specification</cite> (ECMA-262, 3rd edition).
32 siliconforks 2 JSCoverage works with any modern standards-compliant web browser -
33 siliconforks 506 including Internet Explorer (IE 6, 7, and 8), Firefox,
34 siliconforks 291 Opera, Safari, and Google Chrome - on Microsoft Windows and GNU/Linux.
35 siliconforks 2 </p>
36     <p>
37     JSCoverage is free software, distributed under the
38 siliconforks 217 <a href="license.html">GNU General Public License version 2</a>.
39 siliconforks 2 </p>
40 siliconforks 150
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 siliconforks 567 <h3><a name="20100426">April 26, 2010 - New blog</a></h3>
44     <p>
45     If you would like to see some case studies showing how to use JSCoverage in practice, take a look at the new <a href="http://blog.siliconforks.com/">blog</a>.
46     This week there will be a series of articles about using JSCoverage with various JavaScript testing frameworks.
47 siliconforks 568 The <a href="http://blog.siliconforks.com/2010/04/26/jscoverage-scriptaculous/">first article</a> looks at using JSCoverage with the <a href="http://script.aculo.us">script.aculo.us</a> test suite.
48 siliconforks 567 </p>
49    
50 siliconforks 561 <h3><a name="20100424">April 24, 2010 - JSCoverage 0.5</a></h3>
51 siliconforks 150 <p>
52 siliconforks 561 JSCoverage 0.5 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>.
53 siliconforks 150 </p>
54     <p>
55 siliconforks 561 This release contains a number of new features and bug fixes:
56 siliconforks 150 </p>
57     <ul class="list">
58     <li>
59 siliconforks 561 A new mode of operation, called "window mode", allows you to run code in a new browser window (or tab).
60     </li>
61 siliconforks 415 <li>
62 siliconforks 561 Code coverage statistics can now be generated for applications based on
63     the Mozilla platform using the <code>--mozilla</code> option (thanks to
64     Murali Nandigama for help creating this).
65 siliconforks 150 </li>
66     <li>
67 siliconforks 561 The method used to calculate overall percentage code coverage for all
68     files has changed. Previously, the calculation was done using an
69     unweighted average: each file's percentage code coverage contributed
70     equally to the total, regardless of the number of lines of code in the
71     file. Now, the calculation is done using a weighted average. This
72     fixes
73     <a href="http://siliconforks.com/jscoverage/bugs/6">bug #6</a> (thanks to
74     Liu Cougar).
75 siliconforks 150 </li>
76     <li>
77 siliconforks 561 Contiguous lines in the "Missing" column are now grouped together (thanks to
78     Liu Cougar).
79 siliconforks 150 </li>
80     <li>
81 siliconforks 561 The "Source" tab is no longer empty when code being tested throws an
82     uncaught exception
83     (fixing <a href="http://siliconforks.com/jscoverage/bugs/5">bug #5</a>)
84 siliconforks 150 </li>
85 siliconforks 415 <li>
86 siliconforks 561 Previously, certain uses of the <code>new</code> operator were
87     instrumented incorrectly; this has now been fixed
88     (thanks to Guillaume Lung).
89 siliconforks 415 </li>
90     <li>
91 siliconforks 561 The <code>jscoverage-server</code> program now allows more characters in
92     URLs (thanks to Guillaume Lung).
93 siliconforks 415 </li>
94     <li>
95 siliconforks 561 The <code>jscoverage-server</code> program now handles HTTP headers with
96     empty values (thanks to Velo).
97 siliconforks 415 </li>
98 siliconforks 561 <li>
99     The <code>jscoverage</code> program now refuses to instrument code which
100     has already been instrumented (thanks to Velo).
101     </li>
102     <li>
103     URLs containing spaces now work correctly (thanks to Igor Papkov).
104     </li>
105     <li>
106     Previously, on Windows, the <code>jscoverage</code> program
107     was unable to instrument a directory in a drive root; this has now been
108     fixed.
109     </li>
110     <li>
111     Encoded URLs are now handled better in the query string.
112     </li>
113     <li>
114     A limitation of 65,535 lines per file and 65,535 characters per line has
115     been removed.
116     </li>
117     <li>
118     Floating-point numbers are now handled with improved precision.
119     </li>
120     <li>
121     The <code>jscoverage-server</code> program can no longer bind to the same port multiple times on Windows.
122     </li>
123     <li>
124     Some bugs in <code>jscoverage-server</code>'s handling of the "chunked"
125     Transfer-Encoding have been fixed.
126     </li>
127     <li>
128     Compilation under Cygwin now uses the <code>-mno-cygwin</code> flag.
129     </li>
130     <li>
131     The wire format used for submitting coverage reports for storage by
132     <code>jscoverage-server</code> has changed. (This change will not have
133     any visible effects for most users; it will only be of interest to those
134     who have written code which parses that format.)
135     </li>
136 siliconforks 415 </ul>
137 siliconforks 150
138     <p>
139     <a href="news.html">All news items...</a>
140     </p>
141 siliconforks 2 </div>
142     </div>
143     <div id="jscoverage-sidebar" class="yui-b">
144     <ul>
145     <li>Home
146     <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>
147     <li><a href="manual.html">Documentation</a>
148     <li><a href="demo.html">Demo</a>
149 siliconforks 73 <li><a href="http://siliconforks.com/jscoverage/download.html">Download</a>
150 siliconforks 29 <li><a href="faq.html">FAQ</a>
151 siliconforks 2 <li><a href="help.html">Help</a>
152     <li><a href="license.html">License</a>
153     <li><a href="links.html">Links</a>
154 siliconforks 243 <li><a href="users.html">Users</a>
155 siliconforks 329 <li><a href="http://siliconforks.com/jscoverage/bugs/">Bug tracker</a>
156 siliconforks 2 </ul>
157     </div>
158     </div>
159     <div id="ft">
160     <address>
161 siliconforks 505 Copyright &copy; 2007, 2008, 2009, 2010 <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>
162 siliconforks 2 <a href="mailto:jscoverage@siliconforks.com">jscoverage@siliconforks.com</a>
163     </address>
164     </div>
165     </div>
166     </body>
167     </html>

  ViewVC Help
Powered by ViewVC 1.1.24