-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.6" #12
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/pointfreeco-swift-snapshot-testing-1.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.11.1"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.12.0"
Aug 31, 2023
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
August 31, 2023 00:51
7966464
to
afe3201
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.12.0"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.13.0"
Sep 12, 2023
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
September 12, 2023 22:56
afe3201
to
0d6cbb3
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.13.0"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.14.0"
Oct 3, 2023
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
October 3, 2023 00:09
0d6cbb3
to
cc6ad6c
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.14.0"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.14.1"
Oct 6, 2023
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
October 6, 2023 21:29
cc6ad6c
to
d2ceec6
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.14.1"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.14.2"
Oct 13, 2023
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
October 13, 2023 22:06
d2ceec6
to
160798b
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.14.2"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.15.0"
Nov 15, 2023
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
November 15, 2023 00:34
160798b
to
919f214
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.15.0"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.15.1"
Nov 27, 2023
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
November 27, 2023 21:31
919f214
to
e48dbee
Compare
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
January 8, 2024 21:51
e48dbee
to
60a3032
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.15.1"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.15.2"
Jan 8, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
February 1, 2024 23:33
60a3032
to
5142cd0
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.15.2"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.15.3"
Feb 1, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
March 4, 2024 22:51
5142cd0
to
d8aaa98
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.15.3"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.15.4"
Mar 4, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
April 5, 2024 23:46
d8aaa98
to
5c2e89a
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.15.4"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.16.0"
Apr 5, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
June 12, 2024 20:38
5c2e89a
to
f927eef
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.16.0"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.16.1"
Jun 12, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
July 3, 2024 14:08
f927eef
to
3cba906
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.16.1"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.16.2"
Jul 3, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
July 8, 2024 22:36
3cba906
to
c4b198c
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.16.2"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.0"
Jul 8, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
July 9, 2024 18:56
c4b198c
to
ef78ed0
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.0"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.1"
Jul 9, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
July 12, 2024 21:28
ef78ed0
to
7c954f6
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.1"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.2"
Jul 12, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
August 2, 2024 00:53
7c954f6
to
f68515f
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.2"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.3"
Aug 2, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
August 7, 2024 22:14
f68515f
to
c84ece7
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.3"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.4"
Aug 7, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
September 12, 2024 17:14
c84ece7
to
d5e2141
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.4"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.5"
Sep 12, 2024
renovate
bot
force-pushed
the
renovate/pointfreeco-swift-snapshot-testing-1.x
branch
from
October 21, 2024 19:20
d5e2141
to
4a69389
Compare
renovate
bot
changed the title
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.5"
Update dependency pointfreeco/swift-snapshot-testing to from: "1.17.6"
Oct 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
from: "1.11.0"
->from: "1.17.6"
Release Notes
pointfreeco/swift-snapshot-testing (pointfreeco/swift-snapshot-testing)
v1.17.6
Compare Source
What's Changed
Full Changelog: pointfreeco/swift-snapshot-testing@1.17.5...1.17.6
v1.17.5
Compare Source
What's Changed
New Contributors
Full Changelog: pointfreeco/swift-snapshot-testing@1.17.4...1.17.5
v1.17.4
Compare Source
What's Changed
Full Changelog: pointfreeco/swift-snapshot-testing@1.17.3...1.17.4
v1.17.3
Compare Source
What's Changed
failed
record mode now properly re-records inline snapshots (https://github.com/pointfreeco/swift-snapshot-testing/pull/874).assertSnapshot
from a Swift Testing test (https://github.com/pointfreeco/swift-snapshot-testing/pull/884).Full Changelog: pointfreeco/swift-snapshot-testing@1.17.2...1.17.3
v1.17.2
Compare Source
What's Changed
Full Changelog: pointfreeco/swift-snapshot-testing@1.17.1...1.17.2
v1.17.1
Compare Source
What's Changed
Full Changelog: pointfreeco/swift-snapshot-testing@1.17.0...1.17.1
v1.17.0
Compare Source
What's Changed
See the migration guide for more information.
Added: Beta support for Swift Testing, and other improvements. by @mbrandonw in https://github.com/pointfreeco/swift-snapshot-testing/pull/867
Added: A
Record
mode has been introduced that can be configured with one of four states (.all
,.failed
,.missing
,.never
) instead of just theisRecording
boolean (thanks @NachoSoto, https://github.com/pointfreeco/swift-snapshot-testing/pull/768).Added:
diffTool
can now be configured with a closure that is passed the old and new diff paths in order to output a custom format (thanks @js, https://github.com/pointfreeco/swift-snapshot-testing/pull/840).Added: Allow
isRecording
default value to be configured usingSNAPSHOT_TESTING_RECORD
env var (thanks @tgrapperon, https://github.com/pointfreeco/swift-snapshot-testing/pull/862).This can be configured with any of the record modes introduced in this version, e.g.
SNAPSHOT_TESTING_RECORD=failed
.Infrastructure: Add
.editorconfig
for consistent code formatting (thanks @Matejkob, https://github.com/pointfreeco/swift-snapshot-testing/pull/864).New Contributors
Full Changelog: pointfreeco/swift-snapshot-testing@1.16.2...1.17.0
v1.16.2
Compare Source
What's Changed
Full Changelog: pointfreeco/swift-snapshot-testing@1.16.1...1.16.2
v1.16.1
Compare Source
What's Changed
ViewImageConfig
sendable (thanks @Mika5652, https://github.com/pointfreeco/swift-snapshot-testing/pull/850).New Contributors
Full Changelog: pointfreeco/swift-snapshot-testing@1.16.0...1.16.1
v1.16.0
Compare Source
What's Changed
New Contributors
Full Changelog: pointfreeco/swift-snapshot-testing@1.15.4...1.16.0
v1.15.4
Compare Source
What's Changed
Full Changelog: pointfreeco/swift-snapshot-testing@1.15.3...1.15.4
v1.15.3
Compare Source
What's Changed
Full Changelog: pointfreeco/swift-snapshot-testing@1.15.2...1.15.3
v1.15.2
Compare Source
What's Changed
WKWebView
in Xcode 14 and Xcode 15 (thanks @teameh, https://github.com/pointfreeco/swift-snapshot-testing/pull/692).Full Changelog: pointfreeco/swift-snapshot-testing@1.15.1...1.15.2
v1.15.1
Compare Source
What's Changed
Full Changelog: pointfreeco/swift-snapshot-testing@1.15.0...1.15.1
v1.15.0
Compare Source
What's Changed
assertInlineSnapshot
now hasrecord
mode (https://github.com/pointfreeco/swift-snapshot-testing/pull/809).assertInlineSnapshot
's failure difference now reads more correctly as the patch that would be applied were record mode to be on (https://github.com/pointfreeco/swift-snapshot-testing/pull/809).Full Changelog: pointfreeco/swift-snapshot-testing@1.14.2...1.15.0
v1.14.2
Compare Source
What's Changed
assertCustomInline()
no longer leaves empty parens hanging around when expanded (https://github.com/pointfreeco/swift-snapshot-testing/pull/788).swift-syntax
dependency has widened to support 508.0.1..<510.0.0, allowing the library to be depended on even when another package depends on 508.0.1 (https://github.com/pointfreeco/swift-snapshot-testing/pull/795).Full Changelog: pointfreeco/swift-snapshot-testing@1.14.1...1.14.2
v1.14.1
Compare Source
What's Changed
Full Changelog: pointfreeco/swift-snapshot-testing@1.14.0...1.14.1
v1.14.0
Compare Source
What's Changed
New Contributors
Full Changelog: pointfreeco/swift-snapshot-testing@1.13.0...1.14.0
v1.13.0
Compare Source
What's Changed
Added: Inline Snapshot Testing (https://github.com/pointfreeco/swift-snapshot-testing/pull/764). This allows your text-based snapshots to live right in the test source code, rather than in an external file:
While the library has had experimental support for this feature since 1.5.0 thanks to @rjchatfield (https://github.com/pointfreeco/swift-snapshot-testing/pull/199), we've finally put the finishing touches to it:
Inline snapshot testing is available in a separate
InlineSnapshotTesting
module. To use inline snapshot testing, add a dependency on this module and update your existing imports:The feature has been rewritten to use SwiftSyntax. While a heavyweight dependency, it is a more reasonable tool for generating Swift code than string substitution, and will be an increasingly common dependency as the de facto tool for writing Swift macros.
The main
SnapshotTesting
module does not depend on SwiftSyntax, so existing snapshot tests will not incur cost of compiling SwiftSyntax.The API now follows the same structure as
assertSnapshot
, except it uses a trailing closure to capture the inline snapshot. This makes it easy to update an existing snapshot test to use inline snapshots:After this assertion runs, the test source code is updated in place:
These trailing closures are easy to select in Xcode in order to delete and re-record a snapshot: simply double-click one of the braces to highlight the closure, delete, and run the test.
Inline snapshotting's
assertInlineSnapshot
testing tool is fully customizable so that you can build your own testing helpers on top of it without your users even knowing they are using snapshot testing. In fact, we do this to create a testing tool that helps us test the Swift code that powers Point-Free. It's calledassertRequest
, and it allows you to simultaneously assert the request being made to the server (including URL, query parameters, headers, POST body) as well as the response from the server (including status code and headers).For example, to test that when a request is made for a user to join a team subscription, we can write the following:
And when we first run the test it will automatically expand:
This shows that the response redirects the use back to their account page and shows them the flash message that they now have full access to Point-Free. This makes writing complex and nuanced tests incredibly easy, and so there is no reason to not write lots of tests for all the subtle edge cases of your application's logic.
Added: DocC documentation (#765). The
SnapshotTesting
andInlineSnapshotTesting
are fully documented using DocC.Infrastructure: swift-format support (#765). The library is now auto-formatted using swift-format.
Full Changelog: pointfreeco/swift-snapshot-testing@1.12.0...0.13.0
v1.12.0
Compare Source
What's Changed
assertSnapshot(of:)
is now the default interface for snapshot assertions (https://github.com/pointfreeco/swift-snapshot-testing/pull/762).assertSnapshot(matching:)
will remain in 1.x as a soft-deprecated alias.New Contributors
Full Changelog: pointfreeco/swift-snapshot-testing@1.11.1...1.12.0
v1.11.1
Compare Source
What's Changed
Full Changelog: pointfreeco/swift-snapshot-testing@1.11.0...1.11.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.