[jira] [Comment Edited] (SUREFIRE-1247) Custom Junit Runner ignored with surefire plugin(in case of failure)

2016-05-30 Thread Pratik kumar (JIRA)

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

Pratik kumar edited comment on SUREFIRE-1247 at 5/30/16 6:19 AM:
-

But what happens when my project consists of mixture of JUnit and TestNg tests. 
Then I don't think only surefire-junit provider will be enough

Edit: Can I give two providers to surefire , one for running testng tests and 
other for running junit tests?


was (Author: keyolce):
But what happens when my project consists of mixture of JUnit and TestNg tests. 
Then I don't think only surefire-junit provider will be enough

> 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)


[jira] [Commented] (SUREFIRE-1247) Custom Junit Runner ignored with surefire plugin(in case of failure)

2016-05-29 Thread Pratik kumar (JIRA)

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

Pratik kumar commented on SUREFIRE-1247:


But what happens when my project consists of mixture of JUnit and TestNg tests. 
Then I don't think only surefire-junit provider will be enough

> 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)


[jira] [Commented] (SUREFIRE-1247) Custom Junit Runner ignored with surefire plugin(in case of failure)

2016-05-29 Thread Pratik kumar (JIRA)

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

Pratik kumar commented on SUREFIRE-1247:


The methods annotated with @ClassRule are throwing the RunTimeException. 
Although I get the stack trace reporting an error , the Test class is 
completely taken out the total test count and still the test phase continues.

> 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)


[jira] [Created] (SUREFIRE-1247) Custom Junit Runner ignored with surefire plugin(in case of failure)

2016-05-09 Thread Pratik kumar (JIRA)
Pratik kumar created SUREFIRE-1247:
--

 Summary: 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


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)