Swift unit-testing

Open-source Swift projects categorized as unit-testing

Top 9 Swift unit-testing Projects

  • SwifterSwift

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

  • ViewInspector

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

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

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

  • Guise

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

  • Guava

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

  • SaaSHub

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

    SaaSHub logo
  • NetworkUnitTestDemo

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

  • 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 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 | 23 May 2024
    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 13,687
2 ViewInspector 2,057
3 Fakery 1,777
4 Cuckoo 1,641
5 swift-testing 1,089
6 Guise 58
7 Guava 10
8 NetworkUnitTestDemo 2
9 ios-todo-app-with-unit-testing 0

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