Derik Whittaker

Syndication

News


Remember to delete your MSTest TestResults on your build server

This is just a little PSA for anyone out there using MSTest and has a build server up and running.  Yesterday I noticed that our Hudson server was running low on drive space.  I thought this was a bit odd so I started to take a look.  After about 20 minutes of looking i realized that for each of our builds (about 30 of them) which run MSTest the results of prior tests were killing space.  In fact it turns out they were killing over over 7gig of drive space.

I updated our build scripts to delete the existing test results prior to running the new test and bam I get my 7 gig free.

Just like everything else in life, you MUST remember to cleanup after yourself or things get messy in a hurry.

Till next time,


Posted 06-10-2009 2:26 PM by Derik Whittaker
Filed under:

[Advertisement]

Comments

James wrote re: Remember to delete your MSTest TestResults on your build server
on 06-10-2009 8:20 PM

Or you could have a test run configuration for the build server that used a naming scheme that didn't include any variable configuration (such as the date/time) in the output folder name.

Ryan Rauh wrote re: Remember to delete your MSTest TestResults on your build server
on 06-11-2009 6:07 PM

Ugh! Why post a suggestion to delete your test results, before running your next build without an example of what you changed in you build script???

:)  Can you throw up an example? It would be greatly appreciated!

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)