Last active
January 18, 2018 07:30
-
-
Save b1a9id/71fe8bb39ce28d159a0e41736e362d01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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