Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resharper shows all tests as inconclusive and has error "testadapter.dll does not exist on disk"

I created a new dot net core unit test project in Visual Studio using Visual Studio 2017. It uses NUnit 3. When I run the tests all of them show as "Inconclusive: Test not run".

Additionally, the Resharper test runner shows an error: "testadapter.dll does not exist on disk".

like image 271
Andrew Radford Avatar asked Apr 04 '18 20:04

Andrew Radford


1 Answers

I needed to install the NUnit3TestAdapter Nuget package.

Looking back, this seems like it should have been obvious to me. I was surprised that searching for the error message did not point towards the solution.

Less obvious was the fact that I had to install the Microsoft.NET.Test.Sdk Nuget package.

like image 186
Andrew Radford Avatar answered Nov 11 '22 00:11

Andrew Radford