All Projects → AirHelp → Mimus

AirHelp / Mimus

Licence: mit
Swift Mocking Library

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Mimus

Gmock.py
'Google Mock' mocks generator based on libclang
Stars: ✭ 35 (-64.65%)
Mutual labels:  mocking
Vcr
Record HTTP calls and replay them
Stars: ✭ 54 (-45.45%)
Mutual labels:  mocking
Networking
Easy HTTP Networking in Swift a NSURLSession wrapper with image caching support
Stars: ✭ 1,269 (+1181.82%)
Mutual labels:  mocking
Jazzon
Add some jazz to your JSON files
Stars: ✭ 38 (-61.62%)
Mutual labels:  mocking
Moka
A Go mocking framework.
Stars: ✭ 53 (-46.46%)
Mutual labels:  mocking
Gock
HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
Stars: ✭ 1,185 (+1096.97%)
Mutual labels:  mocking
Moq
Interface mocking tool for go generate
Stars: ✭ 941 (+850.51%)
Mutual labels:  mocking
Cuckoo
Boilerplate-free mocking framework for Swift!
Stars: ✭ 1,344 (+1257.58%)
Mutual labels:  mocking
Mockstar
Demo project on How to be a Mockstar using Mockito and MockWebServer.
Stars: ✭ 53 (-46.46%)
Mutual labels:  mocking
Mockito Java8
Mockito add-ons leveraging Java 8 and lambda expressions to make mocking even more compact
Stars: ✭ 82 (-17.17%)
Mutual labels:  mocking
Mecks unit
A simple Elixir package to elegantly mock module functions within (asynchronous) ExUnit tests using Erlang's :meck library
Stars: ✭ 43 (-56.57%)
Mutual labels:  mocking
Generator Http Fake Backend
Yeoman generator for building a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 49 (-50.51%)
Mutual labels:  mocking
Testdouble.js
A minimal test double library for TDD with JavaScript
Stars: ✭ 1,214 (+1126.26%)
Mutual labels:  mocking
Wiremockui
Wiremock UI - Tool for creating mock servers, proxies servers and proxies servers with the option to save the data traffic from an existing API or Site.
Stars: ✭ 38 (-61.62%)
Mutual labels:  mocking
Mockduck
A network mocking layer for iOS, tvOS, and macOS
Stars: ✭ 88 (-11.11%)
Mutual labels:  mocking
Proxay
Proxay is a record/replay proxy server that helps you write faster and more reliable tests.
Stars: ✭ 32 (-67.68%)
Mutual labels:  mocking
Fakeiteasy
The easy mocking library for .NET
Stars: ✭ 1,092 (+1003.03%)
Mutual labels:  mocking
Redismock
🕋 Mocking Redis in unit tests in Go.
Stars: ✭ 99 (+0%)
Mutual labels:  mocking
Capture Thread
Lock-free framework for loggers, tracers, and mockers in multithreaded C++ programs.
Stars: ✭ 93 (-6.06%)
Mutual labels:  mocking
Wiremock Ui
An unofficial UI for WireMock
Stars: ✭ 80 (-19.19%)
Mutual labels:  mocking

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.

Swift Package Manager

Mimus is available through Swift Package Manager.

  • When added as a package dependency:
dependencies: [
        .package(
            url: "https://github.com/AirHelp/Mimus.git", 
            from: "1.1.4"
        )
    ]
  • When added as an Application dependency:
To add a package dependency to your Xcode project, select File > Swift Packages > Add Package Dependency and enter its repository URL. 
You can also navigate to your target’s General pane, and in the “Frameworks, Libraries, and Embedded Content” section, click the + button. 
In the “Choose frameworks and libraries to add” dialog, select Add Other, and choose Add Package Dependency.

Authors

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

Logo Design by Arkadiusz Lipiarz [email protected]

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].