I got the same random behavior. I was able to identify that I was making an Asynchronous call, and testing it, was what caused this random Unexpected TestSuiteWillFinish
.
As I'm using Kiwi
, what I did is to wait a little bit the end of the asynchronous call like indicated here (https://github.com/allending/Kiwi/wiki/Asynchronous-Testing) for those specicfic asynchronous calls.
Hope this help!