开发者

How do I use fitnesse ActionFixture with C#?

开发者 https://www.devze.com 2022-12-24 05:18 出处:网络
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.

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

精彩评论

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