Marko Novakovic
02/07/2022, 9:33 AMComponent not initialized
when running testsMarko Novakovic
03/11/2022, 4:46 PMMarko Novakovic
03/11/2022, 4:46 PMMarko Novakovic
03/11/2022, 4:46 PMandriodTest
create separate Manifest.xml
file and define startup inside of it and disable automatic initializationMarko Novakovic
03/11/2022, 4:46 PMJay Barria
03/13/2022, 11:53 AMAndroidManifest
inside androidTest
added tools:node="remove"
to disable automatic initialization but still failed to create the hilt component for testing. In my case it's not merging at all with the main
app manifest.
So I ended up refactoring the startup, removing manifest initialization for the main
app altogether and manually triggering the startup inside the Application class. Not ideal, but I didn't had any espresso UI testing issues before migrating Dagger to Hilt.Zsolt.bertalan
03/14/2022, 9:12 AMZsolt.bertalan
03/14/2022, 9:10 PMEnrico Del Zotto
07/12/2023, 2:05 PMEnrico Del Zotto
07/12/2023, 2:16 PMEnrico Del Zotto
07/12/2023, 2:16 PMEnrico Del Zotto
07/12/2023, 2:16 PM