Test for fix on #687 ('fail' event fired in --fail-fast mode)
Showing
2 changed files
with
11 additions
and
0 deletions
tests/clitests/fail-fast/standard/hook.js
0 → 100644
... | @@ -391,6 +391,7 @@ class TestCommandOutputTest(CasperExecTestBase): | ... | @@ -391,6 +391,7 @@ class TestCommandOutputTest(CasperExecTestBase): |
391 | self.assertCommandOutputContains('test %s --fail-fast' % folder_path, [ | 391 | self.assertCommandOutputContains('test %s --fail-fast' % folder_path, [ |
392 | '# test 1', | 392 | '# test 1', |
393 | '# test 2', | 393 | '# test 2', |
394 | 'fail event fired!', | ||
394 | '--fail-fast: aborted all remaining tests', | 395 | '--fail-fast: aborted all remaining tests', |
395 | 'FAIL 2 tests executed', | 396 | 'FAIL 2 tests executed', |
396 | '1 passed', | 397 | '1 passed', | ... | ... |
-
Please register or sign in to post a comment