camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré>
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.


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é
Talend -

View raw message