Package | Description |
---|---|
dagger.hilt.android.testing |
This package contains APIs for writing Android local or instrumentation tests with Hilt.
|
Class and Description |
---|
HiltAndroidRule
A
TestRule for Hilt that can be used with JVM or Instrumentation tests. |
OnComponentReadyRunner
Provides access to the Singleton component in tests, so that Rules can access it after custom
test modules have been added.
|
OnComponentReadyRunner.OnComponentReadyListener
Rules should register an implementation of this to get access to the singleton component
|