CleanGUITestArchitecture icon indicating copy to clipboard operation
CleanGUITestArchitecture copied to clipboard

Question : Reset app state between scenario

Open hugoTiss opened this issue 8 years ago • 1 comments

Hey, Thank for you repository, it help me a lot to build my test with espresso and cucumber. I need to reset app stat between some scenario, do you know a way to do this with cucumber and espresso ?

Thanks for all,

hugoTiss avatar Oct 11 '17 09:10 hugoTiss

Hi @hugoTiss, To the best of my knowledge, all clean up of app state can only be done manually and it's indeed what I usually do in my apps in the @After step, things like unregistering all Espresso Idling Resources, clean up of SharedPreferences and all DB entries.

sebaslogen avatar Oct 13 '17 21:10 sebaslogen