Swift Testing

Open-source Swift projects categorized as Testing

Top 23 Swift Testing Projects

  • GitHub repo Quick

    The Swift (and Objective-C) testing framework.

    Project mention: Mobile e2e tests using WebdriverIO and Appium | dev.to | 2021-02-28

    These tests are responsible for validating that a single unit is working properly. You can think of a unit as a class or function. These tests are written in an isolated fashion. I mean, if the rest of the system is full of bugs and nothing else work, if this unit work, the test will pass. They are also repeatable. They don't depend on anything else, really. Anytime you run the test, if the code hasn't changed, the test will report the same result. These tests are intimately related to the code quality of your project. If your code is clean, these tests should be relatively easy to write. When writing unit tests in iOS, you usually use XCTest or Quick

  • GitHub repo Nimble

    A Matcher Framework for Swift and Objective-C

  • GitHub repo UI Testing Cheat Sheet

    How do I test this with UI Testing?

  • GitHub repo SnapshotTesting

    📸 Delightful Swift snapshot testing.

  • GitHub repo SwiftMonkey

    A framework for doing randomised UI testing of iOS apps

  • GitHub repo Fakery

    :alien: Swift fake data generator

  • GitHub repo Mockingjay

    An elegant library for stubbing HTTP requests with ease in Swift

  • GitHub repo Cuckoo

    Boilerplate-free mocking framework for Swift!

  • GitHub repo SwiftCheck

    QuickCheck for Swift

  • GitHub repo UIFontComplete

    Font management (System & Custom) for iOS and tvOS

  • GitHub repo Sizes

    View your app on different device and font sizes

  • GitHub repo WKZombie

    WKZombie is a Swift framework for iOS/OSX to navigate within websites and collect data without the need of User Interface or API, also known as Headless browser. It can be used to run automated tests / snapshots and manipulate websites using Javascript.

  • GitHub repo swift-corelibs-xctest

    The XCTest Project, A Swift core library for providing unit test support

  • GitHub repo Sleipnir

    BDD-style framework for Swift

  • GitHub repo Buildasaur

    Automatic testing of your Pull Requests on GitHub and BitBucket using Xcode Server. Keep your team productive and safe. Get up and running in minutes. @buildasaur

  • GitHub repo Kakapo

    🐤Dynamically Mock server behaviors and responses in Swift

  • GitHub repo 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.

  • GitHub repo ViewInspector

    Runtime introspection and unit testing of SwiftUI views (by nalexn)

  • GitHub repo DVR

    Network testing for Swift

  • GitHub repo NaughtyKeyboard

    The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data. This is a keyboard to help you test your app from your iOS device.

  • GitHub repo Mocker

    Mock Alamofire and URLSession requests without touching your code implementation

  • GitHub repo Erik

    Erik is an headless browser based on WebKit. An headless browser allow to run functional tests, to access and manipulate webpages using javascript.

  • GitHub repo Spectre

    BDD Framework and test runner for Swift projects and playgrounds (by kylef)

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 2021-02-28.

Index

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

Project Stars
1 Quick 9,009
2 Nimble 4,008
3 UI Testing Cheat Sheet 1,971
4 SnapshotTesting 1,875
5 SwiftMonkey 1,800
6 Fakery 1,464
7 Mockingjay 1,417
8 Cuckoo 1,338
9 SwiftCheck 1,318
10 UIFontComplete 1,269
11 Sizes 1,213
12 WKZombie 1,104
13 swift-corelibs-xctest 876
14 Sleipnir 854
15 Buildasaur 778
16 Kakapo 768
17 SwiftyMocky 745
18 ViewInspector 731
19 DVR 637
20 NaughtyKeyboard 589
21 Mocker 497
22 Erik 444
23 Spectre 362