-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
1.0.3.Final
-
None
-
None
In following code, before() method won't be called at all:
@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); } }
<dependency> <groupId>org.jboss.arquillian.junit</groupId> <artifactId>arquillian-junit-standalone</artifactId> <scope>test</scope> </dependency>
When changed to arquillian-junit-container, everything works fine.
- duplicates
-
ARQ-1070 Arquillian JUnit Standalone doesn't execute methods annotated by @Before annotation
- Open