Swift unit-testing

Open-source Swift projects categorized as unit-testing

Top 9 Swift unit-testing Projects

unit-testing
  1. SwifterSwift

    A handy collection of more than 500 native Swift extensions to boost your productivity.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. ViewInspector

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

  4. swift-testing

    A modern, expressive testing package for Swift

  5. Fakery

    :alien: Swift fake data generator

  6. Cuckoo

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

  7. Guise

    An elegant, flexible, type-safe dependency resolution framework for Swift (by Prosumma)

  8. Guava

    A Swift test double library. Guava - looks like an apple but it's not. (by merindorium)

  9. SaaSHub

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

    SaaSHub logo
  10. NetworkUnitTestDemo

    Demonstrates how to create unit tests of network code by plugging into Foundation's URL Loading System

  11. ios-todo-app-with-unit-testing

    Sample code for the articles written on Ultimate guide to iOS unit testing. https://blog.canopas.com/the-ultimate-guide-to-ios-unit-testing-with-best-practices-part-1-c3a484b8dc8d

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 unit-testing discussion

Log in or Post with

Swift unit-testing related posts

  • 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
  • The Ultimate Guide to iOS unit testing with best practices — Part 1

    1 project | /r/swift | 11 May 2022
  • The Ultimate guide to iOS unit testing with best practices — Part 2

    1 project | dev.to | 2 May 2022
  • I want random generated names, and I need your advice

    2 projects | /r/swift | 27 Feb 2022
  • How to Unit Test Network Code by Mocking Foundation URL Loading System

    1 project | news.ycombinator.com | 21 Mar 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 24 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 SwifterSwift 14,473
2 ViewInspector 2,354
3 swift-testing 1,974
4 Fakery 1,818
5 Cuckoo 1,706
6 Guise 64
7 Guava 13
8 NetworkUnitTestDemo 3
9 ios-todo-app-with-unit-testing 2

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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