Skip to content

xunit warnings: Skipping test case with duplicate ID #30325

@ViktorHofer

Description

@ViktorHofer

We are currently hiding thousands of warnings which indicate duplicate test data in Theories that are ignored.

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 / removing the duplicate theory data.

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

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions