Process, Practices and Tools
RSSTwitterFacebookLinkedInGoogle+
  • About
Do you know that every user story should have an owner? Who broke the build?

Do you know the minimum builds to create on any branch?

By MrHinsh On March 18, 2010 · Leave a Comment · In SSW, Tools

BuildIcon_Large

When creating projects one of the only ways that you have of proving that it works and is a viable solution is to build it. This is easy when you only have one developer and that developer will be the only one using a solution. But what if you have 2 developers? How do you prove that one developers code works with the other? The answer is build servers. These build servers take specific code away to another computer and build it there.

Updated 29th March 2010: I was missing an intro for this one.


You should always have three builds on your team project. These should be setup and tested using an empty solution before you write any code at all.

clip_image002
Figure: Three builds named in the format [TeamProject].[AreaPath]_[Branch].[Gate|CI|Nightly] for every branch.

 

These builds should use the same XAML build workflow; however you may set them up to run a different set of tests depending on the time it takes to run a full build.

  • Gate – Only needs to run the smallest set of tests, but should run most if not all of the Unit Test. This is run before developers are allowed to check-in
  • CI – This should run all Unit Tests and all of the automated UI tests. It is run after a developer check-in.
  • Nightly – The Nightly build should run all of the Unit Tests, all of the Automated UI tests and all of the Load and Performance tests. The nightly build is time consuming and will run but once a night. Packaging of your Product for testing the next day may be done at this stage as well.

clip_image004
Figure: You can control what tests are run and what data is collected while they are running.

Note: We do not run all the tests every time because of the time consuming nature of running some tests, but ALL tests should be run overnight.

Note: If you had a really large project with thousands of tests including long running Load tests you may need to add a Weekly build to the mix.

 

 image
Figure: Bad example, you can’t tell what these builds do if they are in a larger list

 image
Figure: Good example, you know exactly what project, branch and type of build these are for.

 

Technorati Tags: SSW SSW Rules ALM TFBS VS 2010 

Related Posts:

  • Who broke the build?
  • Fail a build if tests fail
  • MSBuild and Business Intelligence Packages, Ahhhhhh!
  • Team Build Error
  • The Sprint is a container for Planning and not necessarily for Delivery
Tagged with: Automated Build • build • Team Foundation Build • Visual Studio • Visual Studio 2010 
Share →
Tweet
  • About Martin

    MartinHinshelwood150x150Martin is an Senior ALM Consultant at Northwest Cadence, Microsoft Visual Studio ALM MVP of the Year 2011, Visual Studio ALM Rangers Champion 2011 and a Professional Scrum Trainer

    Want to know more?

  • Subscribe via email

  • Tags

    Agile (17) Answers (25) API (10) Code (18) CodeProject (28) dev10 (34) Dyslexia (11) Fail (20) Microsoft .NET Framework (28) Microsoft Office SharePoint Server 2007 (MOSS) (27) net35 (12) Off Topic (23) Scrum (33) Service-Oriented Architecture (15) Sharepoint (19) SharePoint (33) SharePoint 2007 (44) SharePoint Foundation 2010 (26) Silverlight (15) Team Foundation Build (19) Tfs Event Handler (26) Tfs Sticky Buddy (19) Visual Studio (30) Visual Studio 2005 (27) Visual Studio 2005 Team Foundation Server (19) Visual Studio 2008 (37) Visual Studio 2008 Team Foundation Server (38) Visual Studio 2010 (50) Visual Studio 2010 Team Foundation Server (79) Visual Studio Team Foundation Server (70) Windows Communication Foundation (15) Windows Live (12) Windows Mobile 6 (17) Windows Presentation Foundation (WPF) (38) Work Item Tracking (41)
  • Archives

    • collapse2012 (11)
      • February (3)
      • January (8)
    • expand2011 (52)
      • December (1)
      • November (6)
      • October (5)
      • September (6)
      • August (3)
      • July (4)
      • June (9)
      • May (2)
      • April (2)
      • March (4)
      • February (6)
      • January (4)
    • expand2010 (53)
      • October (3)
      • September (6)
      • August (2)
      • July (5)
      • June (4)
      • May (5)
      • April (11)
      • March (13)
      • February (2)
      • January (2)
    • expand2009 (76)
      • December (5)
      • November (2)
      • October (6)
      • August (7)
      • July (12)
      • June (1)
      • May (21)
      • April (5)
      • March (2)
      • February (5)
      • January (10)
    • expand2008 (120)
      • December (9)
      • November (16)
      • October (15)
      • September (10)
      • August (15)
      • July (4)
      • June (1)
      • May (12)
      • April (10)
      • March (1)
      • February (7)
      • January (20)
    • expand2007 (178)
      • December (10)
      • November (13)
      • October (13)
      • September (11)
      • August (32)
      • July (22)
      • June (16)
      • May (17)
      • April (13)
      • March (13)
      • February (4)
      • January (14)
    • expand2006 (19)
      • December (7)
      • November (4)
      • October (1)
      • September (1)
      • August (3)
      • June (3)
  • What is MrHinsh saying?

    • Yes We Kanban - http://t.co/0WuQThB2
    • Farewell Stack Exchange - http://t.co/jCz1Dzd0
    • Installing Team Foundation Server Lab Management http://t.co/JwgQo01G via @wordpressdotcom
    • #TF200035 Sync error for identity with TFS 2010 http://t.co/mHYM6VwL #nwcadence #tools #dev10
    • RE: In order to not have to change all of the queries in "Current" then you should create the following: ..\Release… http://t.co/OvePvSU7
    • Dev11 Preview is out–First in a series: http://t.co/UwaIGx7S
    • RT @tmaduri: Father Shoots Daughter’s Laptop Over Facebook Rant - A 15-year-old Facebook user in North Carolina didn’t think her ... htt ...
    • RT @bsktcase: Another day, another meeting, another hour of repeatedly using "ask" as a noun #microsoftlife
    • Radio TFS Episode 37: Yes We Kanban http://t.co/pEuWt73i @stevenborg @nwcadence #kanban @radiotfs
    • @jamesTUPPER now @rickflath can play you :P
Yes We Kanban - http://t.co/0WuQThB2  — MrHinsh

Hinshelwood Family

Some posts from other members of the Hinshelwood Family

  • Kaiden and the big move (Kaiden and the Arachnoid Cyst)
  • Kaiden and the first check-up (Kaiden and the Arachnoid Cyst)
  • Kaiden and the worrying moment (Kaiden and the Arachnoid Cyst)
  • Someone turn the light on please... (Jadie Hinshelwood: A Yummy Mummy is born!)
  • A parents love... (Jadie Hinshelwood: A Yummy Mummy is born!)
  • A poem to cry for... (Jadie Hinshelwood: A Yummy Mummy is born!)

Most Comments

  • Office 2010 gotcha 2: Visual Studio 2008 Locks
  • Installing Windows SharePoint Services 3.0 Service Pack 1 (SP1)
  • Integrate SharePoint 2010 with Team Foundation Server 2010
  • Installing Visual Studio 2008 Team Suite on Windows 7
  • Why I think VB.NET is a better choice than C#
  • Upgrading Team Foundation Server 2008 to 2010
  • Project of Projects with team Foundation Server 2010
  • Installing Visual Studio 2010 Team Foundation Server on Windows Vista in 3 minutes
  • Kaiden and the Arachnoid Cyst
  • TFS vs. Subversion fact check

Popular Posts

  • Integrate SharePoint 2010 with Team Foundation Server 2010
  • Installing Visual Studio 2010 Team Foundation Server on Windows Vista in 3 minutes
  • Unique ID in SharePoint list
  • Upgrading Team Foundation Server 2008 to 2010
  • MVVM for Dummies
  • Project of Projects with team Foundation Server 2010
  • TFS vs. Subversion fact check
  • When should I use Areas in TFS instead of Team Projects in Team Foundation Server 2010
  • Guidance: A Branching strategy for Scrum Teams
  • What is the roll of the Project Manager in Scrum?
Copyright © 2006-2012 Martin Hinshelwood

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Family

  • jadie Hinshelwood 0
  • Kaiden Hinshelwood 0
PageLines by PageLines