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:
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:
- Test Agent: http://msdn.microsoft.com/en-us/library/dd648127.aspx
- Build Agent: http://msdn.microsoft.com/en-us/library/dd648127.aspx
- Lab Agent: http://msdn.microsoft.com/en-us/library/dd648127.aspx
Configuring Lab Management in TFS:
http://msdn.microsoft.com/en-us/library/dd380687.aspx
Virtual Machine Environment:
- Compose Virtual Environment: http://msdn.microsoft.com/en-us/library/ee943322.aspx
- New Virtual environment: http://msdn.microsoft.com/en-us/library/ee518915.aspx
Below figure describes the workflow for TFS 2010: