Reputation: 436
I am testing a web app based on sencha touch
with selenium web driver
. My test code is written in Java using testng framework of eclipse.I am using selenium web driver for accessing my web app. Now I want to measure my test code coverage i.e. how much of my js code is hit by the tests. After googling i came to know about istanbul and jSCover but i am not sure they can we used with my tests. Are there any alternative i can use.??
My webapp is running on apache server
Upvotes: 0
Views: 1273
Reputation: 3263
By a quick search , I could find out that these are some code coverage tools currently widely used for javascript
Istanbul
Karma (formerly Testacular)
Blanket.js
JSCover
Here is a question and a blog on same topic, you asked.
Mocha with wallaby.js can also be used for code coverage
I think Istanbul can integrate with Sencha applications as is mentioned about Sencha test here.In the link above, have a look at the section "How Sencha Test Can Help You" and I am quoting from their site
It should be very simple for developers and test automation engineers to identify and write tests for Ext JS components.
Upvotes: 1