Commit e4195f27 e4195f277d898ac5d7e9db622a5f8c14ccbbceb5 by Nicolas Perriault

added missing test file - refs #721

1 parent 72f46162
......@@ -319,7 +319,17 @@ class TestCommandOutputTest(CasperExecTestBase):
@timeout(20)
def test_exit_test(self):
script_path = os.path.join(TEST_ROOT, 'tester', 'exit.js')
self.assertCommandOutputContains('test ' + script_path, ['exited'])
self.assertCommandOutputContains('test ' + script_path, [
script_path,
'# sample',
'PASS Subject is strictly true',
'PASS 1 test executed',
'1 passed',
'0 failed',
'0 dubious',
'0 skipped.',
'exited'
])
@timeout(20)
def test_skipped_test(self):
......
casper.test.on("exit", function() {
console.log("exited");
})
casper.test.begin("sample", function(test) {
test.assert(true);
test.done();
});