Skip to content

Commit 78019b5

Browse files
committed
Upgraded packages and fixed test
1 parent f43d6da commit 78019b5

File tree

9 files changed

+32
-27
lines changed

9 files changed

+32
-27
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ Build/*
1717
TestResult.xml
1818
TestStack.BDDfy.sln.ide/graph
1919
_NCrunch_TestStack.BDDfy/
20+
TestStack.BDDfy.sln.ide/

.nuget/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="NUnit.Runners" version="2.6.2" />
3+
<package id="NUnit.Runners" version="2.6.4" />
44
</packages>

Samples/TestStack.BDDfy.Samples/TestStack.BDDfy.Samples.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@
6868
<Compile Include="UseExamplesWithFluentApi.cs" />
6969
</ItemGroup>
7070
<ItemGroup>
71-
<Reference Include="nunit.framework">
72-
<HintPath>..\..\packages\NUnit.2.6.2\lib\nunit.framework.dll</HintPath>
71+
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
72+
<SpecificVersion>False</SpecificVersion>
73+
<HintPath>..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
7374
</Reference>
7475
<Reference Include="System" />
7576
</ItemGroup>
@@ -80,9 +81,7 @@
8081
</ProjectReference>
8182
</ItemGroup>
8283
<ItemGroup>
83-
<None Include="packages.config">
84-
<SubType>Designer</SubType>
85-
</None>
84+
<None Include="packages.config" />
8685
</ItemGroup>
8786
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8887
<PropertyGroup>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="NUnit" version="2.6.2" targetFramework="net40" />
3+
<package id="NUnit" version="2.6.4" targetFramework="net45" />
4+
<package id="NUnit.Runners" version="2.6.4" targetFramework="net45" />
45
</packages>

TestStack.BDDfy.Tests/Reporters/ReportApprover.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Text.RegularExpressions;
33
using ApprovalTests;
4+
using ApprovalTests.Utilities;
45
using TestStack.BDDfy.Reporters;
56
using TestStack.BDDfy.Tests.Reporters.Html;
67

TestStack.BDDfy.Tests/Reporters/TextReporter/TextReporterTests.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Runtime.CompilerServices;
33
using System.Text;
44
using ApprovalTests;
5+
using ApprovalTests.Utilities;
56
using NUnit.Framework;
67
using TestStack.BDDfy.Reporters;
78

@@ -24,7 +25,7 @@ public void ShouldProduceExpectedReport()
2425
actual.AppendLine(textReporter.ToString());
2526
}
2627

27-
Approvals.Verify(actual.ToString(), StackTraceScrubber.Scrub);
28+
Approvals.Verify(actual.ToString(), StackTraceScrubber.ScrubStackTrace);
2829
}
2930

3031
[Test]
@@ -41,7 +42,7 @@ public void ShouldProduceExpectedTextWithExamples()
4142
actual.AppendLine(textReporter.ToString());
4243
}
4344

44-
Approvals.Verify(actual.ToString(), StackTraceScrubber.Scrub);
45+
Approvals.Verify(actual.ToString(), StackTraceScrubber.ScrubStackTrace);
4546
}
4647

4748
[Test]
@@ -61,7 +62,7 @@ public void LongStepName()
6162
scenario));
6263
var actual = new StringBuilder();
6364
actual.AppendLine(textReporter.ToString());
64-
Approvals.Verify(actual.ToString(), StackTraceScrubber.Scrub);
65+
Approvals.Verify(actual.ToString(), StackTraceScrubber.ScrubStackTrace);
6566
}
6667
}
6768
}

TestStack.BDDfy.Tests/TagsTests.TagsAreReportedInHtmlReport.approved.txt

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

TestStack.BDDfy.Tests/TestStack.BDDfy.Tests.csproj

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,25 @@
4545
<Prefer32Bit>false</Prefer32Bit>
4646
</PropertyGroup>
4747
<ItemGroup>
48-
<Reference Include="ApprovalTests">
49-
<HintPath>..\packages\ApprovalTests.3.0.5\lib\net40\ApprovalTests.dll</HintPath>
48+
<Reference Include="ApprovalTests, Version=3.0.0.0, Culture=neutral, PublicKeyToken=11bd7d124fc62e0f, processorArchitecture=MSIL">
49+
<SpecificVersion>False</SpecificVersion>
50+
<HintPath>..\packages\ApprovalTests.3.0.7\lib\net40\ApprovalTests.dll</HintPath>
5051
</Reference>
51-
<Reference Include="ApprovalUtilities">
52-
<HintPath>..\packages\ApprovalUtilities.3.0.5\lib\net35\ApprovalUtilities.dll</HintPath>
52+
<Reference Include="ApprovalUtilities, Version=3.0.0.0, Culture=neutral, PublicKeyToken=11bd7d124fc62e0f, processorArchitecture=MSIL">
53+
<SpecificVersion>False</SpecificVersion>
54+
<HintPath>..\packages\ApprovalUtilities.3.0.7\lib\net35\ApprovalUtilities.dll</HintPath>
5355
</Reference>
54-
<Reference Include="NSubstitute, Version=1.6.1.0, Culture=neutral, PublicKeyToken=92dd2e9066daa5ca, processorArchitecture=MSIL">
56+
<Reference Include="NSubstitute, Version=1.8.1.0, Culture=neutral, PublicKeyToken=92dd2e9066daa5ca, processorArchitecture=MSIL">
5557
<SpecificVersion>False</SpecificVersion>
56-
<HintPath Condition="$(TargetFrameworkVersion)=='v4.0'">..\packages\NSubstitute.1.6.1.0\lib\NET40\NSubstitute.dll</HintPath>
57-
<HintPath Condition="$(TargetFrameworkVersion)!='v4.0'">..\packages\NSubstitute.1.6.1.0\lib\NET35\NSubstitute.dll</HintPath>
58+
<HintPath>..\packages\NSubstitute.1.8.1.0\lib\net45\NSubstitute.dll</HintPath>
5859
</Reference>
59-
<Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
60+
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
6061
<SpecificVersion>False</SpecificVersion>
61-
<HintPath>..\packages\NUnit.2.6.2\lib\nunit.framework.dll</HintPath>
62+
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
6263
</Reference>
63-
<Reference Include="Shouldly">
64-
<HintPath>..\packages\Shouldly.2.1.1\lib\net40\Shouldly.dll</HintPath>
64+
<Reference Include="Shouldly, Version=2.3.1.0, Culture=neutral, PublicKeyToken=6042cbcb05cbc941, processorArchitecture=MSIL">
65+
<SpecificVersion>False</SpecificVersion>
66+
<HintPath>..\packages\Shouldly.2.3.1\lib\net40\Shouldly.dll</HintPath>
6567
</Reference>
6668
<Reference Include="System" />
6769
<Reference Include="System.Core" />
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="ApprovalTests" version="3.0.5" targetFramework="net45" />
4-
<package id="ApprovalUtilities" version="3.0.5" targetFramework="net45" />
5-
<package id="NSubstitute" version="1.6.1.0" targetFramework="net40" />
6-
<package id="NUnit" version="2.6.2" targetFramework="net40" />
7-
<package id="Shouldly" version="2.1.1" targetFramework="net45" />
3+
<package id="ApprovalTests" version="3.0.7" targetFramework="net45" />
4+
<package id="ApprovalUtilities" version="3.0.7" targetFramework="net45" />
5+
<package id="NSubstitute" version="1.8.1.0" targetFramework="net45" />
6+
<package id="NUnit" version="2.6.4" targetFramework="net45" />
7+
<package id="Shouldly" version="2.3.1" targetFramework="net45" />
88
</packages>

0 commit comments

Comments
 (0)