开发者

ColumnFixture Errors with variables

开发者 https://www.devze.com 2023-04-01 08:12 出处:网络
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

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 &开发者_StackOverflow社区gt;>varName<<, with >> and << included.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消