VS for Mac 2019 - tests won't run

Asked by At

Set up a toy project in Visual Studio for Mac 2019 to try it out. I created a new xUnit project with a single test...

public class UnitTest1
    public void Test1()

When i try to run this test I get the following error:

Running LMS.LMS.Tests.LMS.Tests.UnitTest1.Test1 ...
Result message:
One or more errors occurred. (vstest.console failed to connect.) 
(vstest.console failed to connect.)

I installed nuget package xunit.runner.console but no change.

Has anyone any thoughts for this issue?

0 Answers