Swift UI Testing

Open-source Swift projects categorized as UI Testing

Top 7 Swift UI Testing Projects

  • UI Testing Cheat Sheet

    How do I test this with UI Testing?

  • ViewInspector

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

    Project mention: Top swift libraries and why? | reddit.com/r/swift | 2022-06-10

    ViewInspector is a great library for testing SwiftUI views, without the heavy lifting of XCUI tests. You can quickly test view state changes, assert view colors or fonts etc. Almost any property can be tested, so that you know a view behaves as it should.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • AutoMate

    Swift framework containing a set of helpful XCTest extensions for writing UI automation tests

  • Floater_

    Add a floating fingertip to your app demo. www.buglife.com

  • UITestHelper

    UITest helper library for creating readable and maintainable tests

  • UI tests without UI Testing experiment

    Testing the UI without UI Testing, a Swift experiment.

  • suitcase

    SUITCase can verify screenshots in five different ways while testing the User Interface of iOS, iPadOS, and tvOS apps in Simulator. It has been designed to be used with XCTest and written in Swift. (by devexperts)

    Project mention: Visual tests | reddit.com/r/iOSProgramming | 2022-03-28

    We are actually going to use https://github.com/devexperts/suitcase because of its capability to screenshot all kinds of views, including those that don’t play nice with UIView “render in context” APIs.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

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 2022-06-10.

Swift UI Testing related posts


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

Project Stars
1 UI Testing Cheat Sheet 2,114
2 ViewInspector 1,576
3 AutoMate 275
4 Floater_ 227
5 UITestHelper 56
6 UI tests without UI Testing experiment 20
7 suitcase 19
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.