will instrument javascript code in jsp page?

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

will instrument javascript code in jsp page?

Post by indra » 2009-11-19 10:29 am

Hi,

if we are having some javascript code in jsp pages, JSCoverage is able to instrument that code? For me it is not happening.

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

Re: will instrument javascript code in jsp page?

Post by Ed » 2009-11-19 5:45 pm

Is the JSP page generating HTML (with inline JavaScript) or is it generating pure JavaScript code?

If it is generating HTML with inline JavaScript, it will not be instrumented - JSCoverage never instruments inline JavaScript (it doesn't matter whether the HTML comes from a JSP file, a plain .html file, or something else).

If it is generating pure JavaScript code, it should be instrumented using jscoverage-server --proxy.

Post Reply