Skip to content

Consistently use name = value formatting for arguments with names in parameterized tests #4786

@sbrannen

Description

@sbrannen

Overview

As I mentioned in #4783, name-argument pairs in display names for parameterized classes and tests have different formatting/spacing depending on the use case.

When using useHeadersInDisplayName with @CsvSource or @CsvFileSource, they take the form name = value; whereas, when using the {argumentsWithNames} display name pattern, they take the form name=value (without spaces).

After discussing this within the team, we decided to consistently use the name = value formatting.

Related Issues

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions