[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
Tue Aug 5 04:24:30 EDT 2014
[ https://issues.jboss.org/browse/ARQ-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Miklosovic closed ARQ-1679.
----------------------------------
> 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
> Fix For: recorder_1.0.0.Alpha4
>
>
> 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 was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the arquillian-issues
mailing list