Skip to content
This repository was archived by the owner on May 22, 2024. It is now read-only.

Commit 601ce7b

Browse files
committed
v1.0 (#42)
- Support for .NET 5 - Support for SpecFlow 3.5 - Signed and verified NuGet package +semver: major
1 parent 6063836 commit 601ce7b

File tree

4 files changed

+13
-18
lines changed

4 files changed

+13
-18
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
SpecFlow plugin that enables to use Microsoft.Extensions.DependencyInjection for resolving test dependencies.
99

1010
Currently supports:
11-
* [SpecFlow v3.3.30 or later](https://www.nuget.org/packages/SpecFlow/3.3.30)
12-
* [Microsoft.Extensions.DependencyInjection v3.1.5 or later](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection/3.1.5)
11+
* [SpecFlow v3.5.5 or later](https://www.nuget.org/packages/SpecFlow/3.5.5)
12+
* [Microsoft.Extensions.DependencyInjection v5.0.0 or later](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection/5.0.0)
1313

1414
Based on [SpecFlow.Autofac](https://github.com/gasparnagy/SpecFlow.Autofac).
1515
Listed on [Available Plugins for SpecFlow](https://specflow.org/documentation/Available-Plugins/).

SpecFlow.DependencyInjection.Tests/SpecFlow.DependencyInjection.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net461;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
4+
<TargetFrameworks>net461;netcoreapp2.1;netcoreapp3.1;net5.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
<Product>SpecFlow.DependencyInjection</Product>
77
<RootNamespace>SolidToken.SpecFlow.DependencyInjection.Tests</RootNamespace>
@@ -13,14 +13,14 @@
1313
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1414
<PrivateAssets>all</PrivateAssets>
1515
</PackageReference>
16-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
17-
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="16.7.1" Condition="$(TargetFramework.StartsWith('net4')) AND '$(OS)' == 'Unix'" />
16+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0" />
17+
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="16.8.0" Condition="$(TargetFramework.StartsWith('net4')) AND '$(OS)' == 'Unix'" />
1818
<PackageReference Include="xunit" Version="2.4.1" />
1919
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2121
<PrivateAssets>all</PrivateAssets>
2222
</PackageReference>
23-
<PackageReference Include="SpecFlow.xUnit" Version="3.4.31" />
23+
<PackageReference Include="SpecFlow.xUnit" Version="3.5.5" />
2424
<PackageReference Include="coverlet.collector" Version="1.3.0">
2525
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2626
<PrivateAssets>all</PrivateAssets>

SpecFlow.DependencyInjection/SpecFlow.DependencyInjection.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,18 @@
2626
</PropertyGroup>
2727
<ItemGroup>
2828
<None Include="icon.png" Pack="true" Visible="false" PackagePath="" />
29-
<None Include="../LICENSE" Pack="true" Visibile="false" PackagePath="" />
29+
<None Include="../LICENSE" Pack="true" Visible="false" PackagePath="" />
3030
</ItemGroup>
3131
<ItemGroup>
3232
<PackageReference Include="GitVersion.MsBuild" Version="5.6.6">
3333
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3434
<PrivateAssets>all</PrivateAssets>
3535
</PackageReference>
36-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.5" />
37-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
38-
<PackageReference Include="SpecFlow" Version="3.3.30" />
36+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.0" />
37+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0">
38+
<PrivateAssets>all</PrivateAssets>
39+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
40+
</PackageReference>
41+
<PackageReference Include="SpecFlow" Version="3.5.5" />
3942
</ItemGroup>
4043
</Project>

0 commit comments

Comments
 (0)