如何通过 C# 使用 Fitnesse ActionFixture?
我试图制作一个动作装置,但它不起作用。 (带有 Slim runner 的 C#)
基本上看起来它试图将其解释为柱夹具。
|!-Fitnesse.BuyActions-! |
|Start|!-Fitnesse.BuyActions-!|
|check|total |0.0 |
|enter|price |12.00 |
|press|buy |
|check|total |12.00 |
|enter|price |100.00 |
|press|buy |
|check|total |112.00 |
Fitnesse.BuyActions
Start
Fitnesse.BuyActions
检查 Fitnesse.BuyActions 中未找到 setStart 方法
using fit;
namespace Fitnesse
{
public class BuyActions : ActionFixture
{
public BuyActions()
: base()
{
this.targetObject = this;
}
}
}
I tried to make an action fixture and it’s not working. (c# with Slim runner)
Basically it seems like it's trying to interpret it as a column fixture.
|!-Fitnesse.BuyActions-! |
|Start|!-Fitnesse.BuyActions-!|
|check|total |0.0 |
|enter|price |12.00 |
|press|buy |
|check|total |12.00 |
|enter|price |100.00 |
|press|buy |
|check|total |112.00 |
Fitnesse.BuyActions
Start
Fitnesse.BuyActions
check Method setStart not found in Fitnesse.BuyActions
using fit;
namespace Fitnesse
{
public class BuyActions : ActionFixture
{
public BuyActions()
: base()
{
this.targetObject = this;
}
}
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ActionFixture 不适用于 Slim。它与 Fit 测试系统一起使用。请参阅http://fitnesse.org/FitNesse.UserGuide.WritingAcceptanceTests
ActionFixture does not work with Slim. It is used with the Fit test system. See http://fitnesse.org/FitNesse.UserGuide.WritingAcceptanceTests