Skip to content

Cucumber expressions starting with a colon are not recognized #60

@anselmpaul

Description

@anselmpaul

Example:

Feature: Colon Bug
    Scenario: This is an example
        Given :this step starts with a colon
        Then the step should be recognized
[Binding]
public class ExampleSteps
{
    [Given(":this step starts with a colon")]
    public void stepStartsWithAColon() {}

    [Then("the step should be recognized")]
    public void stepShouldBeRecognized() {}
}

The step starting with ":" is highlighted as not found and erroneous.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions