Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description: lowest number of Scenarios contained in any Rule inside the overall Feature.

Expand
titleExamples

Feature.leastScenariosInRule = 0

Could be used to find Issues where there is at least one Rule without any Scenarios

image-20241013-151846.png

This same query will also include any issues where there is a Rule with Scenarios however there is no text after the Rule keyword (i.e. an empty Rule card), meaning the Rule is not defined yet.

image-20241013-152036.png

...

Description: highest number of Scenarios contained in any Rule inside the overall Feature.

Expand
titleExamples

Feature.mostScenariosInRule > 5

Could be used to find Issues where there are perhaps too many Scenarios in a Rule which could mean that some of the examples could be potentially moved under a new not yet captured rule.

image-20241013-152545.png

...

Expand
titleExamples

Feature.scenarios = 0

Could be used to find Jira issues that do not yet have any examples of behaviour

image-20241013-130117.png

Feature.leastStepsInScenario

Type - Number

Description: lowest number of Steps contained in any of the Scenarios inside the overall Feature

Expand
titleExamples

Feature.leastStepsInScenario = 0

Could be used to find Jira issues where there is at least one Scenario which hasn’t been discussed to the level of concrete steps that would demonstrate the desired behaviour.

image-20241013-153354.pngImage Added

Feature.mostStepsInScenario

Type - Number

Description: highest number of Steps contained in any of the Scenarios inside the overall Feature

Expand
titleExamples

Feature.mostStepsInScenario > 5

Could be used to find Jira issues that have Scenarios with potentially too many steps which could mean that the Steps were used to describe ‘how’ functionally was implemented and not ‘what’ behavior was required which is an anti pattern in BDD.

image-20241013-155032.pngImage Added

Feature.warnings

Type - Number

Description: total number of warnings the Feature contains according to the syntax of Gherkin

Expand
titleExamples

Feature.warnings > 0

Could be used to find for example indentation warnings

image-20241013-155644.pngImage Added

Or missing data table values

Feature.errors

Type - Number

Description: total number of errors the Feature contains according to the syntax of Gherkin

Expand
titleExamples

Feature.errors > 0

Could be used to find incorrectly entered text

image-20241013-160215.pngImage Added

Or structurally incorrect data tables

image-20241013-160718.pngImage Added

Feature.lines

Type - Number

Description: total lines in a Feature

Expand
titleExamples

Feature.lines > 100