Skip to content

XunitXml.TestLogger does not output custom traits with .NET 10 SDK #211

@yzhoholiev

Description

@yzhoholiev

Describe the bug

For the test executed using .NET SDK 10.0.100, the generated logger output does not contain any custom trait.

dotnet test --logger xunit --diag:log.txt

The same command for the same codebase executed using .NET 9.0.x SDK generates a proper report (in both cases, the target framework is net9.0).

  • Test Framework (choose one): Xunit
  • .NET project version, sdk version (choose applicable): net9.0
  • Command line used (please share the test run command): dotnet test --logger xunit
  • OS: Linux/Windows

Expected behavior

The custom traits are present in the generated logger output.

Other details

Additional context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions