Use grammatically correct French Gherkin keyword "Étant donné que"
Update all 26 feature files to use proper French grammar with the subordinating conjunction "que" after "Étant donné". Also update the parser to recognize both "Étant donné que " and "Étant donné qu'" (elision before vowels), while maintaining backwards compatibility with the original form. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -28,7 +28,7 @@ const keywords = {
|
||||
feature: ['Fonctionnalité:', 'Feature:'],
|
||||
background: ['Contexte:', 'Background:'],
|
||||
scenario: ['Scénario:', 'Scenario:', 'Plan du Scénario:', 'Scenario Outline:'],
|
||||
given: ['Étant donné', 'Etant donné', 'Given', 'Soit'],
|
||||
given: ['Étant donné que ', "Étant donné qu'", 'Étant donné', 'Etant donné que ', "Etant donné qu'", 'Etant donné', 'Given', 'Soit'],
|
||||
when: ['Quand', 'When', 'Lorsque'],
|
||||
then: ['Alors', 'Then'],
|
||||
and: ['Et', 'And', 'Mais', 'But'],
|
||||
|
||||
+172
-172
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user