Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to use Quick6 Nimble11 with KIF UI testing framework #1028

Closed
1 task done
blyscuit opened this issue Jan 16, 2023 · 1 comment
Closed
1 task done

Way to use Quick6 Nimble11 with KIF UI testing framework #1028

blyscuit opened this issue Jan 16, 2023 · 1 comment

Comments

@blyscuit
Copy link

blyscuit commented Jan 16, 2023

  • I have read CONTRIBUTING and have done my best to follow them.

What did you do?

  • Use KIF
  • Upgrade from Quick 5 Nimble 10 to Quick 6 and Nimble 11.
  • Add @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 error Main 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

@younata
Copy link
Member

younata commented May 1, 2023

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.

@younata younata closed this as completed May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants