Skip to content

Instantly share code, notes, and snippets.

@niftydevelopment
Created August 28, 2014 12:37
Show Gist options
  • Select an option

  • Save niftydevelopment/3d03ef9bdfa19234ad00 to your computer and use it in GitHub Desktop.

Select an option

Save niftydevelopment/3d03ef9bdfa19234ad00 to your computer and use it in GitHub Desktop.
TDD: test method boilerplate (eclipse, testng, mockito)
@Test
public void ${name}() {
${staticImport:importStatic('org.testng.Assert.*')}
${imp:import(org.testng.annotations.BeforeMethod,org.testng.annotations.Test,org.mockito.Mockito)}
${cursor}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment