Code coverage of Polymer Application with WCT

只谈情不闲聊 提交于 2019-12-10 15:33:15

问题


I have the sapplication developed in Polymer and unit testing with WCT. I want to generate the code coverage report for that.

I tried with the istanbul(web-component-tester-istanbul), but it is not supporting it, I am using Polymer Version 1.2.

And I tried with Karma + Grunt, but I am not able to genrate the code coverage report.

Can anybody tell me how we can generate code coverage with Karma? I search on google but not able to find WCT with Karma.


回答1:


You can use the modified version for now till the original Istanbul is fixed to work with Polymer. wct-Istanbub



来源:https://stackoverflow.com/questions/43086760/code-coverage-of-polymer-application-with-wct

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!