Hi All, 
I'm testing my EBJs with cactus 1.5, and i'd like to test all by a
ServletTestSuite, or a simply Suite.

I did it defining this class:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
package test.suite;
import junit.framework.*;
import org.apache.cactus.*;
public class AllTests
    extends ServletTestSuite {

  public AllTests(String s) {
    super(s);
  }
public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite("sessioncactustest".class);
        suite.addTestSuite("entity1cactustest".class);
        suite.addTestSuite("entity2cactustest".class);
        return suite;
  }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

This suite works fine, but I can't create a hierarchy of test, I think
it's cause of the project architecture: the session bean is in a packege
indipendet from the package of the entity bean, even if the sessionbean
calls the two entityBean.

So the question are two: 
- why I have to use a SevletTestSuite that is a simply wrapper of the
junit TestSuite, isn't the same of using a TestSuite????
- how may i define a test hierarchy??? Do i have to call a suite inside
a   suite???

Thank in advance

Mariasole


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to