Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am using NUnit testing with Visual Studio 2013. We are using NUnitTestAdapter for integration of test run of NUnit with Visual Studio.

Visual Studio 2013 NUnit is version="3.0.1" NUnitTestAdapter version="2.0.0" .Net Framework 4.5.2

All packages are latest & installed from Nuget. There is no build error. We are getting error in test result window:

Attempt to load assembly with unsupported test framework in  D:JuniorAchievementGitjaumsJA.UMS.TestsinDebugJA.UMS.Tests.dll

while running or debugging test using Visual Studio Test Explorer.

enter image description here

Test is able to run on one machine with same code on Visual Studio 2013 ultimate. We all other have Visual Studio 2013 professional version, although I doubt it has nothing to do with the problem.

Please Help.

Update

__________

After update to NUnit3 Test Adapter no error but still no test are discovered.

enter image description here

Somehow both Adapter are available but with Nuget & VS extension I can find only NUnit3 Test Adapter.

Installed NUnit3 Test Adapter from https://visualstudiogallery.msdn.microsoft.com/0da0f6bd-9bb6-4ae3-87a8-537788622f2d

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
623 views
Welcome To Ask or Share your Answers For Others

1 Answer

It looks like you are trying to run NUnit3 tests with the NUnit2 Test Adapter. This is not supported.

You need to install the NUnit3 Test Adapter through Tools > Extensions and Updates in Visual Studio.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...