I’ve setup a docker container for EventStore which is restarted before I run unit tests on my dev machine.
What I really like about this system is that I can setup the EventStore configuration to use MemDb and then restart the docker container at the beginning of the test run, starting all the tests with a fresh clean EventStore each time.
The problem is that I’m losing any projects that I manually setup in the EventStore.
Is there a way to add projection definitions to the configuration file or via some kind of cli or api, so that I can include projections in my test runs too?
I’ve attached my current docker container definition in case you need to see it.
docker-eventstore-tests.zip (2.15 KB)