string

fun ArbExtensionPoint.string(maxLength: Int, minLength: Int = 0, allowedRanges: Array<out UnicodeRange> = UnicodeRanges.UTF_8_PRINTABLE.ranges): ArbArgsGenerator<String>(source)

Returns an ArbArgsGenerator which generates Strings with minLength and maxLength (inclusive) using the given allowed UnicodeRanges.

You can use one of the predefined UnicodeRanges.ranges such as UnicodeRanges.ASCII_PRINTABLE

Since

2.0.0

Parameters

maxLength

defines the maximum length the string can have.

minLength

defined the minimum length the string shall have.

allowedRanges

UnicodeRanges which define what Unicode chars can be used.