Code coverage for Protractor tests in AngularJS

前端 未结 5 608
小鲜肉
小鲜肉 2020-12-29 12:10

I am running some e2e tests in my angularJS app with protractor (as recommended in the angularJS documentation). I\'ve googled around and cannot find any information on how

5条回答
  •  无人及你
    2020-12-29 12:28

    if you are using grunt - you can use grunt-protractor-coverage plugin, it will do the job for you. You will have to instrument the code first and then use the mentioned plugin to create coverage reports for you.

提交回复
热议问题