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.22k stars 751 forks source link

Could not find a part of the path **/*. VSCode MacOS #2720

Closed AvallaSD closed 10 months ago

AvallaSD commented 10 months ago

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 tests

Steps to Reproduce

-

Link to Repro Project

No response

github-actions[bot] commented 9 months 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.