!**< def
!define body (|''name is single class fails''|name|
|''get''|@{@{this}.name}|is|@{name}|
)
!define test (!|fitlibrary.specify.dynamicVariable.DynamicVariablesUnderTest|
|define action|Person|
|${body}|
|'''set'''|rick.name|'''to'''|Rick|
|'''set'''|rick.class|'''to'''|Person|
|'''oo'''|rick|''name is single class fails''|Jac|
|''expected test results''|1|''right''|2|''wrong''|0|''ignored''|0|''exceptions''|
)
**!
!3 If a ''defined action'' call fails, the full results of executing the body are shown.
|!-fitlibrary.spec.SpecifyFixture-!|
|${test}|!-
fitlibrary.specify.dynamicVariable.DynamicVariablesUnderTest |
define action |
Person |
name is single class fails |
name |
get |
@{@{this}.name} |
is |
@{name} |
|
set |
rick.name |
to |
Rick |
set |
rick.class |
to |
Person |
oo |
rick |
name is single class fails |
Jac |
Defined action call:
get |
Rick |
is |
Jac expected Rick actual |
|
expected test results |
1 |
right |
2 |
wrong |
0 |
ignored |
0 |
exceptions |
-!|