Cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only in SnapshotsTestTrait.swift #970
Replies: 1 comment 1 reply
-
Hi @legoesbenr, what version of SnapshotTesting are you using? There hasn't been an
We just had a release yesterday and have consistently updated the library to support new features of Swift and the ecosystem (such as the native Swift Testing framework). Most of those issues are not actual issues with the library, and instead should be discussions, and most of those PR's should be closed. It takes time to manage an open source library, and we have an entire ecosystem of libraries to support. This particular library tends to generate the most noise due to its nature, and so we do not keep up with tending the issues/PRs as much as our other libraries. Since I don't believe this is an issue with the library I am going to convert it to a discussion. Please feel free to continue the conversation over there! |
Beta Was this translation helpful? Give feedback.
-
We have successfully been using the framework for snapshot testing for a long time.
This morning all our Xcode Cloud build has started failing with the error:
Cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
SnapshotsTestTrait.swift:37
This appears to be a problem with the implemenation-only import in that file.
Tests has run perfectly up to now and they work locally. So it appears to be a change in Xcode Cloud.
Here's the command Xcode Cloud uses to tune tests:
I can see 66 unmerged pull requests and 116 reported issues. Is this library dead?
Beta Was this translation helpful? Give feedback.
All reactions