Swift Mock

Open-source Swift projects categorized as Mock

Top 12 Swift Mock Projects

  • Cuckoo

    Boilerplate-free mocking framework for Swift! (by Brightify)

  • Mocker

    Mock Alamofire and URLSession requests without touching your code implementation

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • SwiftyMocky

    Framework for automatic mock generation. Adds a set of handy methods, simplifying testing. One of the best and most complete solutions, including generics support and much more.

    Project mention: Looking for Mocking Framework | /r/swift | 2023-05-08

    what mocking framework do you use? I have used SwiftyMocky so far and MockingBird looks also promising.

  • Kakapo

    🐤Dynamically Mock server behaviors and responses in Swift

  • mockolo

    Efficient Mock Generator for Swift

  • Mockingbird

    A Swifty mocking framework for Swift and Objective-C. (by birdrides)

    Project mention: Looking for Mocking Framework | /r/swift | 2023-05-08

    what mocking framework do you use? I have used SwiftyMocky so far and MockingBird looks also promising.

  • Mockingbird

    Simplify software testing, by easily mocking any system using HTTP/HTTPS, allowing a team to test and develop against a service that is not complete or is unstable or just to reproduce planned/edge cases. (by Farfetch)

  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

  • RandomUserSwift

    👤 Framework to Generate Random Users - An Unofficial Swift SDK for randomuser.me

  • MockSwift

    MockSwift is a Mock library written in Swift.

    Project mention: Writing unit tests with mocked dependencies in Swift | dev.to | 2022-11-09

    Instead of creating our own test version of a class implementing the ApiClientProtocol, we'll use a mocking package to do the heavy lifting for us. There are multiple mocking packages for Swift, but I'll be using MockSwift here. Setting it up requires some work, since it has to work around the limitations of Swift.

  • AutoMockable

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

  • iOS

    LetSee makes it easy to provide mock responses for your API requests. The main intention of having a library like this is to have a way to mock the response of requests on runtime in an easy and convenient way to be able to test all available scenarios without the need to rerun or change the code. (by Let-See)

    Project mention: LetSee 1.0.0— Mock API’s Responses, It has never been easier | /r/iOSProgramming | 2023-01-17

    LetSee https://github.com/Let-See/LetSeeiOS

  • MockImagePicker

    Mock UIImagePickerController for testing camera based UI in simulator

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-08.

Swift Mock related posts

Index

What are some of the best open-source Mock projects in Swift? This list will help you:

Project Stars
1 Cuckoo 1,606
2 Mocker 986
3 SwiftyMocky 958
4 Kakapo 763
5 mockolo 707
6 Mockingbird 617
7 Mockingbird 191
8 RandomUserSwift 96
9 MockSwift 84
10 AutoMockable 41
11 iOS 38
12 MockImagePicker 21
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
www.influxdata.com