Parent Directory
|
Revision Log
Add example of storing coverage reports programmatically.
1 | siliconforks | 30 | <html> |
2 | <head> | ||
3 | <title>Test</title> | ||
4 | |||
5 | <script type="text/javascript" src="jsunit/app/jsUnitCore.js"></script> | ||
6 | <script type="text/javascript" src="script.js"></script> | ||
7 | <script type="text/javascript"> | ||
8 | function test_f() { | ||
9 | assert(f()); | ||
10 | } | ||
11 | siliconforks | 273 | |
12 | /* | ||
13 | This code automatically stores coverage reports when running under | ||
14 | jscoverage-server. | ||
15 | */ | ||
16 | function tearDownPage() { | ||
17 | if (window.jscoverage_report) { | ||
18 | jscoverage_report(); | ||
19 | } | ||
20 | } | ||
21 | siliconforks | 30 | </script> |
22 | </head> | ||
23 | <body> | ||
24 | </body> | ||
25 | </html> |
ViewVC Help | |
Powered by ViewVC 1.1.24 |