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