Open dartartem opened 3 years ago
What would these events tests actually test?
DomainEventPublisher and DomainEventDispatcher (Event publishing and subscribing)
OK. But this issue missing a lot of details.
Are you proposing in-memory tests or are they with a real database and/or message broker?
And what would be the cost of these tests in terms of execution time?
Are you proposing in-memory tests or are they with a real database and/or message broker?
message broker tests, at least kafka
And what would be the cost of these tests in terms of execution time?
I will check
@cer Chris,
eventuate-tram-core-examples-basic contains a test similar to what I would like to implement on eventuate-tram-core side.
On kafka and mysql profile it takes about 3 seconds (If run from Idea).
There are tests for messages
and module for command testing: eventuate-tram-commands-db-broker-integration-test
But there are no event tests. Probably we should add them.