When debugging a CQRS dev env – do you bother developing with the esb running? Or do you fake the esb?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.