Lukáš Fryč created ARQ-1250:
-------------------------------
Summary: arquillian-junit-standalone doesn't execute @Before
Key: ARQ-1250
URL:
https://issues.jboss.org/browse/ARQ-1250
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 1.0.3.Final
Reporter: Lukáš Fryč
In following code, {{before()}} method won't be called at all:
{code:java}
@RunWith(Arquillian.class)
public class BeforeTestCase {
private boolean initialized = false;
@Before
public void before() {
initialized = true;
}
@Test
public void test() {
Assert.assertTrue("@Before should have initialized test", initialized);
}
}
{code}
{code:xml}
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-standalone</artifactId>
<scope>test</scope>
</dependency>
{code}
When changed to {{arquillian-junit-container}}, everything works fine.
--
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