#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
Hello, i went to update a project that used specflow in version "3.9.74" . After updating to version 4.0.31-beta I got the following packages:
however, when compiling it fails to generate the feature files:
By removing the packages
the build is successfully performed, however, without considering the configured actions, of course. In specflow 4 is there a way to configure targets like we do in specflow actions? Is there a planned release of Specflow actions that is compatible with Specflow 4+?
thanks in advance for the help!
Steps to Reproduce
With the conofigs described, simply run the dotnet restore and dotnet build commands to see the error message when compiling:
SpecFlow Version
4.0.31-beta
Which test runner are you using?
xUnit
Test Runner Version Number
2.4.5 and 2.5.6
.NET Implementation
.NET 6.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": "http://json-schema.org/draft-04/schema#", "language": { "feature": "pt" }, "generator": { "allowDebugGeneratedFiles": false, "allowRowTests": true, "addNonParallelizableMarkerForTags": [ "noParallel" ] }, "livingDocGenerator": { "enabled": true, "filePath": "TestExecution.json" }, "runtime": { "additionalProperties": true, "stopAtFirstError": false }, "trace": { "traceTimings": true, "stepDefinitionSkeletonStyle": "RegexAttribute" }, "definitions": { "SpecFlow": { "isSpecFlowProject": true } }, "editor": { "showStepCompletionAfterStepKeywords": true, "gherkinFormat": { "indentFeatureChildren": false, "indentRuleChildren": true, "indentSteps": true, "indentAndSteps": true, "indentDataTable": true, "indentDocString": true, "indentExamples": true, "indentExamplesTable": true, "tableCellPaddingSize": 1 } } }
Issue Description
Hello, i went to update a project that used specflow in version "3.9.74" . After updating to version 4.0.31-beta I got the following packages:
however, when compiling it fails to generate the feature files:
By removing the packages
the build is successfully performed, however, without considering the configured actions, of course. In specflow 4 is there a way to configure targets like we do in specflow actions? Is there a planned release of Specflow actions that is compatible with Specflow 4+?
thanks in advance for the help!
Steps to Reproduce
With the conofigs described, simply run the dotnet restore and dotnet build commands to see the error message when compiling:
Link to Repro Project
No response