[
https://issues.jboss.org/browse/ARQ-104?page=com.atlassian.jira.plugin.sy...
]
Radai Rosenblatt commented on ARQ-104:
--------------------------------------
ok, i was a bit rash. what happened was that the @Before method was being invoked twice -
once in the Junit runner context (no injection since this is outside the AS) and the other
"inside" (with injections). any clues as to why such a thing might happen ?
TestEnrichment TestCase injection null in @Before
-------------------------------------------------
Key: ARQ-104
URL:
https://issues.jboss.org/browse/ARQ-104
Project: Arquillian
Issue Type: Bug
Components: Runtime Enricher SPI
Affects Versions: 1.0.0.Alpha1
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
Fix For: 1.0.0.Alpha2
Injection is done in the @Test cycle, should be moved to @Before cycle so one can setup
injected resources before test is executed.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira