1 Reply Latest reply on Nov 26, 2010 2:00 PM by Aslak Knutsen

    @Before called after remote container start, but in local VM?

    henk de boer Master



      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?