-
Notifications
You must be signed in to change notification settings - Fork 92
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
Example custom test runner crashes #86
Comments
Thanks for reporting this. Any chance you could send a PR to update the documentation / examples? |
So you're suggesting using Can you try using AndroidX test core Also, check you have used the new AndroidX test runner artifact. Perhaps that's what's the problem:
|
No, |
…strumentation is not yet registered (closes linkedin#86).
In any case, even if it's an issue with a different |
I checked our code at LinkedIn and it seems like we already were using I agree this is probably a safer way to go anyway, so I will merge your pull request. Thanks for the contribution! |
…strumentation is not yet registered (closes #86).
I have the same issue when I'm trying to Run my feature file as iam using a cucumber integrated with Espresso for Android UI |
The
README.md
states to do:however, this crashed for me with androidX's test-core v1.0.0 with this:
so I figured this might be a race here that the registry doesn't know of the instrumentation yet. It is however totally unneccessary to use the registry at all, since the runner itself is the instrumentation that we need, so it is sufficient to do this:
This properly initialized TestButler for me, i.e. disabled animations, and ran my tests.
The text was updated successfully, but these errors were encountered: