!2 'not' and 'reject' test that either a boolean action returns false or any action throws an exception
!**< def
!define test1 (!|fitlibrary.specify.DoFixtureFlowUnderTest|
|not|a right action|1|
|not|a wrong action|1.5||2.2|
|not|an exception action|
|reject|a right action|1|
|reject|a wrong action|1.5||2.2|
|reject|an exception action|
)
!define test2 (!|fitlibrary.specify.DoFixtureFlowUnderTest|
|not|a parse failure|s|
|not|a missing method|
|reject|a parse failure|s|
|reject|a missing method|
)
**!
|!-fitlibrary.spec.SpecifyFixture-!|
|${test1}|!-
fitlibrary.specify.DoFixtureFlowUnderTest |
not |
a right action |
1 |
not |
a wrong action |
1.5 |
|
2.2 |
not |
an exception action |
reject |
a right action |
1 |
reject |
a wrong action |
1.5 |
|
2.2 |
reject |
an exception action |
-!|
* While a parse error (such as a number format exception) will be treated as success, a missing method or other such error is reported as such.
|!-fitlibrary.spec.SpecifyFixture-!|
|${test2}|!-
fitlibrary.specify.DoFixtureFlowUnderTest |
not |
a parse failure |
s |
Invalid Number |
not Missing method |
a missing method |
reject |
a parse failure |
s |
Invalid Number |
reject Missing method |
a missing method |
-!|