-
Notifications
You must be signed in to change notification settings - Fork 132
Provide prose documentation for attachments. #1413
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
Conversation
This PR adds prose documentation explaining how to create attachments and add them to tests. Resolves #1143.
| /// | ||
| /// - ``Trait/savingAttachments(if:)`` | ||
| /// | ||
| /// By default, the testing library saves your attachments as soon as you call |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is all SPI.
|
Tracked internally as rdar://164478451. |
jerryjrchen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Sources/Testing/Attachments/Images/Attachment+AttachableAsImage.swift
Outdated
Show resolved
Hide resolved
jgmcnutt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor suggestions. Please let me know if you have any questions.
Sources/Testing/Attachments/Images/Attachment+AttachableAsImage.swift
Outdated
Show resolved
Hide resolved
Sources/Testing/Attachments/Images/Attachment+AttachableAsImage.swift
Outdated
Show resolved
Hide resolved
Sources/Testing/Attachments/Images/Attachment+AttachableAsImage.swift
Outdated
Show resolved
Hide resolved
…e.swift Co-authored-by: jgmcnutt <jgmcnutt@me.com>
…e.swift Co-authored-by: jgmcnutt <jgmcnutt@me.com>
…e.swift Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Following #1413, there's now a typo where we refer to a list of types "above" but the list has moved to another file. This PR fixes that error.
Following #1413, there's now a typo where we refer to a list of types "above" but the list has moved to another file. This PR fixes that error.
This PR adds prose documentation explaining how to create attachments and add them to tests.
Resolves #1143.
Checklist: