ColumnFixture Errors with variables

538 Views Asked by At

Having some issues with variables of format >>variableName<< within column fixtures in FitNesse. The language being used is C#. These errors are very similar to the parser error issue that was resolved recently. If anyone has any suggestions on how to go about solving the issue, or a resolution that would be great.

The specific issue is illegal characters in the table. variables in this format are not translated to their specific values... they are passed through as >>varName<<, with >> and << included.

1

There are 1 best solutions below

0
On

The variable names wont work, instead try the following as an example.

First create a column fixture 'ShouldIncreaseCustomerCreditLimit' with input parameters AccountNumber and CreditLimit and output param CaseNumber. Then create 'ShouldLoadCaseDetailsByCaseNumber' column fixture that takes input CaseNumber and output CreditLimit and AccountNumber.

In the wiki add the column fixture.

!|ShouldIncreaseCustomerCreditLimit          |
|AccountNumber      |CreditLimit|=CaseNumber?|
|0001011190301064616|1000       |>>casenumber|


!|ShouldLoadCaseDetailsByCaseNumber           |
|CaseNumber= |CreditLimit?|AccountNumber?     |
|<<casenumber|1000        |0001011190301064616|

Hope this helps.

Regards Rustin