We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a2c27b commit 654941cCopy full SHA for 654941c
Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift
@@ -1,6 +1,10 @@
1
import Foundation
2
#if canImport(Testing)
3
-import Testing
+// See https://github.com/pointfreeco/swift-snapshot-testing/discussions/901#discussioncomment-10605497
4
+// tl;dr: Swift Testing is not available when using UI tests.
5
+// And apparently `private import` - the preferred way to do this - doesn't work.
6
+// So we use a deprecated approach that does work with this.
7
+@_implementationOnly import Testing
8
#endif
9
10
public class NimbleSwiftTestingHandler: AssertionHandler {
0 commit comments