![]() All of these launch intents, but the camera and gallery buttons launch intents that are expected to return something – an image – either from the camera or the gallery.įirst up: how the hell do you test an intent? I started with my straightforward Dagger/Mockito setup, but my tests were failing because they were launching things – the camera, or the gallery – which I then couldn’t get out of to continue my tests. There is a camera button, a gallery button and an inspire button. ![]() The picture above shows what am I testing: the home screen of my app. App running on emulator in Android Studio
0 Comments
Leave a Reply. |