Skip to content

XUnit Tests Do Not Show Passing or Failing in Test Explorer with DisplayName Specified #56

@fuzzzerd

Description

@fuzzzerd

As the title says, tests with the DisplayName specified do not show up correctly in the test explorer; though the actual dotnet test command does appear to run the tests and the console output shows the correct pass/fail numbers.

This works:

[Fact]
public void TestMethod() { Assert.True(true); } 

This does not (though dotnet test output shows tests pass)

[Fact(DisplayName="The Test Method")]
public void TestMethod() { Assert.True(true); } 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions