INTELLIGENT.TECHNICAL.ARCHITECTURE.TRAINING

 
 
Blogs:
 
 

Turning on Continuous Testing in Visual Studio 11

Mark

March 2, 2012 / No Comment
AUTHOR:
CATEGORY: .Net, Blog, C#, Visual Studio


The new unit testing explorer support has a new unit test explorer has a Run dropdown for selecting which text to execute (see Figure 1).

Unit Testing Run Selection

Figure 1: Unit Testing Run Selection

In addition, Visual Studio 11 supports continuous testing – automatically running your tests every time you compile your code.  However, as shown in Figure 1, the option to enable continuous testing doesn’t appear from the Run dropdown (and probably shouldn’t because you are not likely to be changing the option back and forth that often).  To enable continuous testing, select the Unit Test->Unit Test Settings->Run Tests After Build menu as shown in Figure 2.

Activating Continuous Unit Testing In Visual Studio 11

Figure 2: Activating Continuous Unit Testing In Visual Studio 11


Leave a Reply

Your Name:
Your Email Adress:
Your comment:

 

IntelliTect Corporation
3024 S. Bannen Ct.
Spokane Valley, WA  99037

Phone: (509) 720-8842
Email: info@intelliTect.com

  COPYRIGHT © 2006-2012 INTELLITECT. ALL RIGHTS RESERVED.