Ok. I've just committed the new feature! Initializable has now disappeared (it has never been made public) and has been replaced by the simple and standard JUnit TestSetup mechanism.
Cactus is thus providing a JettyTestSetup class that you can use to start Jetty before your unit tests are executed. -Vincent > -----Original Message----- > From: Vincent Massol [mailto:[EMAIL PROTECTED] > Sent: 14 July 2003 10:43 > To: 'Cactus Users List' > Cc: [EMAIL PROTECTED] > Subject: RE: Initializable > > Hi Barbara, > > The Initializable class is a new feature of Cactus 1.5. Thus you can get > it only in nightly builds (It will be released very soon now). It is > possible to use Initializable for starting Tomcat. ATM, the Cactus > project is only providing an implementation for starting Jetty (it makes > sense as it is a java-embeddable container). > > I wouldn't recommend to use the Initializable interface right now as I > think the way it works is not great and it will be changed in the > future. My vision is rather to provide custom Test Suites such as: > > JettyTestSuite(), TomcatTestSuite(), etc > > They would be used: > > public static Test suite() > { > TestSuite suite = new TestSuite(Myclass.class); > return new JettyTestSuite(suite); > } > > The JettyTestSuite would automatically start jetty before any test of > the suite is started. > > Thanks > -Vincent > > > -----Original Message----- > > From: Barbara Allori [mailto:[EMAIL PROTECTED] > > Sent: 04 July 2003 15:21 > > To: [EMAIL PROTECTED] > > Subject: Initializable > > > > Hello, > > > > Can somebody tell me if it's possible to use the interface > > Initializable also for Tomcat? And if it's possible where I can found > this > > class? > > > > Thanks :) > > > > > > Cordiali Saluti, > > Ing. Barbara Allori > > Akros Informatica s.r.l > > [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
