Skip to content

Instantly share code, notes, and snippets.

@jabKnowsNothing
Created November 4, 2015 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jabKnowsNothing/de54590ad7145e3852e9 to your computer and use it in GitHub Desktop.
Save jabKnowsNothing/de54590ad7145e3852e9 to your computer and use it in GitHub Desktop.
@RunWith(AndroidJUnit4.class)
public MyNewTest {
@Rule
public MyCustomRule<MyActivity> testRule = new MyCustomRule<>(MyActivity.class);
@Test
public void testStuff() {
// Wow where's all the boilerplate code?
// Verify Oscar Grouch is no longer grouchy.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment