Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 20, 2021

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