I am trying to create synchronization between background task and espresso tests. I have made my own idling Resource and when the background task starts, I set the idle state to false so that espresso wait for the background task and dont run any tests. However in my case, as soon as I set my idle state to false, Espresso doesnt get notified of the idle state and it keeps on executing the tests. As a result, the tests fail.
How can I make synchronization between Espresso and background task?
Aucun commentaire:
Enregistrer un commentaire