Skip to content

Fix dotnet-trx parsing of tests with custom display names#105

Merged
dorny merged 1 commit intomainfrom
fix-dotnet-trx-custom-names
Apr 20, 2021
Merged

Fix dotnet-trx parsing of tests with custom display names#105
dorny merged 1 commit intomainfrom
fix-dotnet-trx-custom-names

Conversation

@dorny
Copy link
Owner

@dorny dorny commented Apr 20, 2021

This PR fixes parsing of TRX test results with tests using custom display names or when xUnit [Theory] was used.

Previously the name of the test was always the name of the test method. Display names were ignored and in the case of [Theory] it would report each case as a test with the same name.

Now the name is either the custom name or test method name. In the case of [Theory], it will contain text describing passed arguments.

@dorny dorny merged commit 2e3fd84 into main Apr 20, 2021
@j-catania j-catania deleted the fix-dotnet-trx-custom-names branch September 22, 2023 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant