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

Add tooling to verify that all tests run on Linux #9

Merged
merged 2 commits into from
Nov 28, 2019

Conversation

JohnSundell
Copy link
Owner

Since the Swift Package Manager requires all tests to be manually declared on Linux, add a test that runs on macOS that identifies all tests using the Objective-C-based APIs, and then asserts that all of those tests have been declared on Linux.

This will generate error messages like this if a developer forgets to add a Linux declaration for a newly added test:
Screen Shot 2019-11-28 at 11 47 33

Since the Swift Package Manager requires all tests to be manually
declared on Linux, add a test that runs on macOS that identifies
all tests using the Objective-C-based APIs, and then asserts that
all of those tests have been declared on Linux.
@JohnSundell JohnSundell merged commit e2f76b1 into master Nov 28, 2019
@JohnSundell JohnSundell deleted the linux-test-tooling branch November 28, 2019 11:01
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.

1 participant