[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
Wed Mar 5 17:13:33 EST 2014


     [ https://issues.jboss.org/browse/ARQ-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Miklosovic reassigned ARQ-1679:
--------------------------------------

    Assignee: Stefan Miklosovic

    
> 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