1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 |
<html> |
<html> |
3 |
<head> |
<head> |
4 |
<title>JSCoverage user manual</title> |
<title>JSCoverage user manual</title> |
147 |
<li>The "About" tab displays information about the current version of JSCoverage. |
<li>The "About" tab displays information about the current version of JSCoverage. |
148 |
</ul> |
</ul> |
149 |
|
|
150 |
<img src="screenshot.png" alt="Screenshot"> |
<p><img src="screenshot.png" alt="Screenshot"></p> |
151 |
|
|
152 |
<p> |
<p> |
153 |
The "Browser" tab contains an <code><iframe></code>, which is initially empty. |
The "Browser" tab contains an <code><iframe></code>, which is initially empty. |
221 |
firefox "doc/instrumented/jscoverage.html?index.html" |
firefox "doc/instrumented/jscoverage.html?index.html" |
222 |
</pre> |
</pre> |
223 |
|
|
224 |
<img src="screenshot2.png" alt="Screenshot"> |
<p><img src="screenshot2.png" alt="Screenshot"></p> |
225 |
|
|
226 |
<p> |
<p> |
227 |
For this particular page, the JavaScript does not execute automatically: |
For this particular page, the JavaScript does not execute automatically: |
228 |
you have to select one of the radio buttons to execute the code. |
you have to select one of the radio buttons to execute the code. |
229 |
</p> |
</p> |
230 |
|
|
231 |
<img src="screenshot3.png" alt="Screenshot"> |
<p><img src="screenshot3.png" alt="Screenshot"></p> |
232 |
|
|
233 |
<h3>3. Generating a coverage report</h3> |
<h3>3. Generating a coverage report</h3> |
234 |
|
|
237 |
"Summary" tab. |
"Summary" tab. |
238 |
</p> |
</p> |
239 |
|
|
240 |
<img src="screenshot4.png" alt="Screenshot"> |
<p><img src="screenshot4.png" alt="Screenshot"></p> |
241 |
|
|
242 |
<p> |
<p> |
243 |
You can click the checkbox to show a list of statements missed during execution. |
You can click the checkbox to show a list of statements missed during execution. |
244 |
</p> |
</p> |
245 |
|
|
246 |
<img src="screenshot5.png" alt="Screenshot"> |
<p><img src="screenshot5.png" alt="Screenshot"></p> |
247 |
|
|
248 |
<p> |
<p> |
249 |
You can click one of the links to get a detailed view of a JavaScript source file. |
You can click one of the links to get a detailed view of a JavaScript source file. |
250 |
</p> |
</p> |
251 |
|
|
252 |
<img src="screenshot6.png" alt="Screenshot"> |
<p><img src="screenshot6.png" alt="Screenshot"></p> |
253 |
|
|
254 |
<h2>Inverted mode</h2> |
<h2>Inverted mode</h2> |
255 |
|
|
410 |
To store coverage data, click the "Store" tab. |
To store coverage data, click the "Store" tab. |
411 |
</p> |
</p> |
412 |
|
|
413 |
<img src="screenshot7.png" alt="Screenshot"> |
<p><img src="screenshot7.png" alt="Screenshot"></p> |
414 |
|
|
415 |
<p> |
<p> |
416 |
When you click the "Store" button, the coverage data will be saved to a directory named <code>jscoverage-report/</code>. |
When you click the "Store" button, the coverage data will be saved to a directory named <code>jscoverage-report/</code>. |