diff --git a/Installer/SpecFlowInstaller/Product.wxs b/Installer/SpecFlowInstaller/Product.wxs index e24f97d9a..a45de154b 100644 --- a/Installer/SpecFlowInstaller/Product.wxs +++ b/Installer/SpecFlowInstaller/Product.wxs @@ -1,8 +1,8 @@ - - + + diff --git a/Tests/ReportingTest.SampleProject/NUnitResult/TestResult.err b/Tests/ReportingTest.SampleProject/NUnitResult/TestResult.err new file mode 100644 index 000000000..e69de29bb diff --git a/Tests/ReportingTest.SampleProject/NUnitResult/TestResult.txt b/Tests/ReportingTest.SampleProject/NUnitResult/TestResult.txt new file mode 100644 index 000000000..7b6a8b782 --- /dev/null +++ b/Tests/ReportingTest.SampleProject/NUnitResult/TestResult.txt @@ -0,0 +1,33 @@ +***** ReportingTest.SampleProject.FeatureWithFailingScenariosFeature.IgnoredScenario +***** ReportingTest.SampleProject.FeatureWithFailingScenariosFeature.ScenarioWithFailingSteps +Given I have a precondition that is failing +-> error: simulated failure +***** ReportingTest.SampleProject.FeatureWithFailingScenariosFeature.ScenarioWithPendingSteps +Given I have a pending precondition +-> No matching step definition found for the step. Use the following code to create one: + [Binding] + public class StepDefinitions + { + [Given(@"I have a pending precondition")] + public void GivenIHaveAPendingPrecondition() + { + ScenarioContext.Current.Pending(); + } + } + +***** ReportingTest.SampleProject.FeatureWithSuccessfulScenariosFeature.FirstSuccessfulScenario +Given I have a precondition that is successful +-> done: StepDefinitions.GivenIHaveAPreconditionThatIs("successful") (0,0s) +When I do something that works +-> done: StepDefinitions.GivenIHaveAPreconditionThatIs("works") (0,0s) +Then I have a postcondition that is successful +-> done: StepDefinitions.GivenIHaveAPreconditionThatIs("successful") (0,0s) +***** ReportingTest.SampleProject.FeatureWithSuccessfulScenariosFeature.SecondSuccessfulScenario +Given I have a precondition that is successful +-> done: StepDefinitions.GivenIHaveAPreconditionThatIs("successful") (0,0s) +And I have a precondition that is successful +-> done: StepDefinitions.GivenIHaveAPreconditionThatIs("successful") (0,0s) +When I do something that works +-> done: StepDefinitions.GivenIHaveAPreconditionThatIs("works") (0,0s) +Then I have a postcondition that is successful +-> done: StepDefinitions.GivenIHaveAPreconditionThatIs("successful") (0,0s) diff --git a/Tests/ReportingTest.SampleProject/NUnitResult/TestResult.xml b/Tests/ReportingTest.SampleProject/NUnitResult/TestResult.xml new file mode 100644 index 000000000..f11bee8a3 --- /dev/null +++ b/Tests/ReportingTest.SampleProject/NUnitResult/TestResult.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tests/RuntimeTests/StepExecutionTestsWithConversions.cs b/Tests/RuntimeTests/StepExecutionTestsWithConversions.cs index f996ef70f..7cac48255 100644 --- a/Tests/RuntimeTests/StepExecutionTestsWithConversions.cs +++ b/Tests/RuntimeTests/StepExecutionTestsWithConversions.cs @@ -36,7 +36,7 @@ public virtual void DoubleArgWithTable(double param, Table table) public class StepExecutionTestsWithConversions : StepExecutionTestsBase { [Test] - public void SholdCallBindingWithSimpleConvertParam() + public void ShouldCallBindingWithSimpleConvertParam() { StepExecutionTestsBindings bindingInstance; TestRunner testRunner = GetTestRunnerFor(out bindingInstance); @@ -52,7 +52,7 @@ public void SholdCallBindingWithSimpleConvertParam() } [Test] - public void SholdRaiseErrorIfSimpleConvertParamFails() + public void ShouldRaiseErrorIfSimpleConvertParamFails() { StepExecutionTestsBindings bindingInstance; TestRunner testRunner = GetTestRunnerFor(out bindingInstance); @@ -66,7 +66,7 @@ public void SholdRaiseErrorIfSimpleConvertParamFails() } [Test] - public void SholdCallTheOnlyThatCanConvert() + public void ShouldCallTheOnlyThatCanConvert() { var converter = MockRepository.Stub(); ObjectContainer.StepArgumentTypeConverter = converter; @@ -91,7 +91,7 @@ public void SholdCallTheOnlyThatCanConvert() } [Test] - public void SholdRaiseAmbiguousIfMultipleCanConvert() + public void ShouldRaiseAmbiguousIfMultipleCanConvert() { var converter = MockRepository.Stub(); ObjectContainer.StepArgumentTypeConverter = converter; @@ -114,7 +114,7 @@ public void SholdRaiseAmbiguousIfMultipleCanConvert() } [Test] - public void SholdCallTheOnlyThatCanConvertWithTable() + public void ShouldCallTheOnlyThatCanConvertWithTable() { var converter = MockRepository.Stub(); ObjectContainer.StepArgumentTypeConverter = converter; @@ -141,7 +141,7 @@ public void SholdCallTheOnlyThatCanConvertWithTable() } [Test] - public void SholdRaiseParamErrorIfNoneCanConvert() + public void ShouldRaiseParamErrorIfNoneCanConvert() { var converter = MockRepository.Stub(); ObjectContainer.StepArgumentTypeConverter = converter; diff --git a/Tests/RuntimeTests/StepExecutionTestsWithConversionsInNonEnglishCulture.cs b/Tests/RuntimeTests/StepExecutionTestsWithConversionsInNonEnglishCulture.cs index 36abbe2d6..114249ad2 100644 --- a/Tests/RuntimeTests/StepExecutionTestsWithConversionsInNonEnglishCulture.cs +++ b/Tests/RuntimeTests/StepExecutionTestsWithConversionsInNonEnglishCulture.cs @@ -29,7 +29,7 @@ protected override CultureInfo GetLanguage() } [Test] - public void SholdCallBindingWithSimpleConvertParam() + public void ShouldCallBindingWithSimpleConvertParam() { StepExecutionTestsBindings bindingInstance; TestRunner testRunner = GetTestRunnerFor(out bindingInstance); diff --git a/VersionInfo.cs b/VersionInfo.cs index b897b78f4..34a0b5098 100644 --- a/VersionInfo.cs +++ b/VersionInfo.cs @@ -2,5 +2,5 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -[assembly: AssemblyVersion("1.3.0.0")] -[assembly: AssemblyFileVersion("1.3.0.0")] +[assembly: AssemblyVersion("1.3.1.0")] +[assembly: AssemblyFileVersion("1.3.1.0")] diff --git a/changelog.txt b/changelog.txt index c89815eea..51ff101c3 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,4 @@ -1.3.1 - ??? +1.3.1 - 2010/06/21 New features: + Using standard Gherkin parser (http://github.com/aslakhellesoy/gherkin) v2.0.1 @@ -9,6 +9,7 @@ New features: + [StepTransformation] attribute has been renamed to [StepArgumentTransformation] because this name describe the intention better. Using the old attribute will generate a warning. ++ Support for MbUnit Fixed issues: + NullReference exception when using BeforeTestRun event (Issue 41)