Relative Content

Tag Archive for asp.net.netprocessmockingmicroservices

Is it possible to mock services in component tests?

I need to develop a microservice that needs to receive an event. If the data update was successful, then you need to forcefully kill the process(Process.Kill()). Otherwise, send to the message broker that the operation was not successful and needs to be restarted. I encountered a problem that when I kill a process, the execution of the component test automatically ends.