Please update to espresso 3.6.0-rc01 or higher and fix BaristaIntents.mockAndroidCamera()
Opened this issue · 0 comments
wbearand commented
Library Version:
4.3.0
Describe the Bug:
In our app, we use espresso 3.6.0-rc01. Barista uses 3.4.0 it seems. As a consequence, the tests that use BaristaIntents.mockAndroidCamera() fail with:
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/test/espresso/core/internal/deps/guava/base/Preconditions;
It seems that this preconditions were removed, and now this checks should be used.
Steps to reproduce the bug:
- Update espresso to 3.6.0-rc01
- run a test that uses BaristaIntents.mockAndroidCamera()
Expected Behavior:
That no ClassNotFoundException is thrown.