CasperJS测试覆盖率 [英] CasperJS test coverage

查看:64
本文介绍了CasperJS测试覆盖率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以获得casperJS测试的测试覆盖率? (例如伊斯坦布尔或摩卡(mocha-lcov)。
我在Google上搜索了很多,找不到任何官方或非官方的报道工具。

Is it possible to get test coverage for casperJS tests? (Like istanbul or mocha-lcov). I googled a lot and could not find any official or unofficial coverage tool.

推荐答案

看看这个凯斯伯问题: https://github.com/gotwarlost/istanbul/issues/153
目前建议使用伊斯坦布尔: https://github.com/gotwarlost/istanbul-middleware

Look at this casper issue: https://github.com/gotwarlost/istanbul/issues/153 Currently Istanbul is recommended: https://github.com/gotwarlost/istanbul-middleware

这篇关于CasperJS测试覆盖率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆