Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VS 2012 - automatically generate tests?
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Test et débogage
Titre:
VS 2012 - automatically generate tests?
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01567891
Message ID:
01567891
Vues:
47
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform