【文件属性】:
文件名称:casperjs-istanbul:使用 casperjs 和 istanbul 的覆盖率报告的简单示例
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-22 17:23:33
JavaScript
casperjs-伊斯坦布尔
使用 casperjs 和 istanbul 的覆盖率报告的简单示例
先决条件
安装
运行npm install
启动应用程序
运行node server.js
浏览http://localhost:8000/pages/index
运行测试
运行grunt test
打开coverage/report/lcov-report/index.html ,或
使用coverage/report/lcov.info
【文件预览】:
casperjs-istanbul-master
----.gitignore(36B)
----package.json(441B)
----src()
--------main()
--------test()
----Gruntfile.js(925B)
----LICENSE(1KB)
----views()
--------index.jade(191B)
----README.md(380B)
----server.js(793B)