-
15 Dec 2008 9:07 AM #1
Unit Testing / Code Coverage
Unit Testing / Code Coverage
Which tools is everyone using for Unit Testing & Code Coverage for Javascript? I have successfully integrated JSUnit (www.jsunit.net), but now I want to generate code coverage reports.
I am particularly interested in running unit tests and generating coverage reports automatically from a central server, so JSCoverage is not sufficient. That said, I do like the functionality and reports from JSCoverage, but I do need for it to execute the JSUnit tests without User interation.
Thanks in advance,
-
15 Dec 2008 9:18 AM #2
You might also want to look at YAHOO's new release of a unit testing framework called YUI Test (http://yuiblog.com/blog/2008/12/01/y...tting-started/). It doesn't do code coverage stuff yet, but given the size of the community, that type of functionality might be a candidate for inclusion. Given the apparent lack of current development on JsUnit, I migrated all my unit testing to the new YUI framework with no problems. Note that your code does not need to be based on YUI to use the YUI Unit Testing piece.
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
10 Jan 2009 2:22 AM #3
hrcov
hrcov
Hi there. I'm the author of http://hrtimer.mozdev.org/, a Firefox extension that includes a line-by-line code coverage tool. It might be useful.


Reply With Quote