SpecFlowOSS / SpecFlow

#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
https://www.specflow.org/
Other
2.24k stars 754 forks source link

SpecRun.Runner 3.9.7 nuget packages missing all .NET 6 dlls #2534

Closed xblazor2020 closed 2 years ago

xblazor2020 commented 2 years ago

SpecFlow Version

.NET 6, see ItemGroup below

Which test runner are you using?

SpecFlow+ Runner

Test Runner Version Number

3.9.7

.NET Implementation

.NET 5.0

Project Format of the SpecFlow project

Sdk-style project format

.feature.cs files are generated using

SpecFlow.Tools.MsBuild.Generation NuGet package

Test Execution Method

Visual Studio Test Explorer

SpecFlow Section in app.config or content of specflow.json

<ItemGroup>
    <PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.0" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
    <PackageReference Include="Polly" Version="7.2.2" />
    <PackageReference Include="Selenium.Support" Version="4.1.0" />
    <PackageReference Include="Selenium.WebDriver" Version="4.1.0" />
    <PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="96.0.4664.4500" />
    <PackageReference Include="FluentAssertions" Version="6.2.0" />
    <PackageReference Include="SpecFlow.Plus.LivingDocPlugin" Version="3.9.57" />
    <PackageReference Include="SpecRun.SpecFlow" Version="3.9.7" />

</ItemGroup>

Issue Description

We use SpecRun.Runner 3.9.7 nuget packages for .NET 6 project. The .NET implementation select doesn't have a option for .NET 6 (can only choose .NET 5). Build end up with error message:

Error MSB3030 Could not copy the file "....nuget\packages\specrun.runner\3.9.7\tools\net6.0\TechTalk.SpecFlow.Plus.RPC.dll" because it was not found.

Error MSB3030 Could not copy the file "....nuget\packages\specrun.runner\3.9.7\tools\net6.0\TechTalk.SpecRun.Framework.dll" because it was not found.

Error MSB3030 Could not copy the file "....nuget\packages\specrun.runner\3.9.7\tools\net6.0\SpecFlow.Plus.Shared.dll" because it was not found.

Steps to Reproduce

Build the tests project.

It worked fine for .NET 5 project. But after upgrading to .NET 6, we found it missing all the .NET 6 dlls.

We checked those dlls in Nuget.org, it is missing there too.

https://nuget.info/packages/SpecRun.Runner/3.9.7

Link to Repro Project

No response

avisra commented 2 years ago

I am running into the same issue

Nyeng commented 2 years ago

Same here on .net 6.0

mattletw commented 2 years ago

Me too, any news if this would be fixed?

alexbuyn commented 2 years ago

I have the same problem

DrMarkDunne commented 2 years ago

Me too!

marvingbh commented 2 years ago

same here

karlmet commented 2 years ago

It must be because SpecRun is not currently supported in .net 6 as it is written in the doc here: https://docs.specflow.org/_/downloads/specflow-runner/en/latest/pdf/

SabotageAndi commented 2 years ago

Sorry that we kept you waiting that long for an update on .NET 6 for the SpecFlow+ Runner.

I have to inform you that there will be no .NET 6 support for the SpecFlow+ Runner as we are stopping the maintenance of it.

For more details, please have a look at our blog post about it: https://specflow.org/using-specflow/the-retirement-of-specflow-runner/

karlmet commented 2 years ago

Does it means that SpecFlow + Living doc will no longer need the use of SpecFlow + Runner from now ?

SabotageAndi commented 2 years ago

@karlmet SpecFlow+LivingDoc never needed the SpecFlow+ Runner to run.

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.