Daniel Kulp wrote:
> 
> I know Jeremy, Jim, and I discussed something similar when I started the 
> Celtix stuff.   There are a bunch of "mock" objects that are duplicated in 
> several of the SCA projects for the same reason.  We have considered pulling 
> them out into a testutils project to remove some of that duplication.
> 

In the sandbox there is a "test" module that does just that - it
provides mock implementations of things from the SPI so that you can
test against it.

We have also started to use jMock as a mock-object framework. It is able
to generate mock implementations that automatically validate that they
are being called correctly. It takes a lot of the work out of mocking
things up.

--
Jeremy

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

Reply via email to