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

Run tests on different containers, stopping and starting them between tests (with automatic grouping).

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0.CR5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Tests would have @ContainerInstance("InstanceName").

      As Arquillian would run these tests, it would stop the currently running container and start the other one.

      @TestCase @ContainerInstance("InstanceFoo")
      class TestsToBeRunOnFooTestCase { ... }
      
      @TestCase @ContainerInstance("InstanceBar")
      class TestsToBeRunOnBarTestCase { ... }
      
      @TestCase @ContainerInstance("InstanceFoo")
      class TestsToBeRunOnFoo2TestCase { ... }
      

      With this setup, Arq would:

      • start InstanceFoo
        • run TestsToBeRunOnFooTestCase
        • run TestsToBeRunOnFoo2TestCase
      • stop InstanceFoo
      • start InstanceBar
        • run TestsToBeRunOnBarTestCase
      • stop InstanceBar

      To optimize a bit, Arquillian could order the test to group them by instance name.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aslak Aslak Knutsen
                  Reporter:
                  ozizka Ondrej Zizka
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: