]
Juraj Húska commented on ARQ-1586:
----------------------------------
If you could give me some other clues I can try to investigate further.
ClassContextImpl is not active during TestNG @BeforeMethod
----------------------------------------------------------
Key: ARQ-1586
URL:
https://issues.jboss.org/browse/ARQ-1586
Project: Arquillian
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Base Implementation
Affects Versions: 1.1.1.Final
Reporter: Juraj Húska
When I call
[
this|https://github.com/arquillian/arquillian-graphene/blob/master/api/sr...]
Arquillian Graphene's method in method annotated with TestNG {{@BeforeMethod}}, then
it is not possible to get Graphene's configuration.
On this
[
line|https://github.com/arquillian/arquillian-graphene/blob/master/impl/s...],
{{configuration.get()}} returns {{null}}.
The configuration should be retrieved from {{Instance<GrapheneConfiguration>}}.
However, it is not.
When I compare this to JUnit {{@Before}}, I came to this:
At {{ManagerImpl.java}}
[
here|https://github.com/arquillian/arquillian-core/blob/master/core/impl-...],
the configuration is retrieved from context {{ClassContextImpl}}.
However, that context is not marked as active when executing from TestNG (among the
others contexts).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: