Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code behind file will not create with Specflow latest version #2735

Open
SonjaVanDenHeijkant opened this issue Jan 26, 2024 · 0 comments
Open
Labels

Comments

@SonjaVanDenHeijkant
Copy link

SpecFlow Version

3.9.74

Which test runner are you using?

NUnit

Test Runner Version Number

3.9.74

.NET Implementation

.NET 6.0

Project Format of the SpecFlow project

Classic project format using <PackageReference> tags

.feature.cs files are generated using

SpecFlowSingleFileGenerator custom tool

Test Execution Method

Visual Studio Test Explorer

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

No response

Issue Description

When creating a new feature file, the specflow extension does not make a pending action for the *.feature.cs file (code behind). Therefore, the build will not succeed.

Steps to Reproduce

Action: Create a new feature file with specflow version 3.9.74
Result: No pending action for the *.feature.cs file (code behind). Build will not succeed because of missing *.feature.cs file

Action: Create a new feature file with specflow version 3.9.69
Result: Pending action for the *.feature.cs file (code behind). Build will succeed

Link to Repro Project

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant