Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VS 2012 - automatically generate tests?
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Testing and debugging
Title:
VS 2012 - automatically generate tests?
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01567891
Message ID:
01567891
Views:
46
Hi everybody,

I found this documentation online

http://msdn.microsoft.com/en-us/library/dd286656(v=vs.100).aspx

However, I am using VS 2012 and I do not see this menu at all when I right click my class. I can open the project in VS 2010, I guess, but just want to verify - is there a way to automatically generate unit tests for a class?

I have one class I created as a helper class for the bigger one. I've been concentrating on the bigger class tests and now I want to write tests for that smaller helper class. It has just a handful of methods and I'd like to generate a skeleton for all its methods automatically.

Thanks in advance.

UPDATE. Ok, I decided to go with VS 2010 and generated all the tests for that class. Will be working on them.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform