I am using https://github.com/go-redis/redis package to make Redis DB calls. For unit testing I want to mock this calls, is there any mock library or way to do it?
3条回答 默认 最新
- dpqvwgr74759 2017-06-26 17:29关注
Thank you all for the response. I found this package https://github.com/alicebob/miniredis very useful for redis mocking.
解决 无用评论 打赏 举报
悬赏问题
- ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
- ¥15 ubuntu虚拟机打包apk错误
- ¥199 rust编程架构设计的方案 有偿
- ¥15 回答4f系统的像差计算
- ¥15 java如何提取出pdf里的文字?
- ¥100 求三轴之间相互配合画圆以及直线的算法
- ¥100 c语言,请帮蒟蒻写一个题的范例作参考
- ¥15 名为“Product”的列已属于此 DataTable
- ¥15 安卓adb backup备份应用数据失败
- ¥15 eclipse运行项目时遇到的问题