Skip to content

Commit

Permalink
Update README with install instructions for using iOSSnapshotTestCase…
Browse files Browse the repository at this point in the history
… through SPM
  • Loading branch information
NickEntin committed Dec 14, 2022
1 parent 6509346 commit 186d585
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,14 @@ targets: [
]
```

We do not currently support AccessibilitySnapshot and [iOSSnapshotTestCase](https://github.com/uber/ios-snapshot-test-case) through Swift Package Manager.
To use [iOSSnapshotTestCase](https://github.com/uber/ios-snapshot-test-case) to perform image comparisons, add a dependency on `FBSnapshotTestCase+Accessibility` for Swift testing or `FBSnapshotTestCase+Accessibility-ObjC` for Objective-C.

```swift
targets: [
.target(name: "MyApp"),
.testTarget(name: "MyAppTests", dependencies: ["MyApp", "FBSnapshotTestCase+Accessibility"])
]
```

## Usage

Expand Down

0 comments on commit 186d585

Please sign in to comment.