简体   繁体   English

FitSharp-决策表

[英]FitSharp - Decision Table

I am using Fit and FitSharp/.NET, and want to implement a decision table. 我正在使用Fit和FitSharp / .NET,并且想要实现决策表。 Based on the name of a 'page' I want to call the appropriate defined procedure to check it. 基于“页面”的名称,我想调用适当的已定义过程以对其进行检查。

I want something like: 我想要类似的东西:

$define Page {Page 2}
$define Action {}

|${Page}|Action?|
|Page 1|verify page 1|
|Page 2|verify page 2|
|Page 3|verify page 3|


|${Action}| #should execute |verify page 2|

I want the table to go through each column and where the appropriate page is found, then return the procedure name to call. 我希望该表遍历每一列以及找到相应页面的位置,然后返回要调用的过程名称。 Then call the procedure. 然后调用该过程。

Any ideas how I could do this? 有什么想法可以做到吗? I didnt want to use slim as it rewuires the 'script' statement simple fixture calls and wanted to avoid having to type that in. 我不想使用苗条,因为它可以简化简单的夹具调用中的“脚本”语句,并希望避免键入该语句。

Is TableFixture available in fitSharp? 是否可以在fitSharp中使用TableFixture? It doesnt look like it is according to help pages. 根据帮助页面,它看起来不像它。

Your help would be much appreciated. 您的帮助将不胜感激。

Many Thanks. 非常感谢。

Kind Regards, 亲切的问候,

Rahul Dixit 拉胡尔·迪克西特(Rahul Dixit)

FitSharp has no such capability. FitSharp没有此类功能。 I have to write my own fixture to do this. 为此,我必须编写自己的装置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM