KataScreenshotAndroid
KataScreenshotAndroid copied to clipboard
Fix outdated gradle dependencies
Fixes #8
I fixed the gradle dependencies, but unfortunately if I run the tests it says "No tests found".
Hey @Fishfield thank you so much for your PR 😃 I've seen the issue you are facing before. It's related to the test runner. As you can see here, screenshot's library is initialized before invoking super.onCreate(..)
. This works with a previous Espresso version but not with the one you are using after the update. Just changing the initialization shouold work. Can you take a look?
@pedrovgs what exactly should be changed in the initialization? Doing the calls after the super methods?
Exactly 😃
@Fishfield yesterday @flipper83 just told me that if you update the espresso version to espresso 3.X you'll have to update the emulator to API 22 😃 You can revert the espresso change if you don't want to change the Travis-CI configuration and record screenshots again.