OCMockito Versions Save

Mockito for Objective-C: creation, verification and stubbing of mock objects

v7.0.2

7 months ago

01 Oct 2022

Fixes:

  • Restores Carthage build. #169 Thanks to: Christian Tietze

Other:

  • Restores "year of first publication" in copyright notices

v7.0.1

2 years ago

Version 7.0.1

13 Mar 2022

Fixes:

  • Keep stubs working while verifying. #165 Thanks to: Damian Ferrai

v7.0.0

2 years ago

Version 7.0.0

24 Nov 2021

OCMockito now requires OCHamcrest v9.0.0 or higher.

Features:

  • Add support for Swift Package Manager. Thanks to: nrudnyk
  • Add Mac Catalyst to XCFramework-supported architectures in build script makeXCFramework.sh

Fixes:

  • Prevent false positives from verifying while stubbing. Thanks to: Damian Ferrai

v6.0.0

3 years ago

Version 6.0.0

19 Feb 2021

Features:

  • Packaged pre-built binary as single XCFramework containing 7 architectures:

    • macOS
    • iOS device
    • iOS simulator
    • tvOS device
    • tvOS simulator
    • watchOS device
    • watchOS simulator

    Note:

    • iOS projects that use the pre-built binary should now import OCMockito instead of OCMockitoIOS.
    • macOS projects should remove OCMockito from the Copy Files build phase.
    • For Carthage builds, specify --use-xcframeworks

    Thanks to: Mateusz Szklarek

  • Mac binary now supports Apple Silicon.

  • Use latest OCHamcrest to report mismatches using XCTIssue if using Xcode 12 or higher.

  • Simplified project settings. In particular:

    • Removed iOS Static Library target.
    • Removed iOS-specific test target.
    • Simplified Product Bundle Identifiers.

v5.1.3

4 years ago

Version 5.1.3

01 Jan 2020

Fixes:

  • Don't require clang module import.

v5.1.2

4 years ago

Version 5.1.2

24 Sep 2019

Improvements:

  • For building, update OCHamcrest to v7.1.2 to quiet warnings.

v5.1.1

5 years ago

Version 5.1.1

11 Sep 2018

Improvements:

  • Remove .gitkeep from Carthage folder.

v5.1.0

6 years ago

Version 5.1.0

29 Mar 2018

Features:

  • Made OCMockito/OCMockitoIOS into modules, so you can @import them. CocoaPods users should specify use_frameworks!

v5.0.1

6 years ago

Version 5.0.1

22 Sep 2017

Fixes:

  • Fixed new warnings from Xcode 9.

v5.0.0

6 years ago

Version 5.0.0

12 Aug 2017

OCMockito now requires OCHamcrest v7.0.0 or higher.

Features:

  • Added isKindOfClass: to class-and-protocol mocks. Thanks to: Kylan McBride
  • Support protocol class methods. Thanks to: Kylan McBride

Fixes:

  • Avoid potential problem iterating over mutable array. Thanks to: David Siebecker
  • Fixed nullability annotation mistakes.