OCMock

An Objective-C implementation of mock objects
Download

OCMock Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT License
  • Price:
  • FREE
  • Publisher Name:
  • Mulle kybernetiK
  • Operating Systems:
  • Mac OS X 10.4 or later
  • File Size:
  • 195 KB

OCMock Tags


OCMock Description

An Objective-C implementation of mock objects If you are unfamiliar with the concept of mock objects please visit mockobjects.com which has more details and discussions about this approach to testing software.The OCMock implementation fully utilizes the dynamic nature of Objective-C. OCMock will create mock objects on the fly and uses the trampoline pattern so that you can define expectations and stubs using the same syntax that you use to call methods. Here are some key features of "OCMock": · Class mocks · Expectations and verification · Stubs · Argument constraints · Nice mocks / failing fast · Protocol mocks · Partial mocks · Observer mocks · Instance-based method swizzling Requirements: · Apple Xcode What's New in This Release: · Fixed broken test for array argument descciptions (Craig Beck) · Disambiguated mock table method name to avoid compiler warning · Renamed some variables to avoid warnings when using -Wshadow · Partial mocks are now deallocated as they should · Fixed problems that occured when using mocks as arguments


OCMock Related Software