Building the product · Independent · 19 Oct 2026

pointfreeco/swift-snapshot-testing

📸 Delightful Swift snapshot testing.

← Building the product

In simple English

This tool helps you test Swift apps by saving pictures of your user interfaces to disk. Every time you run your tests, the app takes a new picture and compares it to the saved one. If anything looks wrong or out of place, the test fails. It also checks text, JSON data, and web requests in the same way. It costs nothing to use, and runs directly inside your existing test suite.

What it is

A Swift testing library that compares visual and data outputs against stored reference files on disk. It supports user interfaces, network requests, and generic data structures across Apple platforms.

What it is good for

Swift developers who want to catch visual regressions in user interfaces without writing complicated coordinate checks by hand.

Stars4.4k
LicenceMIT
Latest1.19.6 (2026-09-21)checked 19 Oct 2026
Last code change2026-09-21
Written inSwift
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Saves reference snapshots automatically when you run a test for the first time.
  • Works with any Swift data type, including images, JSON, and network requests.
  • Lets you test multiple device sizes from a single simulator.
Watch for
  • Requires macOS and Xcode to run tests and view image comparisons.
  • Tests can fail if run on different simulator versions due to subtle system font changes.
  • Needs careful management of snapshot files inside your source control repository.
Replaces

Manual UI checks and basic XCTest assertions

Works well with

Xcode

Similar repositories
Also reviewed on Repo Radar
  • python/mypy21k stars

    The reference type checker for Python, run from the command line.

  • HypothesisWorks/hypothesis9.1k stars

    A Python library that generates test inputs and reduces any failure to the smallest example that still fails.

  • wntrblm/nox1.6k stars

    Runs your tests and other jobs in fresh isolated environments, described in an ordinary Python file.

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

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.