camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6826) Use Mock Objects Instead of Live HazelcastInstances to Speed Up Testing
Date Sat, 11 Jul 2015 18:25:04 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-6826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623512#comment-14623512
] 

James Carman commented on CAMEL-6826:
-------------------------------------

You mean it's fast enough after the changes made?  Sorry didn't realize this was the one with
work already done.  If we like how it works now, I'm cool with closing this, but it should
be marked as "fixed" since something was actually done.

> Use Mock Objects Instead of Live HazelcastInstances to Speed Up Testing
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-6826
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6826
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-hazelcast
>            Reporter: James Carman
>
> The unit tests for the camel-hazelcast component use real HazelcastInstance objects,
which is very slow.  We should use mock objects instead to speed up testing.  Testing the
integration can be done with a few, select tests, but the majority of the logic can be tested
with mocks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message