Testing MSMQ WCF Modules

I created a msmq user service with WCF that uses custom binding, as it needs to execute some user-level logic at the channel level, where it calls another wcf service. In the next few years, this service will become the main functionality for our systems. I want to do everything I can to make sure that the service is reliable, but I'm not sure where to start. Those. testing the answer, should I create a mock queue object? How can I verify that a service is calling another service?

+3
source share
1 answer

The best way to find msmq unit test services is to actually implement the unit test service implementation and then run the integration test using msmq using the mock repository. To see if recordings are working.

+2
source

Source: https://habr.com/ru/post/1742284/


All Articles