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

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

    XMLWordPrintable

Details

    • Feature Request
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 1.0.0.CR5
    • None
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              aslak@redhat.com Aslak Knutsen
              ozizka_jira Ondrej Zizka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: