[jboss-dev-forums] [QA of JBoss Portal] - HTTPTestRunner update

julien@jboss.com do-not-reply at jboss.com
Thu Aug 16 09:10:25 EDT 2007


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).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074836#4074836

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074836



More information about the jboss-dev-forums mailing list