Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2204

JUnit: how to mock Jedis

$
0
0

I'm writing a session store for tomcat in order to drain the inactive sessions into a redis server. I'm going to write the unit tests but I cannot figured out how to mock the calls to the redis server. Any suggestion?

Thanks a lot

Ps: I'm using Jedis as redis client


Viewing all articles
Browse latest Browse all 2204

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>