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 extensive testing documentation #2333

Merged
merged 2 commits into from
Jun 12, 2019
Merged

Add extensive testing documentation #2333

merged 2 commits into from
Jun 12, 2019

Conversation

millenomi
Copy link
Contributor

  • Copy information critical to producing useful tests from my head onto words on disk.

  • Simplify the instructions for GenerateTestFixtures by making the version strings used match the expectations of the Fixture extensions, and by making the executable default to its current location for output if not specified.

  • Remove a path that is local to my machine from the repository.

 * Copy information critical to producing useful tests from my head onto words on disk. 

 * Simplify the instructions for GenerateTestFixtures by making the version strings used match the expectations of the Fixture extensions, and by making the executable default to its current location for output if not specified.

 * Remove a path that is local to my machine from the repository.
@millenomi
Copy link
Contributor Author

@swift-ci please test linux

// It will look something like this:

#if NS_FOUNDATION_ALLOWS_TESTABLE_IMPORT
#if canImport(SwiftFoundation) && !DEPLOYMENT_RUNTIME_OBJC
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think the !DEPLOYMENT_RUNTIME_OBJC is actually that useful anymore now that canImport(SwiftFoundation) is used. I cant see a situation where canImport(SwiftFoundation) returns true but we DONT import it and instead import Foundation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True. A patch that fixes this should also fix this documentation in the same swoop.

@millenomi millenomi merged commit 9e50b40 into swiftlang:master Jun 12, 2019
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