Skip to content

Parameterized tests #108

Answered by mbrandonw
seanmrich asked this question in Q&A
Feb 11, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

This is because our Dependencies library, which is what @Shared uses under the hood, does not work with parameterized tests. We are waiting for Swift Testing to support "scoped traits" (coming Swift 6.1) to properly quarantine dependencies on a per-test basis.

There are docs on this, but they are over in the Dependencies library:

https://swiftpackageindex.com/pointfreeco/swift-dependencies/main/documentation/dependencies/testing#Parameterized-Test-cases

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@seanmrich
Comment options

Answer selected by seanmrich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants