|
Vincent,
I mean MockObjects in the more generatl sense. For Servlets,
the API is frozen ( SerlvetRequest, ServletResponse ) more or
less. For EJB's the signature changes. When we "generate"
the
MockObjects, all we do is implement the EJB interface ( for
the
EJB api in question ) with an empty definition ( return null, or do
nothing)
The developer then modifies it to match his test ( at development
time)
not run time. At run-time, if a unit test is being run, the Finder uses the
generated stub instead of the real EJB
interface.
I think that's the general idea of MockObjects, although
terminology
may be slightly
different.
--- jerome
|
Title: RE: Mock Objects vs In-Container/Cactus
- Re: Mock Objects vs In-Container/Cactus Bob Davison
- Re: Mock Objects vs In-Container/Cactus Vincent Massol
- Re: Mock Objects Thomas Calivera
- Re: Mock Objects Vincent Massol
- Re: Mock Objects Thomas Calivera
- Re: Mock Objects Alex Fern�ndez
- Re: Mock Objects Thomas Calivera
- RE: Mock Objects vs In-Container/Cactus Jerome Banks
- Re: Mock Objects vs In-Container/Cactus Vincent Massol
- Re: Mock Objects vs In-Container/Cactus Jerome Banks
- Re: Mock Objects vs In-Container/Cactus Bob Davison
- Test classification Vincent Massol
- Re: Test classification Alex Fern�ndez
- Re: Test classification Alex Fern�ndez
- Re: Test classification Vincent Massol
- [cactus] Cactus Logo competition... Vincent Massol
- Re: Test classification Vincent Massol
- Re: Test classification Alex Fern�ndez
- Re: Test classification Thomas Calivera
- Re: Test classification Alex Fern�ndez
