An interesting test case would be test failure behavior.
This could be a flag passed into the constructor which throws JedisException for all API calls like get(), set(). A bit of more enhancement on top of this feature would be to have the possibility of failure on a random percentage.
This feature would make mock-jedis attain perfection :+1:
An interesting test case would be test failure behavior. This could be a flag passed into the constructor which throws JedisException for all API calls like get(), set(). A bit of more enhancement on top of this feature would be to have the possibility of failure on a random percentage. This feature would make mock-jedis attain perfection :+1: