1

Is there a way to force failure in a Kiwi test, i.e. the equivalent of XCTFail().

I can write something like

[@"" should] beNil]

that will always fail but I was figuring Kiwi must have something a little more expressive of the developer's intent baked into the framework.

vrwim
  • 13,020
  • 13
  • 63
  • 118
jbelkins
  • 470
  • 3
  • 15

1 Answers1

3

Yep, you can use the fail() macro:

fail(@"message");
Adam Sharp
  • 3,618
  • 25
  • 29