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

Redesign the test framework adaptor

    XMLWordPrintable

Details

    Description

      Too much of the Arquillian core responsibility is handed out to the Test Framework integration code. Redesign to a more event/lifecycle based integration.

      The DeployableTestBuilder should return a appropriate impl depending on in container or not.

      public interface DeployableTestRunner 
      {
         public void beforeSuite() throws LifecycleException
         public void afterSuite() throws LifecycleException
         public void beforeClass(Class<?> testClass) throws DeploymentException
         public void afterClasss(Class<?> testClass) throws DeploymentException
         public void before(Class<?> testClass, Method testMethod)
         public void after(Class<?> testClass, Method testMethod)
         public TestResult test(TestMethodExecutor testMethodExecutor)
      }
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: