Visual Studio 2008 Kicks Off: Figure 1: Select the Objects and Methods to Autogenerate Unit Test Stubs.

Test-Driven Development (TDD) practitioners will welcome the incorporation of MSTest's automated unit test features into VS 2008 Professional Edition. Adding a TestProject to your solution from the New Project dialog and pointing it to a recently compiled assembly opens a dialog that uses reflection to generate a list of all objects and methods in each project. (TDD purists prefer writing tests first and then writing code to pass the tests.) Mark the check boxes for the objects, methods, or both that you want to test and click OK to generate a unit test stub for each (see Figure 2).Visual Studio 2008 Kicks Off: Figure 1: Select the Objects and Methods to Autogenerate Unit Test Stubs.
comments powered by Disqus
Most   Popular
Upcoming Events

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.