StevenMcD
StevenMcD

Reputation: 17482

When starting a MVC project, no Test project is created

When creating a new MVC Project in VS2008 Professional (SP1 installed), I do not get prompted for a Unit Test project.

I have searched and found this solution (Creating new ASP.Net MVC project - Unit Test Dialog does not show up) BUT I have already installed the Testing Tools and still no Unit Test dialogue appears.

Any ideas?

Upvotes: 1

Views: 251

Answers (2)

StevenMcD
StevenMcD

Reputation: 17482

I ended up formatting my pc, reinstalling Windows 7 and VS08 SP1 and MVC

Upvotes: 1

Ben Robbins
Ben Robbins

Reputation: 2630

Ultimately, the unit test project that is automagically added is just a class library project with the proper references added. Instead of worrying why the dialog doesn't pop up, add a class library project to your solution that references your testing framework. You'll end up with the results you want.

Upvotes: 0

Related Questions