Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
14 Oct 2015
resetwas likely to clash with mocked methods. Call
- Fixed crash when multiple mock objects are at play on multiple threads.
- Stub void methods with
givenVoid(…). Thanks to: Lysann Schlegel
verifyCount(). Thanks to: Emile Cantin
-deallocof your System Under Test is trying to message an object that
is mocked. It disables message handling on the mock and frees its retained arguments. This
prevents retain cycles and crashes during test clean-up. See StopMockingTests.m for an example.
- NSInvocation+OCMockito.h is now imported by OCMockito.h, so it no longer needs a separate import.
- Deprecated MKTCapturingMatcher; use HCArgumentCaptor from OCHamcrest for capturing arguments.
There is no need to call -capture to get a matcher to use as the argument, since HCArgumentCaptor
is a matcher.
- Updated project settings to Xcode 7, with tests now run by XCTest.