-
Notifications
You must be signed in to change notification settings - Fork 99
OCHamcrest FAQ
Jon Reid edited this page Dec 24, 2015
·
12 revisions
OCHamcrest's regular assertThat
and assertWithTimeout
is compatible with the following testing frameworks:
- XCTest
- OCUnit (SenTestingKit)
- Kiwi
- Cedar
- GHUnit
- Google Toolbox for Mac (GTM)
- OCMock
- OCMockito
Note that you can use any OCHamcrest matchers directly, apart from assertThat
.
If you see something like
+[NSInvocation och_invocationWithTarget:selector:]: unrecognized selector sent to class
then add -ObjC
to the "Other Linker Flags" of your test target.