Skip to content

Enforce the use of only one keyword between else and otherwise #3648

@tontonialberto

Description

@tontonialberto
  • Conditional steps, where both then and else clauses are specified in the same step, make an inconsistent use of else and otherwise keywords
  • In addition:
    • In some cases otherwise is followed by a comma, and in some others it's not
    • In some cases we can encounter Otherwise (ie. capital 'O') which follows a dot instead of a semicolon

I suggest enforcing the use of else over otherwise. This is because of the many different ways the latter is expressed throughout the spec, and also because it appears overall less frequently than else.

Here are the detailed reports for each case:

Additional information is also available here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions