hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Pallas <joseph.pal...@oracle.com>
Subject Re: hbase test library
Date Fri, 29 Apr 2011 17:27:07 GMT

On Apr 29, 2011, at 6:09 AM, Patrick Angeles wrote:

> It would be a considerable help to the developer community if there were a
> set of mock classes for HTable and friends to help with unit testing. 

Maybe I’m misunderstanding the context, but why is there a need for static mocks?  Dynamic,
reflection-based mock systems (JMock, PowerMock, EasyMock, Mockito, I'm sure there are more)
are pretty much the norm these days.

We’ve been using Mockito to mock HTable and friends and are pretty happy with its ease of
use and capabilities.

joe


Mime
View raw message