Slide 15
Slide 15 text
import Testing
Test Traits
• Comment, conforms to ExpressiblebyStringLiteral
• Tag, strongly typed to be even shared between test targets
• Bug, aiming to work with bug report solutions
• Yes, there’s a Bug in the type system now… (pun intended)
• https://github.com/apple/swift-testing/blob/main/Sources/Testing/Traits/Bug.swift#L18
• Not to be confused with the Issue type, which seems to be internally used to collect information about failing tests