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); }
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:
This does not (though dotnet test output shows tests pass)