Skip to content

Instantly share code, notes, and snippets.

@b1a9id
Last active January 18, 2018 07:30
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 b1a9id/71fe8bb39ce28d159a0e41736e362d01 to your computer and use it in GitHub Desktop.
Save b1a9id/71fe8bb39ce28d159a0e41736e362d01 to your computer and use it in GitHub Desktop.
class CustomizeDisplayNameParameterizedTest {
/**
* Customizing Display Names
*/
@DisplayName("Customizing Display Name")
@ParameterizedTest(name = "{index} ==> name = ''{0}''")
@ValueSource(strings = {"Ryosuke", "Taro", "Hanako"})
void customizeDisplayName(String name) {
assertNotNull(name);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment