/Mimus

Swift Mocking Library

Primary LanguageSwiftMIT LicenseMIT

Mimus

Version Platform Carthage compatible CocoaPods compatible License MIT Public Yes Build Status

Mimus is a bird genus in the family Mimidae. It contains the typical mockingbirds.

Mimus is a Swift mocking library, aiming to reduce boilerplate code required for building mocks in Swift. It's been battle tested at AirHelp where we've used it extensively across our test suites.

Main features:

  • Pure Swift (Support for versions from 3.0 to 4.2)
  • Protocol-oriented implementation
  • Integrated with XCTest
  • Support for basic types
  • Support for optionals
  • Support for collections (Array/Dictionary)
  • Detailed failure reporting
  • Unit-tested

Usage

You can find examples and basic usage here.

For detailed usage refer to documentation folder.

Installation

Cocoapods

Mimus is available through CocoaPods. To install it, simply add the following line to your Podfile against your test target:

pod "Mimus"

Carthage

You can also use Carthage for installing Mimus. Simply add it to your Cartfile:

github "Airhelp/Mimus"

and then link it with your test target.

Authors

Mimus is an AirHelp open source project, designed and implemented by

Logo Design by Arkadiusz Lipiarz @arek_lipiarz, arkadiusz.lipiarz@airhelp.com

License

Mimus is available under the MIT license. See the LICENSE file for more info.