formulahendry / formulahendry/vscode-dotnet-test-explorer

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

Open
#56 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
208
Forks
93
PR merge metrics
No merged PRs in 30d

Description

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); }
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.