Permalink
Browse files

updated README, changed to make rhino examples explicit

  • Loading branch information...
1 parent cfd2e10 commit 203e2aa59f40db7be38b2768a5d4e0e897ae4683 @benjaminplee committed Nov 28, 2010
Showing with 7 additions and 7 deletions.
  1. +3 −3 README
  2. +4 −4 suite.js → rhino.js
  3. 0 { → src}/myLib.js
  4. 0 { → test}/myLibTest.js
View
6 README
@@ -2,13 +2,13 @@ QUnit-CLI
Example extensions for running QUnit tests from the command line
-Examples and extensions assume use of a standalone JavaScript interpeter such as Mozilla Rhino. QUnit.js is now downloaded as a submodule. Until my latest changes are accepted, QUnit.js comes from my fork.
+Examples and extensions assume use of a standalone JavaScript interpeter such as Mozilla Rhino. QUnit.js is now downloaded as a submodule (tracking my fork).
-To download and run the sample test suite ...
+To download and run the sample test suite using Mozilla Rhino ...
1) git clone git://github.com/benjaminplee/QUnit-CLI.git qunit-cli --recursive
2) setup rhino as described here: http://twoguysarguing.wordpress.com/2010/11/02/make-javascript-tests-part-of-your-build-qunit-rhino/
-3) run "js suite.js"
+3) run "js rhino.js"
4) Profit!
For more information check out my posts tagged with qunit-cli: http://en.wordpress.com/tag/qunit-cli/
View
@@ -1,5 +1,5 @@
-load("./qunit/qunit/qunit.js");
-load("myLib.js");
+load("qunit/qunit/qunit.js");
+load("src/myLib.js");
var stop_watch = {
start_time: null, stop_time: null,
@@ -92,8 +92,8 @@ var stop_watch = {
})();
// run the tests
-load("myLibTest.js");
-load("./qunit/test/test.js");
+load("test/myLibTest.js");
+load("qunit/test/test.js");
QUnit.begin(); // hacked b/c currently QUnit.begin is normally called on document.load
QUnit.start();
File renamed without changes.
File renamed without changes.

0 comments on commit 203e2aa

Please sign in to comment.