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.23k stars 752 forks source link

Ambiguous step definition with new VS 2022 extension 2022.1.56.32801 #2597

Closed DomZZ closed 2 years ago

DomZZ commented 2 years ago

SpecFlow Version

3.9.74

Which test runner are you using?

NUnit

Test Runner Version Number

Nunit 3.13

.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

{ "$schema": "https://specflow.org/specflow-config.json", "generator": { "addNonParallelizableMarkerForTags": [ "nonparallelizable" ] }, "runtime": { "missingOrPendingStepsOutcome": "Error" }, "stepAssemblies": [ { "assembly": "ALOP" } ] }

Issue Description

Since visual studio extension upgraded itself to 2022.1.56.32801

All my step definition are ambiguous : image

I've removed ".vs" folder I've removed all existing .feature.cs files I also tried to uninstall extension and reinstall, it was the same

Steps to Reproduce

I don't really know, it appears right after VS extension automatic upgrade ...

Link to Repro Project

No response

DomZZ commented 2 years ago

Runtime is OK, all tests are running like before. I can provide my specflow project in private if needed

DomZZ commented 2 years ago

I created a new issue in right repo : https://github.com/SpecFlowOSS/SpecFlow.VS/issues/78 I'm closing this one.

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.