Releases: jonreid/ViewControllerPresentationSpy
Releases · jonreid/ViewControllerPresentationSpy
Support Swift Testing
- Now works with Swift Testing as well as XCTest.
I am not including a prebuilt binary this time — I doubt anyone uses such things anymore. If you'd like one, let me know.
Full Changelog: v7.0.1...7.1.0
Fix crash accessing swizzled property on non-swizzled alert
Prevent crash when another view controller tries to access the swizzled popoverPresentationController before the UIAlertController we want to test is created.
Xcode 14 support
Version 7.0.0
07 Jan 2023
Adds @MainActor
annotations to spies for Xcode 14 fix. You will need to add @MainActor
to any
test suites that use these spies.
Swift Package Manager Support
Version 6.1.0
06 Aug 2022
Now available from Swift Package Manager!
v6.0.0
v5.1.0
v5.0.1
v5.0.0
Version 5.0.0
30 Jan 2020
This release adds diagnostic test failures if verifiers clash.
- Fail test if code creates multiple instances of any single verifier. This inadvertently undid its
swizzling, leading to test failures that were tricky to diagnose. Now a failure message provides
guidance. - Also fail if an AlertVerifier and a PresentationVerifier exist simultaneously, since they both
swizzle UIAlertViewController. This has the potential to change test results, so this is marked as
a major release.