public void MbUnitRunner() { Using("MbUnit"); FeatureRunner.Given_the_Feature_is( @" Feature: Feature Scenario: Scenario "); FeatureRunner.The_Runner_should_be( @" using MbUnit.Framework; namespace Features { [TestFixture] public partial class Feature { [Test] public void Scenario() { } } } "); }
public void GenerateRunnerClass() { FeatureRunner.Given_the_Feature_is( @" Feature: Feature Name "); FeatureRunner.The_Runner_should_be( @" using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Features { [TestClass] public partial class FeatureName { } } "); }
public void EmptyFeature() { Given_the_Feature_is_Empty(); FeatureRunner.The_Runner_should_be("Feature file is Empty"); }