yevhen / Streamstone

Event store for Azure Table Storage
Other
395 stars 64 forks source link

Q: Does StreamStone support in-memory testing like EventStore's embedded IEventStoreConnection ? #34

Closed mmisztal1980 closed 7 years ago

mmisztal1980 commented 7 years ago

As title says, I'm starting to play around with Streamstone and I'd like to write some tests that don't require my azure storage emulator to run all the time?

I think EventStore supports it via the EventStore.Client.Embedded package. Does Streamstone have a similar feature?

Best regards, Maciej

yevhen commented 7 years ago

Nope. Running tests against local storage emulator is extremely fast. Why do you need that? What problem will it solve?

mmisztal1980 commented 7 years ago

This would mostly serve test automation. Some of our CI environments are managed by folks who are extremely reluctanct to install anything but msbuild, targeting packs and sdks :) we prefer to be able to cut ourselves from our umderlying infrastructure.

yevhen commented 7 years ago

Well, in this case you can simply test your aggregates against mock (create simple interface for SS stream writes/reads), but I think it's better to test against real infra. Up to you.