Mock HTableInterface

2015-05-19 Thread hongbin ma
hi, experts i'm looking for some mock for HTableInterface for my unit tests. I googled and found it can be done by mockito or minicluster. However, I'm looking for some HTableInterface mock that persist my data(for a little while before it is used), i'm not sure if mockito will do it. For

Re: Mock HTableInterface

2015-05-19 Thread Bryan Beaudreault
One possibility is fake-hbase from the guys working on kiji: https://github.com/kijiproject/fake-hbase Alternatively, HTableInterface is just that, an interface. You can put whatever implementation you want behind it. We have many implementations of HTableInterface for a variety of use cases. At