diff options
author | Jan Lehnardt <jan@apache.org> | 2010-06-02 17:45:56 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2010-06-02 17:45:56 +0000 |
commit | baf25cefa01d305a47087686becef7de7147321a (patch) | |
tree | 4325283b8e57064be26daf421d8ded8930b36c9c /share/www/spec/run.html | |
parent | 7fe84eba9982ebb3bcaa48b7aa28fdd2e130422d (diff) |
Add tests for couch.js and jquery.couch.js
Patch by Lena Herrmann.
Closes COUCHDB-783.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@950689 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/spec/run.html')
-rw-r--r-- | share/www/spec/run.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/share/www/spec/run.html b/share/www/spec/run.html new file mode 100644 index 00000000..3e9e943a --- /dev/null +++ b/share/www/spec/run.html @@ -0,0 +1,33 @@ +<html> + <head> + <link type="text/css" rel="stylesheet" href="../script/jspec/jspec.css" /> + <script src="../script/jquery.js"></script> + <script src="../script/sha1.js"></script> + <script src="../script/jspec/jspec.js"></script> + <script src="../script/jspec/jspec.jquery.js"></script> + <script src="../script/jspec/jspec.xhr.js"></script> + <script src="./custom_helpers.js"></script> + <script src="../script/couch.js"></script> + <script src="../script/jquery.couch.js"></script> + <script> + function runSuites() { + JSpec + .exec('couch_js_class_methods_spec.js') + .exec('couch_js_instance_methods_1_spec.js') + .exec('couch_js_instance_methods_2_spec.js') + .exec('couch_js_instance_methods_3_spec.js') + .exec('jquery_couch_js_class_methods_spec.js') + .exec('jquery_couch_js_instance_methods_1_spec.js') + .exec('jquery_couch_js_instance_methods_2_spec.js') + .exec('jquery_couch_js_instance_methods_3_spec.js') + .run({failuresOnly: true}) + .report() + } + </script> + </head> + <body class="jspec" onLoad="runSuites();"> + <div id="jspec-top"><h2 id="jspec-title">JSpec <em><script>document.write(JSpec.version)</script></em></h2></div> + <div id="jspec"></div> + <div id="jspec-bottom"></div> + </body> +</html> |