The next generation JavaScript code coverage program has been released on GitHub.
Any future development of the JSCoverage code base will likely occur in the new JSCover project on GitHub, which reuses a substantial amount of JSCoverage code and aims for a high degree of backward compatibility with JSCoverage. JSCoverage itself is unlikely to have any further releases.
JSCoverage 0.5.1 is available for download.
This release contains several bug fixes and improvements:
file:
URLs.
It is recommended that an HTTP server be used instead.
(See the manual for details.)
The JSCoverage user interface now displays a warning when used with
file:
URLs.
--verbose
option to jscoverage
now
produces better output.
jscoverage-server
was started with the
option --ip-address=A
, where A was a
specific IP address, it was impossible to shut it down with
jscoverage-server --shutdown
.
This should be possible now by running
jscoverage-server --shutdown --ip-address=A
from the same machine.
If you would like to see some case studies showing how to use JSCoverage in practice, take a look at the new blog. This week there will be a series of articles about using JSCoverage with various JavaScript testing frameworks. The first article looks at using JSCoverage with the script.aculo.us test suite.
JSCoverage 0.5 is available for download.
This release contains a number of new features and bug fixes:
--mozilla
option (thanks to
Murali Nandigama for help creating this).
new
operator were
instrumented incorrectly; this has now been fixed
(thanks to Guillaume Lung).
jscoverage-server
program now allows more characters in
URLs (thanks to Guillaume Lung).
jscoverage-server
program now handles HTTP headers with
empty values (thanks to Velo).
jscoverage
program now refuses to instrument code which
has already been instrumented (thanks to Velo).
jscoverage
program
was unable to instrument a directory in a drive root; this has now been
fixed.
jscoverage-server
program can no longer bind to the same port multiple times on Windows.
jscoverage-server
's handling of the "chunked"
Transfer-Encoding have been fixed.
-mno-cygwin
flag.
jscoverage-server
has changed. (This change will not have
any visible effects for most users; it will only be of interest to those
who have written code which parses that format.)
JSCoverage 0.4 is available for download.
This release includes many new features:
jscoverage-server
program is provided as an
alternative to the jscoverage
program. The
jscoverage-server
program is a simple HTTP server which
instruments JavaScript code as it is served; this allows you to execute
JavaScript and gather code coverage statistics without a preliminary
step of creating instrumented code. The jscoverage-server
program can either serve files directly from the filesystem or run as a
proxy server (with the --proxy
option), instrumenting
JavaScript provided by another web server.
jscoverage-server
, coverage reports can now be stored
to the filesystem.
--encoding
option provides better support for
different character encodings.
--no-highlight
option can be used to disable syntax
highlighting (giving better performance for large JavaScript files).
make install
only installs the jscoverage
and
jscoverage-server
executables and their manual pages.
(Previous versions installed SpiderMonkey library and executable files,
which could conflict with other versions of SpiderMonkey installed on
your system.)
for each
loops
let
keyword
--js-version
option to enable these features.
The GCC C++ compiler (g++
) is now required to compile
JSCoverage. (Previously, only the C compiler was needed.)
Please report any bugs you find using the new bug tracker.
The JSCoverage FAQ has been updated to address problems using JSCoverage with Firefox 3.
JSCoverage is now available in the Debian unstable distribution.
JSCoverage 0.3.1 is available for download.
This release has a number of bug fixes:
jscoverage
with minimal privileges.
jscoverage
prefix to avoid name collisions.
JSCoverage 0.3 is available for download.
This release has the following new features:
JSCoverage is in the October 2007 issue of Linux Format magazine (table of contents).
See the download page for instructions on accessing the Subversion repository.
JSCoverage 0.2 is available for download.
JSCoverage 0.2 features a new tabbed user interface.
JSCoverage 0.1.1 is available for download.
JSCoverage 0.1.1 fixes a bug that can cause large JavaScript files to be truncated when viewed with Opera.
A new document, Parsing JavaScript with SpiderMonkey, describes the technique used by JSCoverage to parse JavaScript programs.
Added some examples of running JSCoverage on popular JavaScript libraries.
JSCoverage 0.1 is available for download.