diff --git a/src/Orchard.Profile/Tests/Profiling.feature b/src/Orchard.Profile/Tests/Profiling.feature index 267b90d37..cadf674cb 100644 --- a/src/Orchard.Profile/Tests/Profiling.feature +++ b/src/Orchard.Profile/Tests/Profiling.feature @@ -22,5 +22,8 @@ Scenario: Hitting blogs When I go to "/blog4" 10 times Scenario: Hitting home page - Given I am logged in - When I go to "/" 40 times + //Given I am logged in + When I go to "/" 10 times + When I go to "/" 10 times + When I go to "/" 10 times + When I go to "/" 10 times diff --git a/src/Orchard.Profile/Tests/Profiling.feature.cs b/src/Orchard.Profile/Tests/Profiling.feature.cs index ae57373ee..75bb2fb49 100644 --- a/src/Orchard.Profile/Tests/Profiling.feature.cs +++ b/src/Orchard.Profile/Tests/Profiling.feature.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // // This code was generated by SpecFlow (http://www.specflow.org/). -// SpecFlow Version:1.3.2.0 +// SpecFlow Version:1.4.0.0 // Runtime Version:4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if @@ -9,12 +9,12 @@ // // ------------------------------------------------------------------------------ #region Designer generated code -namespace Orchard.Specs.Le.Tests +namespace Orchard.Profile.Tests { using TechTalk.SpecFlow; - [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.3.2.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.4.0.0")] [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [NUnit.Framework.TestFixtureAttribute()] [NUnit.Framework.DescriptionAttribute("Profiling")] @@ -31,7 +31,7 @@ namespace Orchard.Specs.Le.Tests { testRunner = TechTalk.SpecFlow.TestRunnerManager.GetTestRunner(); TechTalk.SpecFlow.FeatureInfo featureInfo = new TechTalk.SpecFlow.FeatureInfo(new System.Globalization.CultureInfo("en-US"), "Profiling", "In order to profile the site\r\nAs a developer\r\nI want to generate a fixed number o" + - "f repeatable requests", ((string[])(null))); + "f repeatable requests", GenerationTargetLanguage.CSharp, ((string[])(null))); testRunner.OnFeatureStart(featureInfo); } @@ -61,13 +61,13 @@ namespace Orchard.Specs.Le.Tests #line 6 this.ScenarioSetup(scenarioInfo); #line 7 -testRunner.Given("I am logged in"); + testRunner.Given("I am logged in"); #line 8 -testRunner.When("I go to \"/admin\""); + testRunner.When("I go to \"/admin\""); #line 9 -testRunner.When("I go to \"/blog0\""); + testRunner.When("I go to \"/blog0\""); #line 10 -testRunner.When("I go to \"/\""); + testRunner.When("I go to \"/\""); #line hidden testRunner.CollectScenarioErrors(); } @@ -80,9 +80,9 @@ testRunner.When("I go to \"/\""); #line 12 this.ScenarioSetup(scenarioInfo); #line 13 -testRunner.Given("I am logged in"); + testRunner.Given("I am logged in"); #line 14 -testRunner.When("I go to \"/admin\" 40 times"); + testRunner.When("I go to \"/admin\" 40 times"); #line hidden testRunner.CollectScenarioErrors(); } @@ -95,17 +95,17 @@ testRunner.When("I go to \"/admin\" 40 times"); #line 16 this.ScenarioSetup(scenarioInfo); #line 17 -testRunner.Given("I am logged in"); + testRunner.Given("I am logged in"); #line 18 -testRunner.When("I go to \"/blog0\" 10 times"); + testRunner.When("I go to \"/blog0\" 10 times"); #line 19 -testRunner.When("I go to \"/blog1\" 10 times"); + testRunner.When("I go to \"/blog1\" 10 times"); #line 20 -testRunner.When("I go to \"/blog2\" 10 times"); + testRunner.When("I go to \"/blog2\" 10 times"); #line 21 -testRunner.When("I go to \"/blog3\" 10 times"); + testRunner.When("I go to \"/blog3\" 10 times"); #line 22 -testRunner.When("I go to \"/blog4\" 10 times"); + testRunner.When("I go to \"/blog4\" 10 times"); #line hidden testRunner.CollectScenarioErrors(); } @@ -117,10 +117,14 @@ testRunner.When("I go to \"/blog4\" 10 times"); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Hitting home page", ((string[])(null))); #line 24 this.ScenarioSetup(scenarioInfo); -#line 25 -testRunner.Given("I am logged in"); #line 26 -testRunner.When("I go to \"/\" 40 times"); + testRunner.When("I go to \"/\" 10 times"); +#line 27 + testRunner.When("I go to \"/\" 10 times"); +#line 28 + testRunner.When("I go to \"/\" 10 times"); +#line 29 + testRunner.When("I go to \"/\" 10 times"); #line hidden testRunner.CollectScenarioErrors(); }