I have a project where I am using an hilt extension to do instrumented testing on my fragments.
I am currently using version 1.5.7 from fragment-testing library and everything works fine, but when I try to upgrade to a version equal or bigger than 1.6.0-alpha04 the tests can no longer run.
They fail with the exceptions:
Unresolved reference: style
These are the dependencies declared on my grade file:
`dependencies {
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.test.espresso:espresso-idling-resource:3.5.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
Description
I have a project where I am using an hilt extension to do instrumented testing on my fragments. I am currently using version 1.5.7 from fragment-testing library and everything works fine, but when I try to upgrade to a version equal or bigger than 1.6.0-alpha04 the tests can no longer run.
They fail with the exceptions: Unresolved reference: style
Unresolved reference: FragmentScenarioEmptyFragmentActivityTheme
These are the dependencies declared on my grade file: `dependencies { implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.test.espresso:espresso-idling-resource:3.5.1' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
}`
Expected Results
Being able to upgrade fragment library to latest stable version (1.6.1) and still use hilt to do instrumented tests.
Actual Results
Only works until version 1.6.0-alpha03