You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Jim Donofrio (Commented) (JIRA)" <ji...@apache.org> on 2012/02/26 22:40:53 UTC

[jira] [Commented] (MRUNIT-54) Driver.runTest throws RuntimeException should it throw AssertionError?

    [ https://issues.apache.org/jira/browse/MRUNIT-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216862#comment-13216862 ] 

Jim Donofrio commented on MRUNIT-54:
------------------------------------

Yes I agree we should change all test assert failures to throw AssertionError instead of mixing IOException and assert failures as RuntimeExceptions
We just have to change throw new RuntimeException(buffer.toString()); to fail(buffer.toString()); in TestDriver and update the test to catch AssertionError
                
> Driver.runTest throws RuntimeException should it throw AssertionError?
> ----------------------------------------------------------------------
>
>                 Key: MRUNIT-54
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-54
>             Project: MRUnit
>          Issue Type: Bug
>            Reporter: Brock Noland
>
> The difference is small but in maven tests show up as erred not failed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira