Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features step names completion does not work for cultures other than "en-*" #4

Open
exceptioncpp opened this issue Mar 11, 2024 · 2 comments

Comments

@exceptioncpp
Copy link

Features step names completion does not work for cultures other than "en-*"
Step to reproduce:

  1. Create empty SpecFlow project or an example.
  2. In specflow.json add paramether bindingCulture with any non-English language:
"bindingCulture": {
    "name": "de-DE"
  }
  1. According to https://cucumber.io/docs/gherkin/languages/ replace keywords Given/When/Then to German:
Feature - Funktionalität
Scenario - Szenario
Given - Angenommen / Gegeben Sei / Gegeben Seien
When - Wenn
Then - Dann
And - Und
But - Aber

an example:

# language: de
Funktionalität: Using Languages other than English (tutorial12)

    Szenario: Run a simple test completely in German
        Angenommen wir haben "behave" installiert
        Wenn wir einen Test implementieren
        Dann wird "behave" ihn für uns testen!
  1. Try adding a new step - and see that completion for step names doesn't work.
@Socolin
Copy link
Collaborator

Socolin commented Apr 13, 2024

With the renaming from specflow to reqnroll the parsing of the specflow.json was lost, should be back in next update

@jmevel
Copy link

jmevel commented Sep 26, 2024

I think we can close this issue. We're using it in French and it works well.

Our specflow.json file

{
  "$schema": "https://specflow.org/specflow-config.json",
  "language": {
    "feature": "fr-FR"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants