summaryrefslogtreecommitdiff
path: root/share/www/couch_tests.html
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2009-07-11 20:48:02 +0000
committerPaul Joseph Davis <davisp@apache.org>2009-07-11 20:48:02 +0000
commitf4c3d873f92a4b81f7dd6990bfbba4519f95f2e6 (patch)
tree90094f4b3595fc685ec07f647e87db0594589feb /share/www/couch_tests.html
parentdeae5e14975c0726feb28c7e0be433e650c40f30 (diff)
Create tests in Futon.
On the test suite page there is now a button that will give you a page to create a custom test that can then be submitted along with JIRA tickets. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793214 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/couch_tests.html')
-rw-r--r--share/www/couch_tests.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/www/couch_tests.html b/share/www/couch_tests.html
index 0d2e4c3d..d9bde916 100644
--- a/share/www/couch_tests.html
+++ b/share/www/couch_tests.html
@@ -32,6 +32,9 @@ specific language governing permissions and limitations under the License.
$("#toolbar button.load").click(function() {
location.reload(true);
});
+ $("#toolbar button.add").click(function() {
+ location = "custom_test.html";
+ });
});
var testsPath = document.location.toString().split('?')[1];
loadScript(testsPath||"script/couch_tests.js")
@@ -46,6 +49,7 @@ specific language governing permissions and limitations under the License.
<ul id="toolbar">
<li><button class="run">Run All</button></li>
<li><button class="load">Reload</button></li>
+ <li><button class="add">Custom Test</button></li>
</ul>
<p class="help">
<strong>Note:</strong> Each of the tests will block the browser. If the