[arquillian-issues] [JBoss JIRA] Reopened: (ARQ-391) Before/After Methods are not executed on tests

David Allen (JIRA) jira-events at lists.jboss.org
Mon Mar 28 07:18:38 EDT 2011


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

David Allen reopened ARQ-391:
-----------------------------



This behavior is still not correct.  If exceptions occur in a Before method, Arquillian keeps executing the rest of the test and After methods as if nothing happened.  It does store the exception, but this is not what should be happening.

If an exception occurs in a Before method, that's the end of the test.  There is no point in executing additional statements.

> Before/After Methods are not executed on tests
> ----------------------------------------------
>
>                 Key: ARQ-391
>                 URL: https://issues.jboss.org/browse/ARQ-391
>             Project: Arquillian
>          Issue Type: Bug
>          Components: Base Implementation
>    Affects Versions: 1.0.0.Alpha5
>         Environment: Arquillian/OpenEJB combination from 1.0.0-SNAPSHOT
>            Reporter: David Allen
>            Assignee: David Allen
>             Fix For: 1.0.0.Beta1
>
>
> After today's build of SNAPSHOT, the Before and After methods of tests are no longer execcuted.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list