SpecFlow
SpecFlow copied to clipboard
Missing Name property in StepArgumentTransformation
SpecFlow Version
3.9.74
Which test runner are you using?
NUnit
Test Runner Version Number
3.14.0
.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
No response
Issue Description
Hi,
It seems StepArgumentTransformation should have a Name property according to the doc
[StepArgumentTransformation("v(.*)", Name = "my_version")]
But I can't find witch using / nuget to add
Steps to Reproduce
This code should be valid and StepArgumentTransformation should have a Name property.
[StepArgumentTransformation("is transformed", Name = "is_transformed")]
public string Transform()
=> "have been transformed";
[Then("my text {is_transformed}")]
public void ThenMyTextIsTransformed(string transformedText)
{
// Assert transformedText is "have been transformed"
}
Link to Repro Project
No response
This feature is not in a stable NuGet, even if it's in the doc. Maybe the problem is: Why the only doc available is canary?