Skip to content
msuarz edited this page Nov 3, 2010 · 1 revision
Scenario: Generate Runner Class

	Given the Feature is
	"
		Feature: Feature Name
	"

	The Runner should be
	"
		[TestClass]
		public partial class FeatureName 
		{
		}
	"
    [TestMethod]
    public void GenerateRunnerClass()
    {         
        Given_the_Feature_is(
@"Feature: Feature Name
");        
        The_Runner_should_be(
@"[TestClass]
public partial class FeatureName
{
}
");
    }
    void Given_the_Feature_is(string Feature) {  }

    void The_Runner_should_be(string Runner) {  }
Clone this wiki locally