Skip to content

No output from Tests when running with xUnit v3 #3531

@wasker

Description

@wasker

My setup is Visual Studio 2026 and xUnit v2.9.3. When I run tests in Visual Studio, I can see output from stdout in Output window with "Show output from Tests" selected. The output is coming from the unit under test and not from test cases themselves (i.e., not related to ITestOutputHelper).

After upgrading to xUnit v3, I can see the same output only when running dotnet test --logger "console;verbosity=detailed" but not when running from Visual Studio. In Visual Studio I only see "Connecting to client host '127.0.0.1' port '60184'" and the final tally.

How to get the output working in Visual Studio again?

Metadata

Metadata

Assignees

No one assigned

    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