Automated test running using Rhino (no browser required!). Still very buggy, but...
[jquery.git] / build / runtest / test.js
diff --git a/build/runtest/test.js b/build/runtest/test.js
new file mode 100644 (file)
index 0000000..d793ca8
--- /dev/null
@@ -0,0 +1,12 @@
+// Init
+load("build/runtest/env.js");
+window.location = "test/index.html";
+
+// Load the test runner
+load("dist/jquery.js","build/runtest/testrunner.js");
+
+// Load the tests
+load("src/jquery/coreTest.js","src/selector/selectorTest.js");
+
+// Display the results
+results();