Open akamud opened 1 year ago
Tbh, I am not even sure anymore that we look into the app.config to get the language.
Tbh, I am not even sure anymore that we look into the app.config to get the language.
I'm using a specflow.json, are they the same thing?
Hello, this seems to still be an issue?
I'm doing the same steps (only différence is using the dotnet 8 instead of Dotnet 6 and the fr-FR culture) I'm also defining the culture in specflow.json.
SpecFlow Version
3.9.22
Which test runner are you using?
NUnit
Test Runner Version Number
3.9.22
.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
Command line – PLEASE SPECIFY THE FULL COMMAND LINE
SpecFlow Section in app.config or content of specflow.json
Issue Description
I'm changing the language from my features by using the
language
in thespecflow.json
as shown here. The tests run fine and the keywords are correctly picked. This is my.feature
file:Running the LivingDoc tool doesn't respect the language defined. I see in the docs here that it doesn't say anything about reading the
specflow.json
, so is this the expected behavior? What would be the recommended way of changing the language for everything (features and LivingDoc) globally?This is the command I'm running:
This is the error I get:
As a workaround, specifying the
language
again in my.feature
file makes it work as expected, but is repetitive.Steps to Reproduce
specflow.json
with the contents shared here.Link to Repro Project
No response