Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question : Reset app state between scenario #22

Open
hugoTiss opened this issue Oct 11, 2017 · 1 comment
Open

Question : Reset app state between scenario #22

hugoTiss opened this issue Oct 11, 2017 · 1 comment

Comments

@hugoTiss
Copy link

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,

@sebaslogen
Copy link
Owner

sebaslogen commented Oct 13, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants