Type to start searching...

Loop

Loops iterate over the unit test with each combination of all "looped" variables.

Description
During each iteration one of the variables will advance to the next value in its list of values. In this way, the unit test will be evaluated against the combination of all sets of variables.
Properties
type

The type of the value over which to iterate. "list" or "expression"

The variable's value will either iterate over a list of symbols or an expression that returns a list.
Valid values based on“string”.
list

A list of symbols.

expression

Any expression that evaluates to a collection. Outer loop variables are in scope to inner loop expressions.

value : string

The constant list or expression to iterate over.

If the type is "expression", the outer loop variables are in scope for the value's expression.
variable : identifier

The variable to set on each iteration. Must have different name from unit test variables and other loop variables.

Valid values based on“string”.
:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*

Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.

Parents