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

Tibor Digana commented on SUREFIRE-1247:
----------------------------------------

[~keyolce]
[~pratik.kumar]
Throwing exception in @ClassRule should not be fatal in Surefire.
Please provide stacktrace or code of the Runner including test or close the 
issue.

> Custom Junit Runner ignored with surefire plugin(in case of failure)
> --------------------------------------------------------------------
>
>                 Key: SUREFIRE-1247
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1247
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Pratik kumar
>            Assignee: Tibor Digana
>
> Running a Junit Test with surefire plugin ignores test class when custom 
> junit  runner throws a RuntimeException. Is this expected behaviour ? 
> How can I add a custom Runner that should stop test flow execution in case 
> the custom Junit Runner throws an exception?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to