Skip to content

Commit bb5f67e

Browse files
committed
Review feedback
1 parent b275e55 commit bb5f67e

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

proposals/testing/NNNN-targeted-interoperability-swift-testing-and-xctest.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ test skip, providing a clear indication that migration is needed.
7878

7979
## Detailed design
8080

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+
8191
### Highlight and support XCTest APIs which are lossy without interop
8292

8393
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
196206
projects. After that, a `7.Y` release would make strict interop mode the
197207
default.
198208

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.
202211

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.
205213

206214
- Any project can use `SWIFT_TESTING_XCTEST_INTEROP_MODE` to override interop
207215
mode at runtime, provided they are on toolchain version `6.X` or newer

0 commit comments

Comments
 (0)