jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Kumler" <bkum...@firstam.com>
Subject Question about Servlet TestSuite
Date Fri, 17 Oct 2003 20:55:23 GMT
I have the following script

package com.test;

import junit.framework.*;
import org.apache.log4j.Logger;



public class AllBatTests{


  private static Logger logger = Logger.getLogger(AllBatTests.class);

  
  public static Test suite() {
    TestSuite suite = new TestSuite();
    suite.addTest(com.test.QaServiceBatTest.suite());
    suite.addTest(com.test.QaProductBatTest.suite());
    return suite;
  }
}

If I change it to 

public static Test suite() {
    ServletTestSuite suite = new ServletTestSuite ();
    suite.addTest(com.test.QaServiceBatTest.suite());
    suite.addTest(com.test.QaProductBatTest.suite());
    return suite;
}

Can I still use JUnit to run the test or do I need seperate test suites?


Thanks


Mime
View raw message