Hi,
if we are having some javascript code in jsp pages, JSCoverage is able to instrument that code? For me it is not happening.
will instrument javascript code in jsp page?
-
- Posts: 120
- Joined: 2008-10-11 6:52 pm
Re: will instrument javascript code in jsp page?
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.
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.