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

Supporting Test Suites (@ArquillianSuite)

    Details

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

      Description

      Currently, it is supported that JUnit test cases being run by Arquillian. This feature request is request for supporting test suites too to be run by Arquillian too. Idea is like:

      @RunWith(ArquillianSuite.class)
      @Suite.SuiteClasses(

      { TestCase1.class, TestCase2.class, .... }

      )
      public class AllTests{
      @Deployment
      public static JavaArchive createTestArchive()

      { return ShrinkWrap.create(JavaArchive.class,"test.jar"); }

      }

      The advantages of above approach for users of Arquillian framework are:

      • Test cases don't needed to be modified to have: "@RunWith(Arquillian.class)" annotation. In other words, test cases will be pure JUnit code, and no Arquillian code (results in less coding for end users).
      • It is not necessary to include the static "@Deployment" methods in all test cases any more, and only Test Suite need to define the archieving/deployment related setting/definitions.

      The advantage of above approach for framework itself is:

      • From performance point-of-view, it becomes possible for Arquillian to deploy all test cases in the Test Suite into J2EE container in one action (one deploy/undeploy for one test suite, instead of mulitple deploy/undeploy for each test case).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aslak Aslak Knutsen
                  Reporter:
                  smmousavi1 Mousavi Jahan Abadi S. M.
                • Votes:
                  87 Vote for this issue
                  Watchers:
                  75 Start watching this issue

                  Dates

                  • Created:
                    Updated: