Closed blyscuit closed 1 year ago
@MainActor in
KIF tests should work the same.
App correctly launches but UI is unable to update its UI.
If remove @MainActor in test would work but show error Main Thread Checker which sometimes would crash the test.
Main Thread Checker
List the software versions you're using:
Quick: 6.1.0
Nimble: 11.2.1
Xcode Version: 14.2 (Open Xcode; In menubar: Xcode > About Xcode)
Swift Version: Xcode Default (Open Xcode Preferences; Components > Toolchains. If none, use Xcode Default.)
Xcode Default
Swift Package Manager - Swift 5.7.1
https://github.com/blyscuit/kif-quick6-nimble11
My apologies for ignoring this for so long.
You should try the still-in-beta Quick 7. It is much more compatible with the non-async tests and test behaviors. It should work well with KIF.
What did you do?
@MainActor in
to KIF tests.What did you expect to happen?
KIF tests should work the same.
What actually happened instead?
App correctly launches but UI is unable to update its UI.
If remove
@MainActor in
test would work but show errorMain Thread Checker
which sometimes would crash the test.Environment
List the software versions you're using:
Quick: 6.1.0
Nimble: 11.2.1
Xcode Version: 14.2 (Open Xcode; In menubar: Xcode > About Xcode)
Swift Version: Xcode Default (Open Xcode Preferences; Components > Toolchains. If none, use
Xcode Default
.)Swift Package Manager - Swift 5.7.1
Project that demonstrates the issue
https://github.com/blyscuit/kif-quick6-nimble11