Description
Test is identifiable, which is handy to distinguish between tests and avoid letting "global" state to bleed between tests since they can be bucketed by Test.ID. Unfortunately, this breaks when it comes to parameterized tests, because each parameterized case is the same test and thus has the same identity.
Expected behavior
Ideally, Test.ID would incorporate the SPI-internal Test.Case.ID into its identity, or Test.Case.ID would be publicly accessible.
Actual behavior
Currently there's no way to access a parameterized test case's identity because it's SPI.
Steps to reproduce
No response
swift-testing version/commit hash
2e9df4f
Swift & OS version (output of swift --version && uname -a)
n/a
Description
Testis identifiable, which is handy to distinguish between tests and avoid letting "global" state to bleed between tests since they can be bucketed byTest.ID. Unfortunately, this breaks when it comes to parameterized tests, because each parameterized case is the same test and thus has the same identity.Expected behavior
Ideally,
Test.IDwould incorporate the SPI-internalTest.Case.IDinto its identity, orTest.Case.IDwould be publicly accessible.Actual behavior
Currently there's no way to access a parameterized test case's identity because it's SPI.
Steps to reproduce
No response
swift-testing version/commit hash
2e9df4f
Swift & OS version (output of
swift --version && uname -a)n/a