Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1586

ClassContextImpl is not active during TestNG @BeforeMethod

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 1.1.1.Final
    • Base Implementation
    • None

    Description

      When I call this Arquillian Graphene's method in method annotated with TestNG @BeforeMethod, then it is not possible to get Graphene's configuration.

      On this line, 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, the configuration is retrieved from context ClassContextImpl.

      However, that context is not marked as active when executing from TestNG (among the others contexts).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jhuska_jira Juraj Húska (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: