Replies: 1 comment
-
|
connection to server is made only when I think, if you are testing application code, both approaches ( mocking and using fake/ephemeral redis ) work. They have slightly different purposes i would say. Usually you want to mock in a lower level unit-test for speed. And you can use testcontainers or any other non-prod redis instance to connect to for integration/end-to-end tests. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Questions
Beta Was this translation helpful? Give feedback.
All reactions