Today I opened my previous project and just ran all unit tests. I was so proud that they working with new XCode, even with some warnings.
But waiiiit….they all are passed.
I just wrote
and it passed too.
I found a long conversation in Github, as I know guys from Quick fixed same bug, but Specta seems still broken. I recommend you do not trust to its results. problems that I’ve found:
- run single test file – always pass
- you can’t run one test item – it doesn’t work
- f prefix doesn’t work too!
- if the test failed it disappears from Test Results tab
Related GitHub issues:
Hard to say, but I used to switch back to XCTestCase. You can check some examples here: https://github.com/oks/Alister