Swift Testing

Open-source Swift projects categorized as Testing

Top 23 Swift Testing Projects

  1. Quick

    The Swift (and Objective-C) testing framework.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Nimble

    A Matcher Framework for Swift and Objective-C

  4. SnapshotTesting

    📸 Delightful Swift snapshot testing.

    Project mention: Criando um módulo com Swift Package Manager | dev.to | 2024-08-12

    dependencies: [ .package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.10.0") ],

  5. ViewInspector

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

  6. UI Testing Cheat Sheet

    How do I test this with UI Testing?

  7. swift-testing

    A modern, expressive testing package for Swift

    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/

  8. Fakery

    :alien: Swift fake data generator

  9. SaaSHub

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

    SaaSHub logo
  10. Cuckoo

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

  11. Mockingjay

    An elegant library for stubbing HTTP requests with ease in Swift

  12. RandomKit

    Random data generation in Swift

  13. SwiftCheck

    QuickCheck for Swift

  14. UIFontComplete

    Font management (System & Custom) for iOS and tvOS

  15. Sizes

    View your app on different device and font sizes

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

  17. swift-corelibs-xctest

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

  18. Mocker

    Mock Alamofire and URLSession requests without touching your code implementation

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

  20. Sleipnir

    BDD-style framework for Swift

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

  22. Kakapo

    🐤Dynamically Mock server behaviors and responses in Swift

  23. Mockingbird

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

  24. DVR

    Network testing for Swift

  25. Erik

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

  26. 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 discussion

Log in or Post with

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 - CodeRabbit
    coderabbit.ai | 17 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. 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,815
2 Nimble 4,830
3 SnapshotTesting 3,883
4 ViewInspector 2,295
5 UI Testing Cheat Sheet 2,170
6 swift-testing 1,928
7 Fakery 1,804
8 Cuckoo 1,686
9 Mockingjay 1,491
10 RandomKit 1,463
11 SwiftCheck 1,416
12 UIFontComplete 1,330
13 Sizes 1,228
14 WKZombie 1,169
15 swift-corelibs-xctest 1,162
16 Mocker 1,148
17 SwiftyMocky 1,049
18 Sleipnir 843
19 Buildasaur 772
20 Kakapo 759
21 Mockingbird 666
22 DVR 649
23 Erik 603

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Swift is
the 15th most popular programming language
based on number of references?