read

Sometimes you need to wait before some async operations (maybe some EventBus or RXJava Observables) end before check something with tests, now Espresso can handle the idling resources but JUnit not. Using assertj-android but you use to handle async operations and tests will fail because of sync.

Example:

Any suggestions?

Resources

Blog Logo

Daniel Gomez Rico


Published

Image

MakinGIANTS

The findings and tips records of an Android-iOS-TheWholeShabang group

Back to Overview