unit tests

Bryan Kearney bkearney at redhat.com
Mon Jul 12 20:48:54 UTC 2010


On 07/12/2010 04:30 PM, Jesus Rodriguez wrote:
> On Mon, Jul 12, 2010 at 04:04:22PM -0400, Bryan Kearney wrote:
>> On 07/12/2010 03:54 PM, Adam Young wrote:
>>> On 07/12/2010 03:47 PM, Jesus Rodriguez wrote:
> [snip]
>
>> My issue with mocks have been that they make the unit tests very
>
> I've had this problem when we used 'stubs' as mock objects. But
> this seems much easier with mockito.
>
>> fragile. What Dmitri showed earlier was not failing based on the order
>> of the internal methods called, or missing methods. If that works as
>> expected.. +1.
>
> What do you mean? /me missed what Dmitri showed.
>
Dmitri gave a chat on mockito.

-- bk




More information about the candlepin mailing list