summaryrefslogtreecommitdiff
path: root/test.html
diff options
context:
space:
mode:
authorRichard Wall <richard@largo>2010-11-28 15:45:10 +0000
committerRichard Wall <richard@largo>2010-11-28 15:45:10 +0000
commit579605cb677a0345688c5421b0075b26111c4393 (patch)
treeb62bdc1fd6356239dad031450b6a373b85412d45 /test.html
parent54b3c39b40077b045e7d10b78eaf85b11dad5a3a (diff)
parent02f4700f65df11c5ed286c716e9351daf547e853 (diff)
Merge lp:~richardw/jarmon/coveragev10.11
* Introduce unit tests for jarmon.downloadBinary, jarmon.RRDFile and jarmon.RrdQuery. Unit tests are based on YUI test. * Various API changes to facilitate testing * Various non-api library changes to fix bugs revealed by the unit tests. * Coverage is measured using jscoverage which reports 50% coverage of jarmon.js * Command line tool to generate unit test RRD data * Documentation describing how to run the tests and measure code coverage
Diffstat (limited to 'test.html')
-rw-r--r--test.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/test.html b/test.html
new file mode 100644
index 0000000..e8508f6
--- /dev/null
+++ b/test.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Jarmon Unit Test Runner</title>
+ <link rel="stylesheet" type="text/css"
+ href="http://developer.yahoo.com/yui/3/assets/yui.css"/>
+ <link rel="stylesheet" type="text/css"
+ href="http://yui.yahooapis.com/3.1.1/build/cssfonts/fonts-min.css"/>
+ <style type='text/css'>
+ .chart {
+ width: 500px;
+ height: 100px;
+ }
+ </style>
+ <script src="http://yui.yahooapis.com/3.1.1/build/yui/yui-min.js"></script>
+ <script src="docs/examples/assets/js/dependencies.js"></script>
+ <script src="jarmon/jarmon.js"></script>
+ <script src="jarmon/jarmon.test.js"></script>
+ </head>
+ <body class="yui3-skin-sam yui-skin-sam">
+ <div id="log"></div>
+ </body>
+</html>