Hi,

Please do not pay attention to my last CVS commit which introduced the
AbstractCactusTestCase class. I've realized there's a better way. Here's
what I'd like to for brokers/spines/testlet/etc writers:

* They create a XXXTestCase class which extends TestCase
* They create a runBare() method in XXXTestCase, as follows:

public void runBare() throws Throwable
{
    new CactusTestCaseHandler(
        new XXXProtocolHandler(),
        new XXXConfiguration(),
        pureJUnitTestToWrapOrNullIfNone).runBare();
}

* XXXProtocolHandler implements ProtocolHandler IF
* XXXConfiguration implements Configuration (not the one that currently
exists)

Note: That's all that's needed for the client side. There's more for the
server side.

I think it's more flexible and better than hiding stuff in an Abstract
class.

I'll be writing an email soon with the client-side SPI for writing new
brokers/spines/testlets/etc.

Thanks
-Vincent


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

Reply via email to