Skip to content

Substitute variables in step title in report #267

@asos-neilsyrett

Description

@asos-neilsyrett

I have a method that looks like this:

[Given("I create a customer with {0} addresses")]
public void GivenICreateACustomerWithAddresses(int addressCount)
{ }

The report shows this as:
Given I create a customer with addresses 5

I would expect the variable value to be substituted into the step title and look like this:
Given I create a customer with 5 addresses

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