Sha256: dca92574687c58ef5daca1b741520663e950e58195fa3d7d8b48d3163106b670

Contents?: true

Size: 637 Bytes

Versions: 9

Compression:

Stored size: 637 Bytes

Contents

using NUnit.Framework;
using TechTalk.SpecFlow;

namespace TestSolution.SpecFlow
{
    [Binding]
    public class StepDefinition
    {
        private Class1 myclass;
        private string _result;

        [Given(@"I create a Class1")]
        public void GivenICreateAClass1()
        {
            myclass = new Class1();
        }

        [When(@"I call Foo")]
        public void WhenICallFoo()
        {
            _result = myclass.Foo();
        }

        [Then(@"I should get ""(.*)""")]
        public void ThenIShouldGetBar(string value)
        {
            Assert.That(_result, Is.EqualTo(value));
        }
    }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
albacore-0.3.6 spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs
albacore-1.0.0.rc.2 spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs
albacore-1.0.0.rc.1 spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs
albacore-0.3.5 spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs
albacore-0.3.4 spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs
albacore-0.3.3 spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs
albacore-0.3.2 spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs
albacore-0.3.1 spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs
albacore-0.3.0 spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs