Skip to content

Commit

Permalink
Merge branch 'pointfreeco:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
MoralAlberto authored Nov 29, 2023
2 parents 504f324 + 59b663f commit c0f914d
Show file tree
Hide file tree
Showing 10 changed files with 595 additions and 488 deletions.
2 changes: 2 additions & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ builder:
# First item in the list is the "landing" (default) target
- SnapshotTesting
- InlineSnapshotTesting
- platform: watchos
scheme: InlineSnapshotTesting
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/apple/swift-syntax.git", from: "509.0.0")
.package(url: "https://github.com/apple/swift-syntax.git", "508.0.1"..<"510.0.0")
],
targets: [
.target(
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ targets: [

## Features

- [**Dozens of snapshot strategies**](Documentation/Available-Snapshot-Strategies.md). Snapshot
- [**Dozens of snapshot strategies**][available-strategies]. Snapshot
testing isn't just for `UIView`s and `CALayer`s. Write snapshots against _any_ value.
- [**Write your own snapshot strategies**](Documentation/Defining-Custom-Snapshot-Strategies.md).
- [**Write your own snapshot strategies**][defining-strategies].
If you can convert it to an image, string, data, or your own diffable format, you can snapshot
test it! Build your own snapshot strategies from scratch or transform existing ones.
- **No configuration required.** Don't fuss with scheme settings and environment variables.
Expand All @@ -215,6 +215,9 @@ targets: [
SnapshotTesting.diffTool = "ksdiff"
```

[available-strategies]: https://swiftpackageindex.com/pointfreeco/swift-snapshot-testing/main/documentation/snapshottesting/snapshotting
[defining-strategies]: https://swiftpackageindex.com/pointfreeco/swift-snapshot-testing/main/documentation/snapshottesting/customstrategies

## Plug-ins

- [AccessibilitySnapshot](https://github.com/cashapp/AccessibilitySnapshot) adds easy regression
Expand Down
Loading

0 comments on commit c0f914d

Please sign in to comment.