mono / monodevelop

MonoDevelop is a cross platform .NET IDE
http://www.monodevelop.com
2.84k stars 1.02k forks source link

[UnitTesting] Fix VS Test discovery failing #9417

Closed mrward closed 4 years ago

mrward commented 4 years ago

Downgraded VS Test from 16.4 to 16.2. The 16.4 version fails to discover tests. Test Discovery Console window has the error:

Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException:
Testhost process exited with error: The application to execute does
not exist: ''

The more recent VS Test seems to not find the testhost.dll causing test discovery to fail.

VS Test 16.2 is used by .NET Core 3.1 SDK.

Fixes VSTS #1030325 - VS Test discovery fails Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1030325

mrward commented 4 years ago

Tested the dmg locally and everything seems OK here. .NET Core xUnit, NUnit and MSTest can be tested and debugged.