Set up frontend tests to run multiple test files

(imported from commit 7eef13df33e8d878efcab199fd4c7eea7fd99a5c)
This commit is contained in:
Zev Benjamin 2012-12-07 11:11:12 -05:00
parent 6cf59f1fba
commit a01cee3cce
2 changed files with 2 additions and 9 deletions

View File

@ -41,7 +41,7 @@ try:
sys.stdout.write('\n')
ret = subprocess.call(
'zephyr/tests/frontend/casperjs/bin/casperjs zephyr/tests/frontend/tests.js',
'zephyr/tests/frontend/casperjs/bin/casperjs test zephyr/tests/frontend/tests',
shell=True)
finally:
assert_server_running()

View File

@ -10,13 +10,6 @@
// For example, utils.dump() prints an Object with nice formatting.
var utils = require('utils');
// The main CasperJS object.
var casper = require('casper').create({
// TODO: Expose these at the command line.
//verbose: true,
//logLevel: 'debug',
});
// Uncomment this to get page-context console.log in the CasperJS output
// (plus some CasperJS-specific messages)
/*
@ -347,5 +340,5 @@ casper.then(function() {
// Run the above queued actions.
casper.run(function () {
casper.exit((casper.test.getFailures().length > 0) ? 1 : 0);
casper.test.done();
});