In this lesson, we look at the problem of shared state between runs of Android tests. We explain why the "Launch and tear down settings" section of the
Espresso Test Recorder settings exist, and discuss strategies to combat them.
We also talk about what a hermetic test execution environment is, and how it combats the problem of shared state. "Hermetic" is defined as "A seal or closure that is airtight". It is important to completely isolate each test execution so that the shared state of the Android app doesn't leak into subsequent test runs.