3 Replies Latest reply on Oct 5, 2012 11:33 AM by bmajsak

    Why is the @BeforeClass method not executed? - or - Is there a compiled and up-to-date information source for Arquilllian-JUnit integration?

    ksilin

      A test was failing, saying that the expected DB contents were not there. After some debugging, I noticed that the BeforeClass method was not being executed, and thus - no data.

       

      What could be the reason? What can be done?

       

      I have found some scattered info (https://community.jboss.org/thread/164526, http://codymello.com/?p=116), but nothing comprehensive and no real explanation.

       

      The project is using the 1.0.0.Final java.ee.with.tools Bom and runs on a JBoss 7.1.1.Final. The tests are simple JUnit tests, run by  the original jbossas-remote profile and aside from this issue, they run fine. The Before methods run fine too. 

       

      Thank you.