simmy189 / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

<Enhancement> Remove guava dependency #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Android APKs are limited to ~65000 java methods.

Espresso with its dependencies is just over 15000 methods. This may make it 
difficult for large projects to use. Guava alone is >12000 java methods.

Original issue reported on code.google.com by cjhopman@chromium.org on 6 Feb 2014 at 12:30

GoogleCodeExporter commented 9 years ago
A proper android test setup should separate the app under test to its own APK 
and its tests + test infra to another APK. There shouldn't be duplicate class 
definitions. This means there's technically room for 130k methods (65k in the 
app, 65k in the test apk).

Empirically this has not caused issues in large apps (eg: G+ and Docs use 
espresso).

Without evidence of a problem I'm not going to redupe the high quality code in 
guava.

Please ping me off line if you're encoutering actual issues.

Original comment by thoma...@google.com on 10 Feb 2014 at 6:33