Hi,
I am very first using this JSCoverage i m using the windows version. In Demos which u have given mentioned that the .html file and .js file are in the same folder but for my application all js files are in one folder and html files are in other folder so how can I generate the JSCoverage report for this and how can I see that report. And I am unable to understand the jscoverage-server command. Can u please provide some Information on this regard.
Thanks & Regards
Subba rao
JSCoverage for the different js files
-
- Posts: 120
- Joined: 2008-10-11 6:52 pm
Re: JSCoverage for the different js files
The jscoverage-server.exe program and the jscoverage.exe program are alternatives: you would use one or the other, but not both.
If you're using jscoverage.exe, find a folder that contains both the HTML and JavaScript files somewhere underneath it, and run jscoverage.exe on that.
For example, if your folder structure looks like this:
Then run jscoverage.exe on the src folder:
Then open the file instrumented/html/index.html in your web browser.
If you're using jscoverage.exe, find a folder that contains both the HTML and JavaScript files somewhere underneath it, and run jscoverage.exe on that.
For example, if your folder structure looks like this:
Code: Select all
src
html/
index.html
...
js/
script.js
...
Code: Select all
jscoverage.exe src instrumented