Skip to content

xunit warnings: Non-serializable data #30324

@ViktorHofer

Description

@ViktorHofer

We are currently hiding thousands of warnings that indicate that our test data is not serializable. See aspnet/SignalR#1649 for more details.

Switching from xunit.console to dotnet test/vstest displays those warnings by default. I think we should at least investigate if the warnings are valid and consider fixing them.

Test branch with dotnet vstest for local validation: https://github.com/ViktorHofer/corefx/tree/DotNetTest
Related: dotnet/arcade#3333

Attaching the xunit log from System.Text.RegularExpressions.Tests: xunit-warnings.txt

cc @danmosemsft @safern

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Metatest-bugProblem in test source code (most likely)

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions