See the recently-approved Test Scoping Traits feature in particular to accomplish this—it’s coming in Swift 6.1. If you use SuiteTrait, pay attention to the isRecursive property and how it relates to the feature (documented in that proposal). I’m happy to answer questions about it.
2 Likes