TFS 2010 Build-Deploy-Test

Lab Management in TFS 2010 provides the ability to build deploy and test in an automated fashion.

The below scenario can be easily achieved using TFS 2010:

  • Build is scheduled daily at a specific time
  • When the build succeeds, it gets deployed and the BVTs are kicked off automatically
  • When the BVTs pass, the FVTs are kicked off automatically

The above activities are ideal to be performed at night and when the testers come in the morning, they analyse the results and file bugs for dev/test issues.

These activities make sure that every build is tested and regressions are caught in time. It also gives the management an impression of how stable the product is by looking at the trend of number of failures.

Below figure describes the TFS 2010 Architecture.

Here are some important links:

Installing TFS 2010:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2d531219-2c39-4c69-88ef-f5ae6ac18c9f

Installing Hyper-V Host:

http://msdn.microsoft.com/en-us/library/dd380687.aspx

Installing SCVMM:

http://msdn.microsoft.com/en-us/library/dd380687.aspx

Installing Test Controller:

http://msdn.microsoft.com/en-us/library/dd648127.aspx

Installing Build Controller:

http://msdn.microsoft.com/en-us/library/dd648127.aspx#BuildAgents

Installing Agents on VMs:

Configuring Lab Management in TFS:

 http://msdn.microsoft.com/en-us/library/dd380687.aspx

Virtual Machine Environment:

Below figure describes the workflow for TFS 2010: