Skip to content

Deprecate creating tests and keywords with name ... #3105

Closed

Description

@pekkaklarck

The ... syntax is generally used for continuation, but at the moment it can be used as test case and keyword name. For example, this strange example succeeds:

*** Test Cases ***
...
    Run Keyword    ...

*** Keywords ***
...
    No Operation

The new parser in RF 3.2 (#3076) is going to handle the continuation syntax differently than nowadays, at it cannot (at least easily) know is ... used for continuation or should it be used as a literal value. Using ... as a name is so strange that it's easier if we simply don't support it. Best to deprecate it already in RF 3.1.2.

Notice that although it's possible to have a keyword with name ..., such a keyword cannot be called directly because there ... would be considered continuation. That's the reason the above example needs to use Run Keyword.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions