You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the addition of CleanCounterBetweenTestCases in 1.10 to support multiple runs of tests popular testing framework Quick no longer works.
Quick lets users specify test cases declaratively and creates multiple tests from the same function. So when I specify multiple snapshots within one spec() function the counterMap gets reset inbetween each one breaking the automatic naming.
I understand we want this feature to support the new feature of re running tests, but would it be possible to give users some more flexibility as to when the counterMap gets reset or the ability to turn it off?
Environment
swift-snapshot-testing: 1.10
Xcode: 14.2
OS: iOS 16
The text was updated successfully, but these errors were encountered:
With the addition of
CleanCounterBetweenTestCases
in 1.10 to support multiple runs of tests popular testing framework Quick no longer works.Quick lets users specify test cases declaratively and creates multiple tests from the same function. So when I specify multiple snapshots within one
spec()
function thecounterMap
gets reset inbetween each one breaking the automatic naming.I understand we want this feature to support the new feature of re running tests, but would it be possible to give users some more flexibility as to when the
counterMap
gets reset or the ability to turn it off?Environment
The text was updated successfully, but these errors were encountered: