haunt icon indicating copy to clipboard operation
haunt copied to clipboard

Ignore runtime errors and only fail on assertion errors

Open shama opened this issue 12 years ago • 1 comments

Currently if a test fails because of a runtime error such as a mistyped method name eg issue.whoops(), it will be assumed the test case has failed and trigger an action.

This PR adds the helper method assertsFailed() to only return assertion errors. This way users can only trigger an action if an assert fails, not just on any failure.

shama avatar Jul 31 '12 06:07 shama

:+1:

vbardales avatar Nov 19 '12 15:11 vbardales