Javascript代码覆盖测试工具(Code Coverage Tool)

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]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值