ecotoneframework / ecotone-dev

Ecotone Framework Development - This is Monorepo which contains all official public modules
https://docs.ecotone.tech
Other
37 stars 16 forks source link

Testing flow for saga and distributed bus publisher/consumer #312

Open lifinsky opened 8 months ago

lifinsky commented 8 months ago

Description
Current testing examples and documentation do not cover saga with distributed bus commands and events without real AMQP connection for unit testing or integration with in memory queue channel.

benr77 commented 4 months ago

@dgafka told me a month or so ago that currently there is no support for testing DistributedBus. This would be a great addition. In the meantime you just need to mock it but it's not particularly elegant.

dgafka commented 4 months ago

Current testing examples and documentation do not cover saga

Saga can be tested, just as Aggregates using Ecotone Lite. However there is not yet support for Distributed Bus