开发者

How do I use fitnesse ActionFixture with C#?

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()
        {
    开发者_如何学Python        this.targetObject = this;
        }
    }
}


ActionFixture does not work with Slim. It is used with the Fit test system. See http://fitnesse.org/FitNesse.UserGuide.WritingAcceptanceTests

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜