Closed gitbuda closed 2 years ago
@antaljanosbenjamin I didn't even know that this exists, it's a nice idea, but my current thinking is we should close this because mocking Memgraph is more work, + it doesn't guarantee that everything will work with the real Memgraph instance. In addition, it's not the case that the tests are slow, and we need to decouple or something equivalent to that.
What do you think?
I think the mocks can be useful to inject errors in well specified places (e.g.: to a fetch in a fetch all or in a discard etc, just to make sure it really handles the errors well. If I am not mistaken, then:
Therefore I think this can be useful. If you don't want to spend time on is/don't have time for this, I can take a quick look at it. If it can be done in a few hours, then merging this is a pure win in my opinion.
Yep, I was also thinking about that, mocks could be useful. Feel free to process this PR and adjust/improve :D
Closing this because it's inactive for a very long time.
This is a hanging branch, the goal is to drop it or merge to master if it makes sense.