in

Platinum Bay

Peace, Love, and Visual Studio ALM

This Blog

Syndication


.NETicated

Neat Visual Studio Test Options

Digging around in Tools > Options today to find the answer to an inquiry I received, I found some stuff I didn’t know existed. If you work with Visual Studio Test Projects, you will want to know about these options. The Test Tools options are found in Tools > Options > Test Tools.

Test Execution Options

The original question I received was from someone asking how to reduce the number of test results that Visual Studio kept around after test runs. The answer lies in the Test Execution options under Test Result Management. There is an option there labeled “Limit number of old Test Results to.” By default, this value is set to 25. While 25 may be an ideal setting if you are running a multitude of test runs and want to compare results, for most of us this is overkill. Personally I set it to three, and that tells Visual Studio to clean up results older than three runs.

Also take note of the checkbox below it labeled “Double-clicking a Failed or Inconclusive unit test result displays the point of failure in the test.” When you double-click on a failed or inconclusive unit test result, you will no longer be taken to a test result report. Rather, you will be taken to the line of code that failed in the test.

image

Test Project Options

I have always been frustrated when test projects were created with the “About Test Projects” introduction file and the Manual Test. The next step after creation for me was always to delete these items. In digging around today, I discovered that what files are created with test projects is configurable. Under the Test Project node, you will find a two side-by-side list boxes at the bottom of the settings pane. The left side allows you to select a language-specific test project, and the right side contains checkboxes allowing you to specify which files are included by default.

image

Conclusion

I’m sure you will find these tips as useful as I have, I know they’ll be making their way into my Visual Studio Tips and Tricks talk.

Comments

September 25, 2009 6:06 AM

Pingback from  Dew Drop – September 25, 2009 | Alvin Ashcraft's Morning Dew

 

September 25, 2009 8:03 AM

Pingback from  Twitter Trackbacks for                 Neat Visual Studio Test Options - .NETicated         [platinumbay.com]        on Topsy.com

 

September 27, 2009 12:52 AM

Daily tech links for .net and related technologies - September 26-28, 2009 Web Development 10 Things

 

May 6, 2010 6:06 AM

Pingback from  final test pingback from «  End Year 2012

 

May 6, 2010 8:33 PM

Pingback from  saint louis «  auto glass repair

 

May 20, 2010 6:19 PM

Pingback from  Amazon Gmc X38 P3500 Van, P45 P3500 Van Promotion Proportioning Valve

 

May 21, 2010 3:52 AM

Pingback from  Pt Rx400h Accessories Lexus Rx330, Rx400h Radiator Price

 

May 21, 2010 5:11 AM

Pingback from  1981 Jeep Cj7 Parts 6cyl Golden Eagle, Cj7 Parts Auto Jeeps For Sale

 

May 21, 2010 5:25 AM

Pingback from  Replacement Headlight Assembly Infiniti Fx35 Parts, Headlight 2003 Infiniti Fx35 Propeller Shaft Fuel System

 

May 21, 2010 9:38 AM

Pingback from  Jeep Cj5 Pictures Off Road Vehicles, 1965 Jeep Cj5 Parts

 

May 21, 2010 12:22 PM

Pingback from  10th Anniversary 260z, Z Datsun 260z

 

May 21, 2010 8:33 PM

Pingback from  1999 Intrepid Egr, Intrepid Sea Prices

 

May 21, 2010 9:16 PM

Pingback from  540i Band, 540i Coupon W0133

 

May 21, 2010 9:23 PM

Pingback from  220d Review Bmw 320d, 220d Led Traction Control

 

May 22, 2010 6:09 AM

Pingback from  Mazda Mizer Replacement Mx 6 Help, Mazda Protege 10 Fog Lights

 

May 22, 2010 8:56 AM

Pingback from  S65 Amg Water Heater Windshield Wipers, S65 Amg Discount New Torque Vectoring 2010 Mercedes Benz

 

May 22, 2010 3:45 PM

Pingback from  Used Mitsubishi Lancer Estate Remote Central Locking, Mitsubishi Endeavor For Sale In Mn Lancer Sportback

 

May 22, 2010 6:34 PM

Pingback from  Used Mercedes Benz Clk63 Amg Wheel Arches, Clk63 Part Discount

 

May 23, 2010 1:20 AM

Pingback from  E350 Used Cargo Van 2009 Ford, E 250 E150 Club Wagon Model Exhaust Manifold

 

May 23, 2010 4:53 AM

Pingback from  C40 C3500 Download Aftermarket, C350 Simple Phone - 269.akemet.com

 

May 23, 2010 9:24 AM

Pingback from  Pinto Ride On Animal Little Tikes, Coupon Spintop Games - 395.jeepsunlimted.com

 

May 23, 2010 12:06 PM

Pingback from  1980 Lincoln Versailles Mercury Monarch, Regis Monarch Beach Vancouver Bc Career Opportunity Hornby St - 347.animejin.com

 

May 23, 2010 12:37 PM

Pingback from  Millenia Radiator Catalog Fits Mazda Rx8, Used Rx 8 Engine 2004 Mazda Rx8 - 259.codebluehacks.org

 

May 24, 2010 10:47 AM

Pingback from  Bald Eagle Seal, Goodyear Eagle Ls Tyres Recall - 30.luna-atra.net

 

May 25, 2010 9:07 AM

Pingback from  1999 Bmw 850csi The Persian Gulf War, 850csi Dvd Technical - 340.akemet.com

 

May 25, 2010 5:18 PM

Pingback from  280sel Headlight 1970 Mercedes Ignition Coil, 280sel Performance Track Sedans - 95.luna-atra.net

 

May 26, 2010 1:50 AM

Pingback from  Xl 7 Aftermarket Floor Mats Suzuki Xl7 Accessories, 09 2007 Suzuki Xl7 - 108.binggreen.com

 

Leave a Comment

(required )  
(optional )
(required )  
Add

About Steve

Steve Andrews is an independent consultant, INETA speaker, and Microsoft MVP for Visual Studio ALM. He has been working in technology for over ten years focusing on custom application development and Application Lifecycle Management. Steve is also Microsoft and IBM certified and a community fanatic having led sessions at nearly 100 events across North America. When he's not developing software solutions or engaging with the community about software technology, Steve is a closet singer and songwriter and plays the guitar and keys. Occasionally, Steve even gets to sleep. Occasionally.
Powered by Community Server (Commercial Edition), by Telligent Systems
© Platinum Bay | Some Rights Reserved Creative Commons License

Disclaimer: The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or annonymous comments) - so keep it polite, please.