Skip to content

Instantly share code, notes, and snippets.

@catalinghita8
Last active November 8, 2018 15:21
Show Gist options
  • Save catalinghita8/ba0a582f1a1dd084872f67c7d5ffb964 to your computer and use it in GitHub Desktop.
Save catalinghita8/ba0a582f1a1dd084872f67c7d5ffb964 to your computer and use it in GitHub Desktop.
@Test
public void customComponentTest() throws Exception {
CountingIdlingResource componentIdlingResource = testedComponent.getIdlingResourceInTest();
Espresso.registerIdlingResources(componentIdlingResource);
//perform checks for the specific component below
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment