ArgsSourceOptions

annotation class ArgsSourceOptions(val profile: String = "", val maxArgs: Int = -1, val requestedMinArgs: Int = -1, val minArgsOverridesSizeLimit: Boolean = false)(source)

Additional options to steer the ArgsRangeDecider which is responsible to define what range from an ArgsGenerator is used in a ParameterizedTest.

Since

2.0.0

Properties

Link copied to clipboard

Taken into account if 0 and should influence an ArgsRangeDecider's choice of ArgsRange.take.

Link copied to clipboard

If true then SemiOrderedArgsGenerator.size does not limit the range size in case requestedMinArgs is greater.

Link copied to clipboard

Taken into account if non-empty and will take precedence over VariistConfig.defaultProfile.

Link copied to clipboard

Taken into account if 0 and should influence an ArgsRangeDecider's choice of ArgsRange.take.

Functions

Link copied to clipboard
inline fun <T : Any> Annotation.getPropertyValue(propertyName: String): T
fun <T : Any> Annotation.getPropertyValue(propertyName: String, type: KClass<T>): T

!! No backward compatibility guarantees !! Reuse at your own risk