"Continuously" testing with Visual Studio 2010

I used the following notes as guide line for my talk Sydney ALT.NET, and just post them here for future reference…
Had a great night @ the user group and interesting insights into stackoverflow from Sam Saffron.

 

An important aspect of Agile is the feedback loop or in other words: We want short feedback cycles.
Check out Scott Ambler post for why those feedback loops are so important in Agile http://www.ambysoft.com/essays/whyAgileWorksFeedback.html

Tired of manual deployments?

Have you ever come across this?

"Only Bob knows how to deploy... And he is on holidays..."

Or maybe this…

You spent an hour on a bug fix,
   but customers will not see it for months

TFS 2010 Build - Lesson learned --> Treat warnings as errors

We came across a weird issue with our TFS 2010 build server. We have an MVC3 web application where we added a new Silverlight application. Since we added that Silverlight application our build fails. We get error messages like these:

#1
image C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (1852): Copying file ClientBin\BuildAuction.xap to obj\Release\Package\PackageTmp\ClientBin\BuildAuction.xap failed. Could not find file 'ClientBin\BuildAuction.xap'.

#2
image Copying file C:\Builds\4\WoolTradePlus\WooltradePlus - Build and Test on Checkin\Binaries\BuildAuction.xap failed. Access to the path 'C:\Builds\4\WoolTradePlus\WooltradePlus - Build and Test on Checkin\Sources\trunk\WoolTradePlus\MvcApplicationXXX\ClientBin\BuildAuction.xap' is denied.

image
Figure: Spiderman and Batman to the rescue


Here is my journey to fix this problem

Running NUnit Tests in TFS 2010 Continuous Build Environment

I tried different ways to run nunit on our build server.
From
"NUnit for Team Build", to "executing nunit-console on cmd" and eventually customizing our project files…
None of those methods made me happy.
image
Figure: Sad - Broken builds and mucking around with XML make dev's unhappy

Latest Posts

Popular Posts