From f4d63527c50b0f7a625a349471a85f9923cf1ab9 Mon Sep 17 00:00:00 2001 From: jbandi Date: Mon, 21 Jun 2010 00:12:03 +0200 Subject: [PATCH] Adding TestResult-files necessary for ReportingTests. Increasing version number to 1.3.1. --- Installer/SpecFlowInstaller/Product.wxs | 2 +- .../NUnitResult/TestResult.err | 0 .../NUnitResult/TestResult.txt | 33 ++++++++++ .../NUnitResult/TestResult.xml | 61 +++++++++++++++++++ VersionInfo.cs | 4 +- changelog.txt | 1 + 6 files changed, 98 insertions(+), 3 deletions(-) create mode 100644 Tests/ReportingTest.SampleProject/NUnitResult/TestResult.err create mode 100644 Tests/ReportingTest.SampleProject/NUnitResult/TestResult.txt create mode 100644 Tests/ReportingTest.SampleProject/NUnitResult/TestResult.xml diff --git a/Installer/SpecFlowInstaller/Product.wxs b/Installer/SpecFlowInstaller/Product.wxs index e24f97d9a..051916a66 100644 --- a/Installer/SpecFlowInstaller/Product.wxs +++ b/Installer/SpecFlowInstaller/Product.wxs @@ -1,7 +1,7 @@ - + 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/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..f7795e791 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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)