[arquillian-issues] [JBoss JIRA] (ARQ-1679) When expected exception is thrown in test method, reporter should not report it

Stefan Miklosovic (JIRA) issues at jboss.org
Fri Apr 25 05:18:33 EDT 2014


    [ https://issues.jboss.org/browse/ARQ-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12963757#comment-12963757 ] 

Stefan Miklosovic commented on ARQ-1679:
----------------------------------------

This should be repaired and autoresolved with finished changes of Aslak in 1.1.5.Final of Core

https://github.com/aslakknutsen/arquillian-core/commit/0cb7d1bf75842fed48b5215f6725932e7b08e45c

I believe that it autoresolves ARQ-1716 as well
                
> When expected exception is thrown in test method, reporter should not report it
> -------------------------------------------------------------------------------
>
>                 Key: ARQ-1679
>                 URL: https://issues.jboss.org/browse/ARQ-1679
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Recorder
>    Affects Versions: recorder_1.0.0.Alpha1
>            Reporter: Stefan Miklosovic
>            Assignee: Stefan Miklosovic
>
> When I have
> {code}
> @Test(expected = SomeException.class)
> public void someTest() {
>     throw new SomeException("this is test exception");
> }
> {code}
> It should not appear in resulting report. Take JUnit @Rule into account as well.
> Take into consideration various test frameworks.
> https://github.com/arquillian/arquillian-recorder/blob/1.0.0.Alpha1/arquillian-recorder-reporter/arquillian-recorder-reporter-impl/src/main/java/org/arquillian/recorder/reporter/impl/ReporterLifecycleObserver.java#L164-L168

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list