Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

@parameters on test use jupyter junit api

@ParameterizedTest
@MethodSource("provideStringsForIsBlank")
void isBlank_ShouldReturnTrueForNullOrBlankStrings(String input, boolean expected) {
    assertEquals(expected, Strings.isBlank(input));
}
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #test #jupyter #junit #api
ADD COMMENT
Topic
Name
3+4 =