Skip to content

Conversation

@grynspan
Copy link
Contributor

This PR introduces an overload of #expect()/#require() that's implemented outside the core Swift Testing library. It implements exit tests based on Foundation's Process class (AKA NSTask.)

I do not plan to merge this PR. Rather, it's serving as a breadboard to let me prototype overloading #expect() outside Swift Testing, which we can then apply to other libraries like swift-subprocess and swift-argument-parser.

This PR introduces an overload of `#expect()`/`#require()` that's implemented
outside the core Swift Testing library. It implements exit tests based on
Foundation's `Process` class (AKA `NSTask`.)

I do **not** plan to merge this PR. Rather, it's serving as a breadboard to let
me prototype overloading `#expect()` outside Swift Testing, which we can then
apply to other libraries like `swift-subprocess` and `swift-argument-parser`.
@grynspan grynspan self-assigned this Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants