reqnroll / Reqnroll.Rider

Rider plugin for Reqnroll - open-source .NET BDD framework
MIT License
38 stars 8 forks source link

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

Open exceptioncpp opened 7 months ago

exceptioncpp commented 7 months ago

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"
    }
  3. 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 commented 6 months ago

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

jmevel commented 4 weeks ago

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"
  }
}