core icon indicating copy to clipboard operation
core copied to clipboard

Debug Unit tests

Open FvdG opened this issue 8 years ago • 1 comments

Unable to debug (x)unit test(s) in a .Net Core 2.0 application

I was able te get my xunit test up and running from the console with the dotnet xunit command. The problem, i want to be able to debug my unit tests in case of a complex problem.

How can I debug my unit tests? I would love to keep using XUnit but if there are working unit test frameworks I would glady switch.

The error inside VS2017:

Make sure test project has a nuget reference of package "Microsoft.NET.Test.Sdk" and framework version settings are appropriate and try again.

FvdG avatar Jan 19 '18 13:01 FvdG

Issue moved to dotnet/cli #8836 via ZenHub

Petermarcu avatar Mar 18 '18 16:03 Petermarcu