square / RxIdler

An IdlingResource for Espresso which wraps an RxJava Scheduler.
Apache License 2.0
512 stars 43 forks source link

Add proguard information into the README #4

Closed tasomaniac closed 7 years ago

tasomaniac commented 7 years ago

Added Proguard configuration information into README.

When proguard is enabled in Espresso tests, some constructors and some methods are missing from RxJava since proguard optimizations remove unused methods. So in our project, we added the following rules.

I think the rules can be more strict but in Espresso tests, they are fine if they are not that strict.

Note: Libraries can include consumerProguardFiles but they are included in production version of the app so I thought I shouldn't add one. Readme seems enough.

Thanks.

tasomaniac commented 7 years ago

Thanks for the review. All makes sense. Will apply soon.

JakeWharton commented 7 years ago

Thanks!