Popularity
1.2
Growing
Activity
0.0
Stable
43
3
3

Programming language: Swift
License: MIT License
Tags: Testing     Mock    
Latest version: v0.1.1

AutoMockable alternatives and similar libraries

Based on the "Mock" category.
Alternatively, view AutoMockable alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of AutoMockable or a related project?

Add another 'Mock' Library

README

AutoMocker

platforms pod Carthage compatible

Context

AutoMocker is a Swift framework that leverages the type system to let you easily create mocked instances of your data types.

Here's an example of how it can be used:

struct MyData {
    let bool: Bool
    let string: String
    let integers: [Int]
}

let mocked = mock(MyData.init) // a mocked instance has been created 🎉

For the moment, AutoMocker supports initializers that take up to 6 arguments.

Requirements

Xcode 10+ & Swift 5.0

Installation

CocoaPods

Add the following to your Podfile:

pod "AutoMocker"

Carthage

Add the following to your Cartfile:

github "vincent-pradeilles/AutoMocker"

Author