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

Gherkin Rule keyword is producing errors #242

Closed
MustafaSabur opened this issue Aug 28, 2024 · 1 comment
Closed

Gherkin Rule keyword is producing errors #242

MustafaSabur opened this issue Aug 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MustafaSabur
Copy link

Reqnroll Version

2.0.3

Which test runner are you using?

NUnit

Test Runner Version Number

3.14.0

.NET Implementation

.NET 8.0

Test Execution Method

Visual Studio Test Explorer

Content of reqnroll.json configuration file

{
"$schema": "https://schemas.reqnroll.net/reqnroll-config-latest.json",

"language": {
"feature": "nl"
},
"stepAssemblies": [
{ "assembly": "Other.Project" }
],
"generator": {
"allowDebugGeneratedFiles": false,
"allowRowTests": true
},
"runtime": {
"missingOrPendingStepsOutcome": "Inconclusive",
"obsoleteBehavior": "Warn",
"stopAtFirstError": false
},
"trace": {
"traceSuccessfulSteps": true,
"traceTimings": false,
"minTracedDuration": "0:0:0.1",
"stepDefinitionSkeletonStyle": "RegexAttribute"
}
}

Issue Description

Severity Code Description Project File Line Suppression State Error (active) (27:1):
expected: #EOF, #TableRow, #DocStringSeparator, #StepLine, #TagLine, #ExamplesLine, #ScenarioLine, #RuleLine, #Comment, #Empty, got 'Regel: Name of the rule'

Steps to Reproduce

Create any simple reqnroll test within a rule ('Regel' in dutch according to cucumber docs: https://cucumber.io/docs/gherkin/languages ).
Set language to nl.
It will produce errors because it cannot recognize 'Regel'.

Link to Repro Project

No response

@gasparnagy
Copy link
Contributor

I can confirm the issue and that #205 has also fixed this. I will make a release today/tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants