Istanbul
Karma (formerly Testacular)
Blanket.js
JSCover
This is a code coverage tool that is the child of JSCoverage and utilizes a java server to take your javascript files, dynamically inject coverage instrumentation code, and report the results in its UI.
Saga
[url]http://timurstrekalov.github.io/saga/[/url]
JSCoverage
[url]http://siliconforks.com/jscoverage/[/url]
下面的贴子列出来一些常见的javascript 代码覆盖工具:
[url]http://stackoverflow.com/questions/53249/are-there-any-good-javascript-code-coverage-tools[/url]
[b]下面这篇文章评估了Istanbul,Karma,Blanket.js和JSCover工具,作者给出来比较明确的结论。[/b]
[url]http://blog.johnryding.com/post/46757192364/javascript-code-coverage-with-phantomjs-jasmine-and[/url]
[b]结论是:不论你的测试代码是运行在浏览器中还是需要集成到其它环境工具中,JSCover都是最佳选择。
下面这篇文章介绍了如何集成Maven,PhantomJS和Jasmine来写javascript 单元测试[/b]:
Maven, PhantomJS and Jasmine to write your JS Unit Testing:
[url]http://blog.ivandemarino.me/2011/07/09/Maven-PhantomJS-and-Jasmine-to-write-your-JS-Unit-Testing[/url]
Karma (formerly Testacular)
Blanket.js
JSCover
This is a code coverage tool that is the child of JSCoverage and utilizes a java server to take your javascript files, dynamically inject coverage instrumentation code, and report the results in its UI.
Saga
[url]http://timurstrekalov.github.io/saga/[/url]
JSCoverage
[url]http://siliconforks.com/jscoverage/[/url]
下面的贴子列出来一些常见的javascript 代码覆盖工具:
[url]http://stackoverflow.com/questions/53249/are-there-any-good-javascript-code-coverage-tools[/url]
[b]下面这篇文章评估了Istanbul,Karma,Blanket.js和JSCover工具,作者给出来比较明确的结论。[/b]
[url]http://blog.johnryding.com/post/46757192364/javascript-code-coverage-with-phantomjs-jasmine-and[/url]
[b]结论是:不论你的测试代码是运行在浏览器中还是需要集成到其它环境工具中,JSCover都是最佳选择。
下面这篇文章介绍了如何集成Maven,PhantomJS和Jasmine来写javascript 单元测试[/b]:
Maven, PhantomJS and Jasmine to write your JS Unit Testing:
[url]http://blog.ivandemarino.me/2011/07/09/Maven-PhantomJS-and-Jasmine-to-write-your-JS-Unit-Testing[/url]