Hi,
I'm using Arquillian alpha 4 in combination with JDK6, JBoss AS 5.1 and without any maven. I'm running my junit4 test from Eclipse.
When I use @Before in my unit test, I notice that it seems to be called after the container has started, but before my test class is being shipped to it. The code I execute in @Before thus seems to be running in the local JVM, instead of in the remote one on which the container runs.
Is this by design or is it a bug?
It's a bug. All @BeforeClass/AfterClass @Before/After are executed on both sides, client and container: