TestOptimal Wiki

Model-Based Testing (MBT)

User Tools

Site Tools


guard_trigger

Guard Triggers

Guard Trigger can be used to specify complex and multiple conditions for the transition as an alternative to Set Var.

Only <assert> tags should be used to control the outcome of the guard trigger. Any <assert> tag failed will cause the guard trigger to fail.

Other mscript tags may be used in Guard Trigger but they do not participate in the outcome of guard evaluation unless they cause the exception.

Any script in Guard Trigger will cause G to be displayed next to the transition label if transition display format is set to display Guard condition indicator.

guard_trigger.txt · Last modified: 2016/09/22 02:35 (external edit)