A Java version of big-list-of-naughty-strings
A big (and growing) set of problematic strings, for testing.
Add this to your pom.xml:
<dependencies>
...
<dependency>
<groupId>net.technearts</groupId>
<artifactId>big-list-of-naughty-strings</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
This is the intended use. Simply add @Blns
(and @ParameterizedTest
) to a Junit test method.
@ParameterizedTest
@Blns
public void test(String blnsString) {
System.out.printf("%s\n", blnsString);
// Your test here
}
This is an alternative, just the strings in a stream.
BllnsArgumentProvider provider = new BlnsArgumentProvider();
Stream<String> strings = provider.provideStrings();