All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.gherkin.rules.gherkin.max-number-steps.html Maven / Gradle / Ivy

The newest version!

For a scenario to remain readable and understandable, the number of its steps should remain limited. The default threshold is 12 and it includes steps in Background.

Noncompliant Code Example

With a custom threshold of 8:
Background:
  Given ...
  And ...
  And ...

Scenario: ...
  Given ...
  When ...
  Then ...
  And ...
  And ...
  And ...




© 2015 - 2025 Weber Informatics LLC | Privacy Policy