Arquillian
  1. Arquillian
  2. ARQ-351

@Run(AS_CLIENT) support on lifecycle methods

    Details

    • Similar Issues:
      Show 10 results 

      Description

      With support for multiple testable deployments and control off lifecycle method execution, we should open for:

      @Run() on @BeforeClass/@AfterClass/@Before/@After to support lifecycle methods both on client and incontainer.

        Issue Links

          Activity

          Hide
          Karel Piwko
          added a comment -

          How is this related to ARQ-456?

          Does it mean that @Before annotated method can be used if whole test is marked as @RunAsClient?

          Show
          Karel Piwko
          added a comment - How is this related to ARQ-456 ? Does it mean that @Before annotated method can be used if whole test is marked as @RunAsClient?
          Hide
          Aslak Knutsen
          added a comment -

          As of CR2:

          @Before and @After will follow the mode of @Test (strange in mixed mode for sure, but that is where this issue comes in)

          @BeforeClass and @AfterClass will always execute on Client, regardless of @Test

          Show
          Aslak Knutsen
          added a comment - As of CR2: @Before and @After will follow the mode of @Test (strange in mixed mode for sure, but that is where this issue comes in) @BeforeClass and @AfterClass will always execute on Client, regardless of @Test
          Hide
          Radoslav Husar
          added a comment -

          This issue just bit me now when trying to restructure part of WFLY testsuite. Aslak, where is this on the roadmap? How hard would it be for a contributor to fix this?

          Show
          Radoslav Husar
          added a comment - This issue just bit me now when trying to restructure part of WFLY testsuite. Aslak, where is this on the roadmap? How hard would it be for a contributor to fix this?

            People

            • Assignee:
              Unassigned
              Reporter:
              Aslak Knutsen
            • Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: