Skip to content

Add Gherkin Linting to Megalinter Workflow and Update Implementation Guidelines#3

Merged
ravindrapalaskar17 merged 10 commits intoGherkin-linting-Implementation-guidelinefrom
draft/Gherkin-linting-Implementation-guideline
Sep 2, 2024
Merged

Add Gherkin Linting to Megalinter Workflow and Update Implementation Guidelines#3
ravindrapalaskar17 merged 10 commits intoGherkin-linting-Implementation-guidelinefrom
draft/Gherkin-linting-Implementation-guideline

Conversation

@ravindrapalaskar17
Copy link
Copy Markdown
Owner

@ravindrapalaskar17 ravindrapalaskar17 commented May 28, 2024

What type of PR is this?

Close the issue: - camaraproject#142

Add one of the following kinds:

  • enhancement/feature
  • Documentation

What this PR does / why we need it:

This PR includes the addition of Gherkin linting in the Megalinter workflow to lint the test contribution feature files, along with implementation guideline documentation

Open Points for Discussion:
Standard Name Length:
The standard name length for features, steps, and scenarios was initially set to 70 characters. However, after testing all feature files, we have adjusted it to 90 for features, 190 for steps, and 190 for scenarios.

List of No-Restricted-Tags:
Review and finalize the list of tags that should be restricted or allowed.

Max-Scenarios-Per-File:
The standard is 15 scenarios per file, but we have increased this limit to 50 scenarios per file.

Keyword Logical Order:
Discuss the logical order of keywords (Given, When, Then, And) and ensure it is consistently enforced.

New Line at EOF:
Decide whether the rule for enforcing a new line at the end of files should be turned on or off.

No-Restricted-Patterns:
Identify and agree on a list of words or patterns that should be avoided in the Feature, Background, and Scenario sections.

File Name Format:
Decide on a standard file naming convention: PascalCase, Title Case, camelCase, kebab-case, or snake_case.

Indentation:
Finalize the indentation standards for Gherkin files (e.g., number of spaces or tabs to use).

@ravindrapalaskar17 ravindrapalaskar17 merged commit 7d06c50 into Gherkin-linting-Implementation-guideline Sep 2, 2024
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

Successfully merging this pull request may close these issues.

1 participant