Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xunit tests debug failed when Fact attribute has DisplayName value #1432

Closed
Jodan-pz opened this issue Apr 26, 2017 · 2 comments
Closed

Xunit tests debug failed when Fact attribute has DisplayName value #1432

Jodan-pz opened this issue Apr 26, 2017 · 2 comments
Assignees
Milestone

Comments

@Jodan-pz
Copy link

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.3)

Product Information:
Version: 1.0.3
Commit SHA-1 hash: 37224c9917

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64
Base Path: /usr/local/share/dotnet/sdk/1.0.3

VS Code version: Version 1.11.2 (1.11.2)
C# Extension version: 1.9.0

Steps to reproduce

Just add a DisplayName value to a unit test and try to use code lens debug or run.
Example:
[Fact(DisplayName="My Test Name")]
public void Test(){
}

Expected behavior

Debugging test session working

Actual behavior

Nothing, and the debugger must be restarted to be consistent. (restart omnisharp)

@DustinCampbell
Copy link
Member

Thanks for the report!

@ghost
Copy link

ghost commented Apr 27, 2017

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants