public void should_include_ignoring_reason()
        {
            var Scenario = new Scenario { Tags = {"ignore just because"} };

            var Sut = new ScenarioGenerator(Scenario);

            Sut.Code.ShouldContain(@"[Ignore] // just because");
        }
        public void should_add_Scenario_Tags_to_tests()
        {
            var Scenario = new Scenario { Tags = {"ignore"} };

            var Sut = new ScenarioGenerator(Scenario);

            Sut.Code.ShouldContain(@"[Ignore]");
        }
        public void should_use_propper_xUnit_attribute()
        {
            var Scenario = new Scenario { Tags = {"ignore reason"} };

            var backup = Settings.XUnit;
            Settings.XUnit = XUnits.Framework["mbunit"];

            var Sut = new ScenarioGenerator(Scenario);

            try { Sut.Code.ShouldContain(@"[Ignore(""reason"")]"); }
            finally { Settings.XUnit = backup; }
        }
        public void should_use_propper_xUnit_attribute()
        {
            var backup = Settings.XUnit;
            Settings.XUnit = XUnits.Framework["mbunit"];

            var Sut = new ScenarioGenerator(Scenario);

            try { Sut.Code.ShouldContain(@"[Category(""tag"")]"); }
            finally { Settings.XUnit = backup; }
        }
        public void should_add_Scenario_Tags_to_tests()
        {
            var Sut = new ScenarioGenerator(Scenario);

            Sut.Code.ShouldContain(@"[TestCategory(""tag"")]");
        }