JSCoverage for the different js files

Questions, problems, suggestions, bug reports, and so on.
Post Reply
subba rao

JSCoverage for the different js files

Post by subba rao » 2009-04-20 11:54 am


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 :)

Posts: 120
Joined: 2008-10-11 6:52 pm

Re: JSCoverage for the different js files

Post by Ed » 2009-04-20 1:40 pm

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:

Code: Select all

Then run jscoverage.exe on the src folder:

Code: Select all

jscoverage.exe src instrumented
Then open the file instrumented/html/index.html in your web browser.

Post Reply