Skip to main content
Version: v3

UnitTest Element (Lux Extension)

Description
Describes a unit test to be executed against a particular custom action, resulting in a particular property value. Single-value properties, multi-value properties, and name/value-pair properties can all be tested declaratively.
Windows Installer references
None
Parents
Fragment, Mutation, UnitTest
Inner Text
None
Children
Choice of elements (min: 0, max: unbounded)
Attributes
NameTypeDescriptionRequired
CustomActionString Identifier of the custom action to be tested.  
IdString Identifier of the unit test. If you omit this attribute, a stable identifier is generated for you.  
IndexString A formatted string that evaluates to either an integer index into a multi-value property or a string name of a name/value-pair multi-value property.  
NameValueSeparatorString One character that is used to separate values in a name/value-pair multi-value property.  
OperatorEnumeration The operator to apply to the property and value. Default is "equal." This attribute's value must be one of the following:
equal
(Default) Compares Property to Value and succeeds if they are equal.
notEqual
Compares Property to Value and succeeds if they are NOT equal.
caseInsensitiveEqual
Compares Property to Value and succeeds if they are equal (ignoring case).
caseInsensitiveNotEqual
Compares Property to Value and succeeds if they are NOT equal (ignoring case).
 
PropertyString Name of the property set by the custom action.  
ValueString The value to compare to the property.  
ValueSeparatorString One character that is used to separate values in a multi-value property.  
See Also
Lux Schema