Assigned
Status Update
Comments
vi...@google.com <vi...@google.com> #2
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
- Provide a website URL, to the relevant document where you are observing the issue.
Description
The code samples in the Robolectric docs are incorrect:
AndroidJUnit4::class
,ActivityScenario
and Espresso matchers as is done in the example (AddContactActivityTest
).AddContactActivityTest
) usesActivityScenario.launch
without closing the returnedActivityScenario
instance which can cause memory leaks in tests.