[arquillian-issues] [JBoss JIRA] (ARQ-271) TestEnricher should be called in @BeforeClass
Galder Zamarreño (JIRA)
issues at jboss.org
Tue Jan 27 10:55:49 EST 2015
[ https://issues.jboss.org/browse/ARQ-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035410#comment-13035410 ]
Galder Zamarreño commented on ARQ-271:
--------------------------------------
Any updates? I believe this is required to achieve what's suggested in https://github.com/infinispan/infinispan-arquillian-container/issues/33
> TestEnricher should be called in @BeforeClass
> ---------------------------------------------
>
> Key: ARQ-271
> URL: https://issues.jboss.org/browse/ARQ-271
> Project: Arquillian
> Issue Type: Feature Request
> Components: Runtime Enricher SPI, Test Harness Integration
> Reporter: Thomas Diesler
> Assignee: Aslak Knutsen
>
> 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 was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the arquillian-issues
mailing list