0 Replies Latest reply on Aug 16, 2007 9:10 AM by julien1

    HTTPTestRunner update

      I have updated the test runner so that it does not require to be subclassed to specify the file that will be deployed for the tests.

      Before we had to have:

      public class MyTest extends HTTPTestRunner
      {
       public MyTest()
       {
       super("mytest.war");
       }
      }
      


      now we can use:

       <zest todir="${test.reports}"
       name="org.jboss.portal.test.framework.runner.HTTPTestRunner"
       outfile="TEST-MyTest"
       id="MyTest">
       <parameter name="archive" value="mytest.war"/>
       </zest>
      


      the id will just be used by the XML report generator to identify the test name (until we write a test runner not based on JUnit ant tasks).