[arquillian-issues] [JBoss JIRA] Created: (ARQ-271) TestEnricher should be called in @BeforeClass as well

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Fri Sep 3 05:40:53 EDT 2010


TestEnricher should be called in @BeforeClass as well
-----------------------------------------------------

                 Key: ARQ-271
                 URL: https://jira.jboss.org/browse/ARQ-271
             Project: Arquillian
          Issue Type: Feature Request
            Reporter: Thomas Diesler


The TestEnricher API could be extended such that static fields can be initialized.

   @Inject
   public static BundleContext context;
   
   @BeforeClass
   public static void beforeClass()
   {
      System.out.println("BeforeClass: " + context);
   }

There would be two calls to TestEnricher. 

#1 After test class load, but before a call to @BeforeClass. 
#2 After instantiation of the test class, but before a call to @Before 

(#2 is the current behaviour)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list