The Calculate keyword is one of the
Flow Fixture Keywords. It processes the rest of the table with the
Calculate Fixture with the current
System Under Test.
when test is⇓
| story test fixture |
| check | test result |
| sample do |
| set | name | Bob |
| calculate |
| | name at |
| 0 | | B |
| 1 | | o |
|
| sample do |
| set | name | Bob |
| calculate |
| | name at |
| 0 | | B |
| 1 | | o |
|
|
| sample do |
| set | name | Bob |
| calculate |
| | name at |
| 0 | | B |
| 1 | | o |
| then result is |
| sample do |
| set | name | Bob |
| calculate |
| | name at |
| 0 | | B |
| 1 | | o |
|