You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jeremy Boynes <jb...@apache.org> on 2006/07/18 22:32:48 UTC

jMock vs. EasyMock

In chianti we had started to play with jMock as a mock object test  
framework but after living with it for a while I started to get  
frustrated with it. I saw that Raymond's databinding framework was  
using EasyMock and tried converting over one of the jMock testcases.  
It was fairly simple to do and easymock lived up to its name.

I think we should pick just one framework and would suggest we that  
it's easymock - does anyone have any other preference or comments?
--
Jeremy


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


Re: jMock vs. EasyMock

Posted by Raymond Feng <en...@gmail.com>.
Hi,

It seems that EasyMock is easier to understand and use. It takes a record 
and play approach on the real methods. That's why I decided to get it a try.

Thanks,
Raymond

----- Original Message ----- 
From: "Jeremy Boynes" <jb...@apache.org>
To: <tu...@ws.apache.org>
Sent: Tuesday, July 18, 2006 1:32 PM
Subject: jMock vs. EasyMock


> In chianti we had started to play with jMock as a mock object test 
> framework but after living with it for a while I started to get 
> frustrated with it. I saw that Raymond's databinding framework was  using 
> EasyMock and tried converting over one of the jMock testcases.  It was 
> fairly simple to do and easymock lived up to its name.
>
> I think we should pick just one framework and would suggest we that  it's 
> easymock - does anyone have any other preference or comments?
> --
> Jeremy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> 


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


Re: jMock vs. EasyMock

Posted by Jim Marino <jm...@myromatours.com>.
On Jul 18, 2006, at 1:32 PM, Jeremy Boynes wrote:

> In chianti we had started to play with jMock as a mock object test  
> framework but after living with it for a while I started to get  
> frustrated with it. I saw that Raymond's databinding framework was  
> using EasyMock and tried converting over one of the jMock  
> testcases. It was fairly simple to do and easymock lived up to its  
> name.
>
> I think we should pick just one framework and would suggest we that  
> it's easymock - does anyone have any other preference or comments?
The Celtix binding also used EasyMock. I don't have any preference  
other than we should pick one. I'm happy to go with EasyMock as long  
as people are willing to help out converting the existing unit tests.

Jim


> --
> Jeremy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>


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