Swift Testing

Open-source Swift projects categorized as Testing

Top 23 Swift Testing Projects

  • Quick

    The Swift (and Objective-C) testing framework.

  • Nimble

    A Matcher Framework for Swift and Objective-C

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • SnapshotTesting

    📸 Delightful Swift snapshot testing.

  • Project mention: XCTest different behavior locally vs Xcode Cloud | /r/swift | 2023-12-08
  • UI Testing Cheat Sheet

    How do I test this with UI Testing?

  • ViewInspector

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

  • Fakery

    :alien: Swift fake data generator

  • Cuckoo

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

  • Project mention: Tests Everywhere - Swift | dev.to | 2023-12-12

    Swift testing this simple Hello World with XCTest and Cuckoo

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Mockingjay

    An elegant library for stubbing HTTP requests with ease in Swift

  • RandomKit

    Random data generation in Swift

  • SwiftCheck

    QuickCheck for Swift

  • UIFontComplete

    Font management (System & Custom) for iOS and tvOS

  • Sizes

    View your app on different device and font sizes

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

  • swift-corelibs-xctest

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

  • Mocker

    Mock Alamofire and URLSession requests without touching your code implementation

  • swift-testing

  • Project mention: Writing Gnome Apps with Swift | news.ycombinator.com | 2024-03-27

    Take a look at https://github.com/apple/swift-testing It is under active development as Swift first replacement for xctest. For CI service, Xcode cloud does support running tests on mac and iOS hardware. https://developer.apple.com/xcode-cloud/

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

  • Sleipnir

    BDD-style framework for Swift

  • 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

  • Kakapo

    🐤Dynamically Mock server behaviors and responses in Swift

  • DVR

    Network testing for Swift

  • Mockingbird

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

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

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

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Swift Testing related posts

  • Tests Everywhere - Swift

    2 projects | dev.to | 12 Dec 2023
  • XCTest different behavior locally vs Xcode Cloud

    1 project | /r/swift | 8 Dec 2023
  • Looking for Mocking Framework

    2 projects | /r/swift | 8 May 2023
  • What design patterns exist and which should I learn for SwiftUI?

    2 projects | /r/SwiftUI | 27 Apr 2023
  • SwiftUI unit tests FTW

    1 project | /r/SwiftUI | 20 Apr 2023
  • A Practical Approach to Automated Accessibility

    4 projects | dev.to | 14 Feb 2023
  • Any good resources for learning Unit testing?

    1 project | /r/iOSProgramming | 4 Jan 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 7 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

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

Project Stars
1 Quick 9,764
2 Nimble 4,775
3 SnapshotTesting 3,603
4 UI Testing Cheat Sheet 2,161
5 ViewInspector 2,055
6 Fakery 1,777
7 Cuckoo 1,640
8 Mockingjay 1,487
9 RandomKit 1,470
10 SwiftCheck 1,412
11 UIFontComplete 1,327
12 Sizes 1,224
13 WKZombie 1,160
14 swift-corelibs-xctest 1,121
15 Mocker 1,073
16 swift-testing 1,060
17 SwiftyMocky 1,000
18 Sleipnir 844
19 Buildasaur 774
20 Kakapo 762
21 DVR 651
22 Mockingbird 643
23 NaughtyKeyboard 587

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com