2 Replies Latest reply on Nov 28, 2011 12:06 PM by Martin Metz

    How to define test code before bean initialization?

    Martin Metz Newbie

      Hello,

       

      I'm new to arquillian but have not found an answer to this question. I hopy, you can help me.

       

      I use arquillian to test some modules running in the JBoss. The easy stuff is working: singleton beans are initialized, next my test code is executed.

      But sometimes I need some lines of code to be executed on server side before the singeltons are initialized. But I did not found a way to do this!

       

      @Before is called AFTER the intialization and @BeforeClass is only called outside of the container.

       

      Thank you,

       

      Martin