tntim96 / JSCover

JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage
GNU General Public License v2.0
399 stars 84 forks source link

I am unable to how to start with jscover. #228

Closed pjg005 closed 8 years ago

pjg005 commented 8 years ago

i want to check client side coverage of our application. Our application has js files. i have created html files referring to those js files. What is the next step to do? How do I integrate my scripts with Jscover? I am running those scripts on Selenium using Testng and ant.

tntim96 commented 8 years ago

There are some Selenium examples in https://github.com/tntim96/JSCover-samples. Take a look at WebDriverJasmineTestBase. The preferred way of running would be the shouldRunJasmineTestAndStoreResultViaJavaScriptCall test.