WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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