camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: [DISCUSS] Mock Objects for Hazelcast Unit Tests...
Date Fri, 04 Oct 2013 13:22:40 GMT
Hi James,

it sounds good to me. I would advice Easymock.

Regards
JB

On 10/04/2013 03:06 PM, James Carman wrote:
> As opposed to using a real HazelcastInstance, I would like to change
> the tests to use mock objects (using Mockito or something).  There is
> no real reason to use a live, running Hazelcast instance in a unit
> test and it makes the unit tests very slow.  Perhaps having a couple
> of tests that test the integration would be fine, but having every
> single test running against a real Hazelcast instance is just too time
> consuming.  Thoughts?
>
> James
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message