# facebookarchive/ios-snapshot-test-case

Snapshot view unit tests for iOS

Repository: https://github.com/facebookarchive/ios-snapshot-test-case
Canonical: https://ross.abutalabs.com/products/ios-snapshot-test-case
Language: Objective-C
License: MIT
License Family: permissive
Archived: true
Last push: 2018-03-28T22:16:22+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4719, "days_push": 3080, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2648, forks 246 (observed 2026-08-28T04:07:06.857823+00:00)

## What it is
FBSnapshotTestCase is an iOS library for snapshot (screenshot-based) unit testing of UIViews and layers, originally developed by Facebook. The repository has been archived and the project now lives under Uber as iOSSnapshotTestCase.

## Use cases
- test that my iOS views render correctly with snapshot tests
- catch unintended UI changes in an iOS app
- write screenshot-based unit tests in Objective-C
- compare rendered views against reference images in XCTest
- regression-test iOS UI without manual inspection

## When to choose
- you need snapshot testing for an older Objective-C iOS codebase pinned to this original library
- you are researching the history or fork lineage of iOS snapshot testing tools

## When to avoid
- you are starting a new project - use the actively maintained uber/ios-snapshot-test-case fork instead
- you need Swift-native or modern tooling like swift-snapshot-testing by Point-Free
- you expect bug fixes or updates, since this repo is archived and unmaintained

## Facets
- artifact type: library
- maturity: abandoned
- function: testing, e2e-testing
- domain: testing, mobile-development, developer-tools
- platform: cpp
- tags: snapshot-testing, unit-testing, objective-c, xcode, archived, moved-to-uber, ios, mobile, swift

## Member repositories
- facebookarchive/ios-snapshot-test-case (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:06.857823+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:18:56.451479+00:00, confidence not recorded.
  - readme: https://github.com/facebookarchive/ios-snapshot-test-case (fetched 2026-08-28T04:07:06.857823+00:00, sha 2cbe0b228bac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
