R
R
Roman2018-10-05 15:20:23
Software testing
Roman, 2018-10-05 15:20:23

How to ensure reproducible integration test on android emulator?

Hello!
What is the best way to ensure the same initial conditions when running integration(?) tests on an android emulator?
Let's say testing Contacts Provider, tests send requests to the provider, make insertions and deletions. As a result, from test to test, the state of the Android address book changes, and errors may accumulate in the system database. What is the best way to ensure that tests run in the same environment?
While I'm doing a reset to a specific Snapshot of the emulator. Are there other options? Or is this the wrong approach altogether?
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question