开发者

Debugging CQRS Applications

When debugging a CQRS dev env - do you bother developing with the 开发者_StackOverflow社区esb running? Or do you fake the esb?


That would depend on what you want to test.

If you want to test the whole chain, end-to-end (an integration test), then obviously the ESB is part of that chain.

If you want to debug command handlers or the service that receives the commands (unit tests), then the service bus is out of the picture.

For thorough testing, you need both. For quick testing, you only need the unit tests.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜