[arquillian-issues] [JBoss JIRA] (ARQ-986) Add more advanced exception matching logic in @ShouldThrowException

Dan Allen (JIRA) jira-events at lists.jboss.org
Tue Jun 5 15:17:18 EDT 2012


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

Dan Allen commented on ARQ-986:
-------------------------------

This involves / relates to the DeploymentExceptionTransformer as well. If an addition is needed to the annotation, then it pertains to the API, otherwise it pertains the impls of this SPI. A utility for dealing with unwrapped exceptions would be nice to have in the SPI.

[1] https://github.com/arquillian/arquillian-core/blob/master/container/spi/src/main/java/org/jboss/arquillian/container/spi/client/container/DeploymentExceptionTransformer.java
                
> Add more advanced exception matching logic in @ShouldThrowException
> -------------------------------------------------------------------
>
>                 Key: ARQ-986
>                 URL: https://issues.jboss.org/browse/ARQ-986
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Deployable Containers SPI
>            Reporter: Dan Allen
>            Priority: Minor
>
> The @ShouldThrowException assertion for a deployment should support more intelligent exception matching similar to what was implemented for Seam Catch. A single exception class compared to the outer most exception often isn't sufficient. If nothing else, we should unwrap the exception and try the match for each exception in the stack.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list