Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于特定情况,我需要在Quick - Nimble框架中无条件地生成测试用例失败。我该怎么做呢?等效的XCTFail("Expecting to get failure callback")会有所帮助。
XCTFail("Expecting to get failure callback")
是的。它是 Nimble 的一部分,称为fail.
fail
fail("Expecting to get failure callback")
您可以在此处找到源代码。