FitNesse
.
ComparisonExpressionsInFixtures
Edit Page:
!1 Comparison Expressions in Table Cells Comparison expressions can also be used in numeric cells that represent expected outputs. In these expression the underscore character represents the return value of the method. You can use standard inequalities. * For example: * '''_ < 32''' or * '''_ >= 99'''. * You can also use a range such as: * '''38 <= _ <55'''. * For simple expressions the underscore can be omitted, thus: * '''<99''' is legal. There are two special functions that you can override when you write a !-ColumnFixture-! * ''reset()'' will be called at the beginning of each row. * ''execute()'' will be called just prior to processing the first ''()'' or ''?'' cell in each row, or after the last cell in the row has been processed, whichever comes first. You can use these two functions to treat each row as a transaction. ''reset()'' can clear all the variables and get ready for the next transaction. ''execute()'' can do the transaction processing.
Hints:
Use alt+s (Windows) or control+s (Mac OS X) to save your changes. Or, tab from the text area to the "Save" button!
Grab the lower-right corner of the text area to increase its size (works with some browsers).