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 Files not being generated #413

Open
BlueBird088 opened this issue Jan 23, 2025 · 0 comments
Open

Code Behind Files not being generated #413

BlueBird088 opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@BlueBird088
Copy link

BlueBird088 commented Jan 23, 2025

Reqnroll Version

2.2.1

Which test runner are you using?

NUnit

Test Runner Version Number

3.13.3

.NET Implementation

.NET 8.0

Test Execution Method

Visual Studio Test Explorer

Content of reqnroll.json configuration file

No response

Issue Description

Hello!

I migrated my test project from SpecFlow to Reqnroll.
I can say that after a while I was able to put my tests running fine after following the Migration topic on Reqnroll webpage and after doing some other adjustments.
My issue started when I modified my feature file because its associated code behind file did not update with the new steps that I added on the feature file. I tried to clean and build the project but same thing. I deleted the code behind file but now the build fails: "myTest.feature.cs could not be found".
I already cleaned my test project cache, checked my nuget packages, restarted my visual Studio 2022 but I could not fix this issue.
I don't know why but my "myTest.feature.cs" is not being generated anymore, and, as I said previously, before I deleted it, it was not being updated with the new steps that I added on the "myTest.feature".
I did some researh online about this issue but most of the topics are related with Specflow.

Here, the relevant information of my csproj :

net8.0 enable enable

Many thanks in advance :)

Steps to Reproduce

Step 1 - Modify a .feature file on the test project
Step 2 - Clean & Build the project
Step 3 - feature.cs file is not being updated with the modifications done on its .feature file (feature.cs file is not updated at all)

Link to Repro Project

No response

@BlueBird088 BlueBird088 added the bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant