pointfreeco/swift-snapshot-testing
📸 Delightful Swift snapshot testing. observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 83
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 39
- age_days: 3344
- days_rel: 36
- days_push: 9
- n_releases_24m: 18
Adoption not part of the score
4324 stars · 679 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Swift library for snapshot testing that lets developers assert any value against a recorded reference image or text representation. It supports any Swift platform and format, not just UIView images, and integrates with XCTest and Swift Testing.
Use cases
- test iOS view controllers by comparing rendered screenshots
- verify UI does not regress visually between changes
- snapshot test any Swift value as text or image
- record reference snapshots automatically on first test run
- write custom snapshot strategies for domain types
When to choose
- you build Swift or iOS apps and want visual regression tests
- you need snapshot testing beyond UIViews, for any value or format
- you use XCTest or Swift Testing and want easy snapshot assertions
When to avoid
- your project is not in Swift
- you need cross-platform testing outside Apple/Swift ecosystems
- you prefer behavior-based unit tests over visual comparisons
Facets
library · maturity stable
testing e2e-testing testing developer-tools mobile-development cross-platform snapshot-testing screenshot-testing xctest swift-testing ui-testing swift ios macos
4 sources
- readme: https://github.com/pointfreeco/swift-snapshot-testing · fetched 2026-08-28 · 47321cf97e27
- homepage: https://www.pointfree.co/episodes/ep41-a-tour-of-snapshot-testing · fetched 2026-08-29 · c24b2dca1ddc
- site_page: https://www.pointfree.co/about · fetched 2026-08-29 · c3a02fbfb680
- site_page: https://www.pointfree.co/pricing · fetched 2026-08-29 · 30fe44105f13
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pointfreeco/swift-snapshot-testing | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="pointfreeco/swift-snapshot-testing")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem