@@ -78,6 +78,16 @@ test skip, providing a clear indication that migration is needed.
78
78
79
79
## Detailed design
80
80
81
+ > [ !NOTE]
82
+ > This proposal refers to XCTest in the abstract. There are two different
83
+ > implementations of XCTest: the open source [ Corelibs XCTest] [ ] and a
84
+ > [ proprietary XCTest] [ Xcode XCTest ] that is shipped as part of Xcode. The Swift
85
+ > evolution process governs changes to the former only. Therefore,
86
+ > this proposal is targeted for Corelibs XCTest.
87
+
88
+ [ Corelibs XCTest ] : https://github.com/swiftlang/swift-corelibs-xctest
89
+ [ Xcode XCTest ] : https://developer.apple.com/documentation/xctest
90
+
81
91
### Highlight and support XCTest APIs which are lossy without interop
82
92
83
93
We propose supporting the following XCTest APIs in Swift Testing:
@@ -196,12 +206,10 @@ hypothetically named `6.X`, where permissive interop mode will be enabled for
196
206
projects. After that, a ` 7.Y ` release would make strict interop mode the
197
207
default.
198
208
199
- - Swift Package Manager projects: ` swift-tools-version ` declared in
200
- Package.swift will be used to determine interop mode, regardless of the
201
- toolchain used to run tests.
209
+ - Swift packages: ` swift-tools-version ` declared in Package.swift will be used
210
+ to determine interop mode, regardless of the toolchain used to run tests.
202
211
203
- - Xcode projects: Installed toolchain version will be used to determine interop
204
- mode.
212
+ - Otherwise, installed toolchain version will be used to determine interop mode.
205
213
206
214
- Any project can use ` SWIFT_TESTING_XCTEST_INTEROP_MODE ` to override interop
207
215
mode at runtime, provided they are on toolchain version ` 6.X ` or newer
0 commit comments