Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Do Not Merge] Compatibility updates for the latest swift-corelibs-xctest #261

Closed
wants to merge 2 commits into from

Conversation

briancroom
Copy link
Member

Since apple/swift-corelibs-xctest#40 was merged which contained breaking changes, we need to make some adjustments to remain compatible. This shouldn't be merged until the next Swift development snapshot is posted, though!

Also note that the XCTestCase subclasses here needing to be final is due to our XCTestCaseProvider protocol (no longer present in swift-corelibs-xctest!) which allows us to fail tests on OS X which are missing from allTests. This will be obsolete once SwiftPM gains support for codegen-ing allTests which is well on the way.

Test cases will need to be `final` for now due to the `Self` reference
on the new `allTests` type. Once codegen is available for `allTests` we
can get rid of the `final` and the `XCTestCaseProvider` protocol altogether.
@jeffh
Copy link
Member

jeffh commented Mar 27, 2016

Hey @briancroom, I'm pretty sure this was part of some Swift releases. I'm assuming we need to still work on this to get Nimble updated on the latest swift releases?

@briancroom
Copy link
Member Author

Hey @jeffh sorry for the slow follow up. Yes, this stuff will be needed, but the Swift 3 stdlib naming and importer changes also landed around the same time, so we will need to kick off a swift3 branch and of everything there together. I've started working a branch for this which I'm hoping to push tomorrow. I'd like to see #274 merged first though.

@norio-nomura norio-nomura mentioned this pull request Apr 1, 2016
1 task
@jeffh
Copy link
Member

jeffh commented Oct 25, 2016

Closing, these changes were merged into master.

@jeffh jeffh closed this Oct 25, 2016
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.

None yet

2 participants