#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
When I build the project and try to build it for the first time, everything is fine. Then one test fails and after that, I face this error when I'm trying to build my project or run tests
Could not find a part of the path '/Users/avalla/webautotests6/Scenarios/**/*.feature'. [/Users/avalla/webautotests6/Scenarios/Scenarios.csproj]
When I do ls command with this path in terminal, everything is fine and I can see files
Also, I can rebuild the project as many times as I want before I run tests
SpecFlow Version
3.9.74
Which test runner are you using?
NUnit
Test Runner Version Number
3.13.3
.NET Implementation
.NET 6.0
Project Format of the SpecFlow project
Classic project format using
<PackageReference>
tags.feature.cs files are generated using
SpecFlow.Tools.MsBuild.Generation NuGet package
Test Execution Method
Command line – zsh: dotnet build
SpecFlow Section in app.config or content of specflow.json
{ "stepAssemblies": [ { "assembly": "Allure.SpecFlowPlugin" }, { "assembly": "Steps" } ], "plugins": [ { "name": "Allure", "type": "Runtime" } ], "runtime": { "stopAtFirstError": true, "missingOrPendingStepsOutcome": "Error" } }
Issue Description
When I build the project and try to build it for the first time, everything is fine. Then one test fails and after that, I face this error when I'm trying to build my project or run tests
Could not find a part of the path '/Users/avalla/webautotests6/Scenarios/**/*.feature'. [/Users/avalla/webautotests6/Scenarios/Scenarios.csproj]
When I do
ls
command with this path in terminal, everything is fine and I can see files Also, I can rebuild the project as many times as I want before I run testsSteps to Reproduce
-
Link to Repro Project
No response