-
The node-redis RedisClient module has a connect method that initates the connection. The same is missing in the mock class.
-
I've really appreciated how ioredis-mock can be used as a drop-in replacement for ioredis in unit testing. I also appreciate that there is a compatibility table which is kept up-to-date.
One of th…
-
Hi @luzuojin, the plugin does not appear to support gradle projects.
Example: Maven project - [redis/jedis: Redis Java client (github.com)](https://github.com/redis/jedis) works
![image](https…
-
Using redisMock.On("Keys", "hello") fails and doesnt acknowledge the pattern sent in.
When I use "MatchedBy", it reports it as missing.
```
redisClient.On("Keys", mock.MatchedBy(func(input string…
-
Hi,
Sorry if this is documented somewhere, but is there a way to force either Mock, MagicMock or CoroutineMock to always return CoroutineMock for method calls? I understand that this can work with …
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Description
I want to upload a sklearn model, binary_classification_mock_credit_risk_sklearn.linear_model._log…
-
Redis test mocks all tracing calls, so we're not actually verifying against OpenTracing API, which led to #20
-
I am a newbie to Jest mocking , I came through this module and wanted to implement it but I am struggling . Hopefully someone can help me here .
I have a helper file which provides me the connection…
-
- [ ] 在本地使用h2模拟mysql 使用mock形式的redis
- [ ] idea插件 快捷键
-
目前,在 Redis 收编了 go-redis 之后,我认为没有必要再使用其他 redis 的依赖了。
所以你需要在本项目里面找到使用 github.com/gomodule/redigo/redis 的代码,全部替换掉。
注意要:
- 面向接口编程
- 依赖注入写法
- 提供单元测试,使用 go-mock 来替换真是的 redis 客户端
- 提供集成测试,要启动真实的 re…