Created
February 3, 2010 02:06
-
-
Save tolmasky/293260 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var testCaseFile = require("file").absolute(args.shift()); | |
| if (!testCaseFile) | |
| { | |
| [self report]; | |
| return; | |
| } | |
| var matches = testCaseFile.match(/([^\/]+)\.j$/); | |
| system.stderr.write(matches[1]).flush(); | |
| var testCaseClass = matches[1]; | |
| require(testCaseFile); | |
| var suite = [self getTest:testCaseClass]; | |
| [self run:suite]; | |
| system.stderr.write("\n").flush(); | |
| // run the next test when this is done | |
| [self startWithArguments:args]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment