Sha256: 04089d96d14023b8bc8cf62850819194c4640aa9bea10634aae04c97ab9e3e86
Contents?: true
Size: 1.6 KB
Versions: 7
Compression:
Stored size: 1.6 KB
Contents
if(arguments.length == 0) { print("Usage: test_runner.js /path/to/shenandoah /path/to/mainfiles /path/to/specfiles file_spec.js"); quit(1); } var SHENANDOAH = arguments[0] var MAIN_PATH = arguments[1] var SPEC_PATH = arguments[2] var SPEC_FILE = arguments[3] function require_main(file) { require_absolute(MAIN_PATH + '/' + file) } function require_spec(file) { require_absolute(SPEC_PATH + '/' + file) } function require_absolute(file) { load(file) } var fixture = SPEC_FILE.replace(/^(.*?)_spec\.js$/, "$1.html"); print("Running " + SPEC_FILE + " with fixture '" + fixture + "'"); load(SHENANDOAH + "/lib/shenandoah/javascript/console/env.rhino.js"); window.location = fixture; load(SHENANDOAH + "/lib/shenandoah/javascript/common/jquery-1.3.2.js"); load(SHENANDOAH + "/lib/shenandoah/javascript/common/jquery.fn.js"); load(SHENANDOAH + "/lib/shenandoah/javascript/common/jquery.print.js"); load(SHENANDOAH + "/lib/shenandoah/javascript/common/screw.builder.js"); load(SHENANDOAH + "/lib/shenandoah/javascript/common/screw.matchers.js"); load(SHENANDOAH + "/lib/shenandoah/javascript/common/screw.events.js"); load(SHENANDOAH + "/lib/shenandoah/javascript/common/screw.behaviors.js"); load(SHENANDOAH + "/lib/shenandoah/javascript/common/smoke.core.js"); load(SHENANDOAH + "/lib/shenandoah/javascript/common/smoke.mock.js"); load(SHENANDOAH + "/lib/shenandoah/javascript/common/smoke.stub.js"); load(SHENANDOAH + "/lib/shenandoah/javascript/common/screw.mocking.js"); load(SHENANDOAH + "/lib/shenandoah/javascript/console/consoleReportForRake.js"); load(SPEC_PATH + '/' + SPEC_FILE); jQuery(window).trigger("load");
Version data entries
7 entries across 7 versions & 2 rubygems