Closed fabiante closed 4 years ago
@mishudark Hi! I'd like to contribute my mock implementations for the event bus and event store.
This is currently only a draft but I want to "show" it to you anyway so that you can give me some early feedback.
Would be great to know what you think. Thanks
hey, thanks for the draft, I'm close to deprecate the actual version in favor of the v2
in that branch, that is more stable and contains better support for failures and the rewrite of badger
Okay. I gues it would be more sensible then to implement the mocks not from the master branch but from v2
I'll do that some time later.
This PR adds a mocked event store.
Background
For testing I'd like to use this library without an actual mongodb and rabbitmq.
For that I need mock implementations (or in-memory) which I try to create right now.
Changes
eventstore/mock
including basic tests