Supporting Swift Testing #866
DavidBrunow
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As-is, Swift Snapshot Testing does not support Swift Testing because the
XCTFail
inassertSnapshot
does not cause Swift Testing tests to fail. I put together a sketch of a naïve way to solve this in this closed PR, which might work for limited situations:.As mentioned in comments on that PR, that effort does not solve issues with test observation and with attaching failure snapshots in Xcode.
I'd like to give our team the flexibility to use Swift Testing with snapshot tests and would like to discuss the path towards that.
Beta Was this translation helpful? Give feedback.
All reactions