Wednesday, October 7, 2015

NUnit Test Adapter–No tests found to run

Today I discovered an annoying bug in the NUnit Test Adapter, a Visual Studio extension that integrates NUnit test execution in the IDE.

I created some new tests for a specific library, however when I tried to load and run my tests, nothing happened. Inside the output window I noticed the following message:

image

What was causing the issue? When I looked at the Build settings for my test project, I saw that the Compiler platform was set to x64.

image

After changing it to AnyCPU, my tests were discovered…

image

No comments: