"Lost connection to the test manager service" when running unit tests in Xcode

Almost every time I run unit tests inside an iOS simulator from Xcode, a random test fails with a "Lost Connection to Test Manager Service" error. What does it mean? Can this be fixed?

+5
source share
1 answer

I recently ran into this problem. This happened when I ran the asynchronous tests, and I wanted to check if the api calls were made with the correct endpoints and parameters using OCMock.

Turns out it was pretty simple, one of my parameter values ​​was set to a string while it should be int. Make sure everything is set up correctly for the test.

-1
source

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


All Articles