For a Visual Studio project to display tests in the Test View window it needs to be created as a “Test” project. If you want to see the tests and it was created as some other kind of project originally, you should be able to add the following in the
<PropertyGroup> element in you
<project name>.csproj file which is XML based:
Now Visual Studio 2008 should display all your unit tests in the Test View window.
Thanks to this article for helping me out with this one.