Quick / Nimble

A Matcher Framework for Swift and Objective-C
https://quick.github.io/Nimble/documentation/nimble/
Apache License 2.0
4.79k stars 595 forks source link

Swift Testing Support #1148

Open younata opened 4 weeks ago

younata commented 4 weeks ago

This provides a way for Nimble to natively integrate with Swift Testing. This relies on an in-progress Swift Testing Evolution proposal that I'm actively working on. You can see that PR at https://github.com/apple/swift-testing/pull/481.

This branch serves as a POC that the code in https://github.com/apple/swift-testing/pull/481 does enough to provide a way for third party assertion tools like Nimble to natively integrate with Swift Testing and report errors. As such, as my proposal evolves, this branch will change with it. Which is why this is a draft PR.

Actual Changes

[^1]: Kinda, see https://github.com/apple/swift-testing/issues/475.