1 |
siliconforks |
2 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 |
|
|
<html> |
3 |
|
|
<head> |
4 |
|
|
<title>JSCoverage - news</title> |
5 |
|
|
<link rel="alternate" type="application/rss+xml" href="http://siliconforks.com/jscoverage/news.xml" title="RSS feed for JSCoverage"> |
6 |
|
|
<link rel="stylesheet" type="text/css" href="reset-fonts-grids.css"> |
7 |
|
|
<link rel="stylesheet" type="text/css" href="style.css"> |
8 |
|
|
</head> |
9 |
|
|
<body> |
10 |
|
|
<div id="doc3" class="yui-t5"> |
11 |
|
|
<div id="hd"><h1><a href="./">JSCoverage</a><br><span class="tag">code coverage for JavaScript</span></h1></div> |
12 |
|
|
<div id="bd"> |
13 |
|
|
<div id="yui-main"> |
14 |
|
|
<div id="jscoverage-main" class="yui-b"> |
15 |
|
|
<h2>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> |
16 |
|
|
|
17 |
siliconforks |
597 |
<h3><a name="20100923">September 23, 2010 - JSCoverage 0.5.1</a></h3> |
18 |
|
|
<p> |
19 |
|
|
JSCoverage 0.5.1 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
20 |
|
|
</p> |
21 |
|
|
<p> |
22 |
|
|
This release contains several bug fixes and improvements: |
23 |
|
|
</p> |
24 |
|
|
<ul class="list"> |
25 |
|
|
<li> |
26 |
|
|
Probably the largest change is in the documentation: the manual no |
27 |
|
|
longer recommends using <code>file:</code> URLs. |
28 |
|
|
It is recommended that an HTTP server be used instead. |
29 |
|
|
(See the <a href="manual.html">manual</a> for details.) |
30 |
|
|
The JSCoverage user interface now displays a warning when used with |
31 |
|
|
<code>file:</code> URLs. |
32 |
|
|
</li> |
33 |
|
|
<li> |
34 |
|
|
The <code>--verbose</code> option to <code>jscoverage</code> now |
35 |
|
|
produces better output. |
36 |
|
|
</li> |
37 |
|
|
<li> |
38 |
|
|
Report loading is now faster (thanks to Klaus). |
39 |
|
|
</li> |
40 |
|
|
<li> |
41 |
|
|
Some bugs involving augmented object prototypes were fixed. |
42 |
|
|
</li> |
43 |
|
|
<li> |
44 |
|
|
JavaScript instrumentation was improved to work better in non-browser |
45 |
|
|
environments. |
46 |
|
|
</li> |
47 |
|
|
<li> |
48 |
|
|
Some cases where permission errors were occurring in inverted mode were |
49 |
|
|
fixed (thanks to tn). |
50 |
|
|
</li> |
51 |
|
|
<li> |
52 |
|
|
Previously, if <code>jscoverage-server</code> was started with the |
53 |
|
|
option <code>--ip-address=<var>A</var></code>, where <var>A</var> was a |
54 |
|
|
specific IP address, it was impossible to shut it down with |
55 |
|
|
<code>jscoverage-server --shutdown</code>. |
56 |
|
|
This should be possible now by running |
57 |
|
|
<code>jscoverage-server --shutdown --ip-address=<var>A</var></code> |
58 |
|
|
from the same machine. |
59 |
|
|
</li> |
60 |
|
|
<li> |
61 |
|
|
The test suite has been made more robust. |
62 |
|
|
</li> |
63 |
|
|
</ul> |
64 |
|
|
|
65 |
siliconforks |
567 |
<h3><a name="20100426">April 26, 2010 - New blog</a></h3> |
66 |
|
|
<p> |
67 |
|
|
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>. |
68 |
|
|
This week there will be a series of articles about using JSCoverage with various JavaScript testing frameworks. |
69 |
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. |
70 |
siliconforks |
567 |
</p> |
71 |
|
|
|
72 |
siliconforks |
561 |
<h3><a name="20100424">April 24, 2010 - JSCoverage 0.5</a></h3> |
73 |
siliconforks |
432 |
<p> |
74 |
|
|
JSCoverage 0.5 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
75 |
|
|
</p> |
76 |
|
|
<p> |
77 |
siliconforks |
487 |
This release contains a number of new features and bug fixes: |
78 |
siliconforks |
432 |
</p> |
79 |
|
|
<ul class="list"> |
80 |
|
|
<li> |
81 |
siliconforks |
497 |
A new mode of operation, called "window mode", allows you to run code in a new browser window (or tab). |
82 |
|
|
</li> |
83 |
|
|
<li> |
84 |
siliconforks |
503 |
Code coverage statistics can now be generated for applications based on |
85 |
|
|
the Mozilla platform using the <code>--mozilla</code> option (thanks to |
86 |
|
|
Murali Nandigama for help creating this). |
87 |
|
|
</li> |
88 |
|
|
<li> |
89 |
siliconforks |
432 |
The method used to calculate overall percentage code coverage for all |
90 |
|
|
files has changed. Previously, the calculation was done using an |
91 |
|
|
unweighted average: each file's percentage code coverage contributed |
92 |
|
|
equally to the total, regardless of the number of lines of code in the |
93 |
|
|
file. Now, the calculation is done using a weighted average. This |
94 |
|
|
fixes |
95 |
siliconforks |
435 |
<a href="http://siliconforks.com/jscoverage/bugs/6">bug #6</a> (thanks to |
96 |
siliconforks |
432 |
Liu Cougar). |
97 |
|
|
</li> |
98 |
siliconforks |
433 |
<li> |
99 |
|
|
Contiguous lines in the "Missing" column are now grouped together (thanks to |
100 |
|
|
Liu Cougar). |
101 |
|
|
</li> |
102 |
siliconforks |
435 |
<li> |
103 |
siliconforks |
487 |
The "Source" tab is no longer empty when code being tested throws an |
104 |
|
|
uncaught exception |
105 |
|
|
(fixing <a href="http://siliconforks.com/jscoverage/bugs/5">bug #5</a>) |
106 |
siliconforks |
435 |
</li> |
107 |
siliconforks |
487 |
<li> |
108 |
|
|
Previously, certain uses of the <code>new</code> operator were |
109 |
|
|
instrumented incorrectly; this has now been fixed |
110 |
|
|
(thanks to Guillaume Lung). |
111 |
|
|
</li> |
112 |
|
|
<li> |
113 |
|
|
The <code>jscoverage-server</code> program now allows more characters in |
114 |
|
|
URLs (thanks to Guillaume Lung). |
115 |
|
|
</li> |
116 |
|
|
<li> |
117 |
|
|
The <code>jscoverage-server</code> program now handles HTTP headers with |
118 |
|
|
empty values (thanks to Velo). |
119 |
|
|
</li> |
120 |
|
|
<li> |
121 |
|
|
The <code>jscoverage</code> program now refuses to instrument code which |
122 |
|
|
has already been instrumented (thanks to Velo). |
123 |
|
|
</li> |
124 |
|
|
<li> |
125 |
|
|
URLs containing spaces now work correctly (thanks to Igor Papkov). |
126 |
|
|
</li> |
127 |
|
|
<li> |
128 |
|
|
Previously, on Windows, the <code>jscoverage</code> program |
129 |
|
|
was unable to instrument a directory in a drive root; this has now been |
130 |
|
|
fixed. |
131 |
|
|
</li> |
132 |
|
|
<li> |
133 |
siliconforks |
552 |
Encoded URLs are now handled better in the query string. |
134 |
|
|
</li> |
135 |
|
|
<li> |
136 |
siliconforks |
487 |
A limitation of 65,535 lines per file and 65,535 characters per line has |
137 |
|
|
been removed. |
138 |
|
|
</li> |
139 |
|
|
<li> |
140 |
siliconforks |
552 |
Floating-point numbers are now handled with improved precision. |
141 |
siliconforks |
487 |
</li> |
142 |
|
|
<li> |
143 |
|
|
The <code>jscoverage-server</code> program can no longer bind to the same port multiple times on Windows. |
144 |
|
|
</li> |
145 |
|
|
<li> |
146 |
|
|
Some bugs in <code>jscoverage-server</code>'s handling of the "chunked" |
147 |
|
|
Transfer-Encoding have been fixed. |
148 |
|
|
</li> |
149 |
siliconforks |
488 |
<li> |
150 |
|
|
Compilation under Cygwin now uses the <code>-mno-cygwin</code> flag. |
151 |
|
|
</li> |
152 |
siliconforks |
490 |
<li> |
153 |
|
|
The wire format used for submitting coverage reports for storage by |
154 |
|
|
<code>jscoverage-server</code> has changed. (This change will not have |
155 |
|
|
any visible effects for most users; it will only be of interest to those |
156 |
|
|
who have written code which parses that format.) |
157 |
|
|
</li> |
158 |
siliconforks |
432 |
</ul> |
159 |
|
|
|
160 |
siliconforks |
415 |
<h3><a name="20081211">December 11, 2008 - JSCoverage 0.4</a></h3> |
161 |
siliconforks |
231 |
<p> |
162 |
|
|
JSCoverage 0.4 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
163 |
|
|
</p> |
164 |
|
|
<p> |
165 |
|
|
This release includes many new features: |
166 |
|
|
</p> |
167 |
|
|
<ul class="list"> |
168 |
|
|
<li> |
169 |
|
|
The new <code>jscoverage-server</code> program is provided as an |
170 |
|
|
alternative to the <code>jscoverage</code> program. The |
171 |
|
|
<code>jscoverage-server</code> program is a simple HTTP server which |
172 |
|
|
instruments JavaScript code as it is served; this allows you to execute |
173 |
|
|
JavaScript and gather code coverage statistics without a preliminary |
174 |
|
|
step of creating instrumented code. The <code>jscoverage-server</code> |
175 |
|
|
program can either serve files directly from the filesystem or run as a |
176 |
|
|
proxy server (with the <code>--proxy</code> option), instrumenting |
177 |
|
|
JavaScript provided by another web server. |
178 |
|
|
<li> |
179 |
|
|
Using <code>jscoverage-server</code>, coverage reports can now be stored |
180 |
|
|
to the filesystem. |
181 |
|
|
</li> |
182 |
|
|
<li> |
183 |
|
|
JSCoverage now recognizes special JavaScript comments which specify that |
184 |
|
|
certain lines of code should be ignored in coverage reports. |
185 |
|
|
</li> |
186 |
|
|
<li> |
187 |
|
|
The new <code>--encoding</code> option provides better support for |
188 |
|
|
different character encodings. |
189 |
|
|
</li> |
190 |
|
|
<li> |
191 |
|
|
The JSCoverage user interface is now faster and more responsive. |
192 |
|
|
</li> |
193 |
|
|
<li> |
194 |
|
|
The new <code>--no-highlight</code> option can be used to disable syntax |
195 |
|
|
highlighting (giving better performance for large JavaScript files). |
196 |
|
|
</li> |
197 |
siliconforks |
285 |
<li> |
198 |
|
|
The build system has been modified so that <code>make install</code> |
199 |
|
|
only installs the <code>jscoverage</code> and |
200 |
|
|
<code>jscoverage-server</code> executables and their manual pages. |
201 |
|
|
(Previous versions installed SpiderMonkey library and executable files, |
202 |
|
|
which could conflict with other versions of SpiderMonkey installed on |
203 |
|
|
your system.) |
204 |
|
|
</li> |
205 |
siliconforks |
368 |
<li> |
206 |
|
|
JSCoverage now supports several features beyond those found in the |
207 |
|
|
<cite>ECMAScript Language Specification</cite>, including the following: |
208 |
|
|
<ul class="list"> |
209 |
|
|
<li>getters and setters |
210 |
|
|
<li><code>for each</code> loops |
211 |
|
|
<li>generators and iterators |
212 |
|
|
<li>the <code>let</code> keyword |
213 |
|
|
<li>destructuring assignment |
214 |
|
|
<li>array comprehensions |
215 |
|
|
<li>expression closures |
216 |
|
|
<li>generator expressions |
217 |
siliconforks |
231 |
</ul> |
218 |
siliconforks |
368 |
Use the new <code>--js-version</code> option to enable these features. |
219 |
|
|
</li> |
220 |
|
|
</ul> |
221 |
siliconforks |
393 |
<p> |
222 |
|
|
The GCC C++ compiler (<code>g++</code>) is now required to compile |
223 |
|
|
JSCoverage. (Previously, only the C compiler was needed.) |
224 |
|
|
</p> |
225 |
siliconforks |
419 |
<p> |
226 |
|
|
Please report any bugs you find using the new <a href="http://siliconforks.com/jscoverage/bugs/">bug tracker</a>. |
227 |
|
|
</p> |
228 |
siliconforks |
231 |
|
229 |
siliconforks |
137 |
<h3><a name="20080331">March 31, 2008 - JSCoverage and Firefox 3</a></h3> |
230 |
|
|
<p> |
231 |
|
|
The <a href="faq.html">JSCoverage FAQ</a> has been updated to address problems using JSCoverage with Firefox 3. |
232 |
|
|
</p> |
233 |
|
|
|
234 |
|
|
<h3><a name="20080324">March 24, 2008 - JSCoverage in Debian GNU/Linux</a></h3> |
235 |
|
|
<p> |
236 |
|
|
JSCoverage is now <a href="http://packages.debian.org/sid/jscoverage">available</a> in the Debian unstable distribution. |
237 |
|
|
</p> |
238 |
|
|
|
239 |
siliconforks |
63 |
<h3><a name="20071122">November 22, 2007 - JSCoverage 0.3.1</a></h3> |
240 |
|
|
<p> |
241 |
siliconforks |
73 |
JSCoverage 0.3.1 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
242 |
siliconforks |
63 |
</p> |
243 |
|
|
<p> |
244 |
|
|
This release has a number of bug fixes: |
245 |
|
|
</p> |
246 |
|
|
<ul class="list"> |
247 |
|
|
<li> |
248 |
|
|
It should now be possible to run the native Windows version of <code>jscoverage</code> |
249 |
|
|
with minimal privileges. |
250 |
|
|
</li> |
251 |
|
|
<li> |
252 |
|
|
All files used by JSCoverage now use a <code>jscoverage</code> |
253 |
|
|
prefix to avoid name collisions. |
254 |
|
|
</li> |
255 |
|
|
<li> |
256 |
|
|
Compilation bugs which occurred under some versions of MSYS have been fixed. |
257 |
|
|
</li> |
258 |
|
|
<li> |
259 |
|
|
Various documentation improvements. |
260 |
|
|
</li> |
261 |
|
|
</ul> |
262 |
|
|
|
263 |
siliconforks |
43 |
<h3><a name="20070826">August 26, 2007 - JSCoverage 0.3</a></h3> |
264 |
siliconforks |
2 |
<p> |
265 |
siliconforks |
73 |
JSCoverage 0.3 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
266 |
siliconforks |
2 |
</p> |
267 |
|
|
<p> |
268 |
siliconforks |
4 |
This release has the following new features: |
269 |
siliconforks |
2 |
</p> |
270 |
siliconforks |
18 |
<ul class="list"> |
271 |
siliconforks |
4 |
<li> |
272 |
|
|
The coverage summary now displays bar graphs (thanks to Ross Simpson). |
273 |
|
|
</li> |
274 |
siliconforks |
18 |
<li> |
275 |
|
|
A progress bar is displayed for lengthy computations. |
276 |
|
|
</li> |
277 |
|
|
<li> |
278 |
|
|
JavaScript syntax highlighting has improved. |
279 |
|
|
</li> |
280 |
|
|
<li> |
281 |
siliconforks |
41 |
The display of missed statements can be turned on and off. |
282 |
siliconforks |
18 |
</li> |
283 |
|
|
<li> |
284 |
siliconforks |
41 |
New "inverted mode" provides better support for working with <a href="http://www.jsunit.net/">JsUnit</a>. |
285 |
siliconforks |
18 |
</li> |
286 |
siliconforks |
4 |
</ul> |
287 |
siliconforks |
2 |
|
288 |
siliconforks |
60 |
<h3><a name="20070823">August 23, 2007 - JSCoverage in Linux Format magazine</a></h3> |
289 |
|
|
<p> |
290 |
|
|
JSCoverage is in the October 2007 issue of Linux Format magazine |
291 |
|
|
(<a href="http://www.linuxformat.co.uk/modules.php?op=modload&name=NewArchives&issue=97">table of contents</a>). |
292 |
|
|
</p> |
293 |
|
|
|
294 |
siliconforks |
18 |
<h3><a name="20070731">July 31, 2007 - Subversion repository now available</a></h3> |
295 |
|
|
<p> |
296 |
siliconforks |
73 |
See the <a href="http://siliconforks.com/jscoverage/download.html">download page</a> for instructions on accessing the Subversion repository. |
297 |
siliconforks |
18 |
</p> |
298 |
|
|
|
299 |
|
|
<h3><a name="20070708">July 8, 2007 - JSCoverage 0.2</a></h3> |
300 |
|
|
<p> |
301 |
siliconforks |
73 |
JSCoverage 0.2 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
302 |
siliconforks |
18 |
</p> |
303 |
|
|
<p> |
304 |
|
|
JSCoverage 0.2 features a new tabbed user interface. |
305 |
|
|
</p> |
306 |
|
|
|
307 |
siliconforks |
2 |
<h3><a name="20070701">July 1, 2007 - JSCoverage 0.1.1</a></h3> |
308 |
|
|
<p> |
309 |
siliconforks |
73 |
JSCoverage 0.1.1 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
310 |
siliconforks |
2 |
</p> |
311 |
|
|
<p> |
312 |
|
|
JSCoverage 0.1.1 fixes a bug that can cause large JavaScript files to be truncated when viewed with Opera. |
313 |
|
|
</p> |
314 |
|
|
|
315 |
|
|
<h3><a name="20070615">June 15, 2007 - documentation of JSCoverage internals</a></h3> |
316 |
|
|
<p> |
317 |
|
|
A new document, |
318 |
|
|
<a href="http://siliconforks.com/doc/parsing-javascript-with-spidermonkey/">Parsing JavaScript with SpiderMonkey</a>, |
319 |
|
|
describes the technique used by JSCoverage to parse JavaScript programs. |
320 |
|
|
</p> |
321 |
|
|
|
322 |
|
|
<h3><a name="20070530">May 30, 2007 - new examples</a></h3> |
323 |
|
|
<p> |
324 |
|
|
Added some <a href="demo.html">examples</a> of running JSCoverage on popular JavaScript libraries. |
325 |
|
|
</p> |
326 |
|
|
|
327 |
|
|
<h3><a name="20070526">May 26, 2007 - JSCoverage 0.1</a></h3> |
328 |
|
|
<p> |
329 |
siliconforks |
73 |
JSCoverage 0.1 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
330 |
siliconforks |
2 |
</p> |
331 |
|
|
</div> |
332 |
|
|
</div> |
333 |
|
|
<div id="jscoverage-sidebar" class="yui-b"> |
334 |
|
|
<ul> |
335 |
|
|
<li><a href="./">Home</a> |
336 |
|
|
<li>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> |
337 |
|
|
<li><a href="manual.html">Documentation</a> |
338 |
|
|
<li><a href="demo.html">Demo</a> |
339 |
siliconforks |
73 |
<li><a href="http://siliconforks.com/jscoverage/download.html">Download</a> |
340 |
siliconforks |
29 |
<li><a href="faq.html">FAQ</a> |
341 |
siliconforks |
2 |
<li><a href="help.html">Help</a> |
342 |
|
|
<li><a href="license.html">License</a> |
343 |
|
|
<li><a href="links.html">Links</a> |
344 |
siliconforks |
243 |
<li><a href="users.html">Users</a> |
345 |
siliconforks |
329 |
<li><a href="http://siliconforks.com/jscoverage/bugs/">Bug tracker</a> |
346 |
siliconforks |
2 |
</ul> |
347 |
|
|
</div> |
348 |
|
|
</div> |
349 |
|
|
<div id="ft"> |
350 |
|
|
<address> |
351 |
siliconforks |
505 |
Copyright © 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> |
352 |
siliconforks |
2 |
<a href="mailto:jscoverage@siliconforks.com">jscoverage@siliconforks.com</a> |
353 |
|
|
</address> |
354 |
|
|
</div> |
355 |
|
|
</div> |
356 |
|
|
</body> |
357 |
|
|
</html> |