Closed mrtyler closed 9 years ago
Still a bug afaict:
$ cat test2.py
import testify as T
class F(T.TestCase):
def test(self):
raise KeyboardInterrupt
$ testify test2.py
-
FAILED. 1 test / 1 case: 0 passed, 0 failed. (Total test time 0.00s)
$ echo $?
0
Consider this test case from workflow:
Jenkins think this suite passed because Testify returns code 0, but obviously that is not correct. At minimum, we need to correctly report this as an error.
It may also be worth looking at the status string "FAILED. 22 tests / 5 cases: 21 passed, 0 failed." since it contains several lies.