Assigned
Status Update
Comments
vi...@google.com <vi...@google.com>
go...@gmail.com <go...@gmail.com> #2
Do you have a repro project that you could share with us?
There should be no need to excluding any dependencies: we automatically remove them from the test APK if they are in the main APK.
There should be no need to excluding any dependencies: we automatically remove them from the test APK if they are in the main APK.
sl...@google.com <sl...@google.com>
ae...@google.com <ae...@google.com> #3
This has not been updated in over 1 year so is being closed. Please reopen as neccesary.
Description
Version used: 1.2.0
Devices/Android versions reproduced on: Samsung SM-A510F
Project attached...
- I have a module `client`, an android library with the front end code.
- I have the module `app`, the android application where I write the instrumented tests.
- I have a flavor `automation` for which I use to run my instrumented tests and it has test implementations of activities should they be needed.
The package in app, `androidTestAutomation` is where my Instrumented tests are located.
When I run the following test: com.github.goldy1992.mp3player.client.views.fragments.PlaybackTrackerFragmentTest I get the error in `stacktrace.txt`.
All google search results refer to the inclusion of:
`debugImplementation group: 'androidx.fragment', name: 'fragment-testing', version: FRAGMENT_VERSION`
I've tried different combinations in both the app and client `build.gradle` file but everything results in the same error.
EXPECTED result: `FragmentScenario$EmptyFragmentActivity` should be configured correctly by Gradle and therefore recognised in the instrumented test.