You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by James Carman <ja...@carmanconsulting.com> on 2005/10/13 18:38:18 UTC

[all] Mock Objects Implementation...

All,

 

Is there a "standard" mock objects implementation that we are supposed to
use?  I like both EasyMock and JMock, but I'm starting to lean more towards
JMock for readability.  Any thoughts/objections?

 

James


Re: [all] Mock Objects Implementation...

Posted by Thomas Dudziak <to...@gmail.com>.
On 10/13/05, robert burrell donkin <ro...@blueyonder.co.uk> wrote:
> On Thu, 2005-10-13 at 12:38 -0400, James Carman wrote:
>
> > Is there a "standard" mock objects implementation that we are supposed to
> > use?
>
> i'm not sure that we're really into this kind of 'standards': but it is
> worth asking the community if they have any preferences (and why)...
>
> > I like both EasyMock and JMock, but I'm starting to lean more towards
> > JMock for readability.  Any thoughts
>
> only one: both have compatible licenses :)

you might want to have a look at this article, it also contains some
discussion of the differences between EasyMock and JMock:

http://www.martinfowler.com/articles/mocksArentStubs.html

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [all] Mock Objects Implementation...

Posted by robert burrell donkin <ro...@blueyonder.co.uk>.
On Thu, 2005-10-13 at 12:38 -0400, James Carman wrote:
> All,
> 
>  
> 
> Is there a "standard" mock objects implementation that we are supposed to
> use?  

i'm not sure that we're really into this kind of 'standards': but it is
worth asking the community if they have any preferences (and why)...

> I like both EasyMock and JMock, but I'm starting to lean more towards
> JMock for readability.  Any thoughts

only one: both have compatible licenses :)

> /objections?

none

- robert


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org