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

Map client events 1 to 1 with container events

    XMLWordPrintable

Details

    Description

      We should redo how the test execution lifecycles happen. In the current impl the flow is:

      Client(BeforSuite, BeforeClass, Before) -> Container(BeforSuite, BeforeClass, Before, Test, After, AfterClass, AfterSuite) -> Client(After, AfterClass, AfterSuite)

      We should map these 1 to 1 with the incontainer execution and keep the test instance alive between the calls.

      Client(BeforeClass) -> Container(BeforeClass)
      Client(Before) -> Container(Before)
      ..

      This way the execution is closer to how it normally would be, and extensions can interact with the Container/Environment or Client in the appropriate lifecycles more naturally.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aslak@redhat.com Aslak Knutsen
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: