karolus / Mimus

Swift Mocking Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 3.0
  • Protocol-oriented implementation
  • Integrated with XCTest
  • Support for basic types
  • Support for optionals
  • Support for collections (Array/Dictionary)
  • Detailed failure reporting
  • Battle 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.

About

Swift Mocking Library

License:MIT License


Languages

Language:Swift 97.3%Language:Ruby 1.9%Language:Objective-C 0.7%Language:Shell 0.2%