Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to log contents of InMemoryEventStore on failed test? #549

Open
tomekowal opened this issue Jan 15, 2024 · 0 comments
Open

Comments

@tomekowal
Copy link

tomekowal commented Jan 15, 2024

I am using the instructions from https://github.com/commanded/commanded/wiki/In-memory-event-store
Unit tests with in-memory event store are super-fast and useful.
I recently encountered a flaky test and realised that during development I am relying a lot on the events in the development event store for debugging.

Would it be possible to configure the in-memory eventstore in such a way that it prints all events in case of a test failure? That would make debugging much easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant