In Xcode 9, continueAfterFailure = false not stopping test after assert failures

I have "continueAfterFailure = false" in my setup() method, but my tests continue running even after assert failures. I'm using Xcode 9.1. This used to work fine in Xcode 8.x. I tried taking the "continueAfterFailure = false" statement out of the setup() method and putting inside the test case but that didn't work either. It seems continueAfterFailure has no effect anymore.


Is this a known bug in Xcode 9 or am I doing something wrong?

Replies

Hi,


Is this a bug ??? is there any workaround for this. Is the bug fixed in latest version of xcode.