Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an XCTFail() equivalent in Quick-Nimble framework?

For a particular case, I need to generate failure of test case unconditionally in Quick-Nimble framework. How do I do this? An equivalent of XCTFail("Expecting to get failure callback") would be helpful.

like image 361
Sagarika Barman Avatar asked Nov 03 '17 09:11

Sagarika Barman


1 Answers

Yes. It's part of Nimble, and it's called fail.

fail("Expecting to get failure callback")

You can find the source code here.

like image 127
mokagio Avatar answered Oct 05 '22 08:10

mokagio