I am wondering if Xcode has a capability to describe that certain tests are expected to fail.
I searched the web with keyword mixes like xcode, xfail, expect to fail, xctest, test scheme and so on. None got what I want and I came up here, the dev forum.
I am writing some test utility for my classes. So, the goal is to fail when the test utility detects anything wrong.
The test codes for the test utility are written purposely to fail. And I would like to take those failures as successes of the test.
I may add up some more codes in the test utility to flip the assert expressions not to fail for xfail purpose. However, it may introduce unexpected bugs and I don't want to take the additional risk (and unnecessary risk if xfail is supported in xcode)
I appreciate any feedbacks. Thanks!
dpdo