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.
- 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
You can find examples and basic usage here.
For detailed usage refer to documentation folder.
Mimus is available through CocoaPods. To install it, simply add the following line to your Podfile against your test target:
pod "Mimus"
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.
Mimus is an AirHelp open source project, designed and implemented by
- Pawel Dudek, @eldudi, pawel@dudek.mobi
- Pawel Kozielecki, @pawelkozielecki, pawel.kozielecki@airhelp.com
Logo Design by Arkadiusz Lipiarz @arek_lipiarz, arkadiusz.lipiarz@airhelp.com
Mimus is available under the MIT license. See the LICENSE file for more info.