On Fri, Dec 4, 2009 at 12:01 PM, Steve Kuo <[email protected]> wrote:
> > * Unit test speed up by order of magnitude > HBASE-410<https://issues.apache.org/jira/browse/HBASE-410>which has > been resolved by you. > > Is the new JUnit 4 solution different from what Dave is talking about? > Junit4 and the new HBaseTestingUtility class that adds facility to spin up cluster once, run a suite of tests and then shut it all down again rather than start and stop cluster per test is part of the speedup effort. Other part is tricks like Dave describes but generalizing and seeing if there are a set of mock objects that we could come up with that would make it so didn't have to spin up mini clusters testing components. If there are ideas for the latter, we'd be interested. There is an HTableInterface and soon to be a HRegionInterface that should help a mock objects effort. St.Ack
