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

Hilt testing #148

Draft
wants to merge 4 commits into
base: 4.x
Choose a base branch
from
Draft

Hilt testing #148

wants to merge 4 commits into from

Conversation

davidkocnar
Copy link
Member

Test for hilt-example module - under construction

  • FragmentScenario doesn't work with Hilt - TestUtils contains some possible solutions
  • needs to be compatible with Arkitekt's UseCase and Navigation Components

Documentation with a description of current missing support:
https://dagger.dev/hilt/testing

Hilt testing:
https://developer.android.com/training/dependency-injection/hilt-testing

Branch containing testing with Hilt (but with many issues):
https://github.com/android/architecture-samples/tree/dev-hilt/app/src/androidTest/java/com/example/android/architecture/blueprints/todoapp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant