Download presentation
Presentation is loading. Please wait.
1
Team Foundation Server – Build-Deploy-Test Workflow
All comics taken from Licensed under creative common attribution: James Waletzky, Crosslake Partner We will begin the presentation at 2 minutes past the hour… Thanks for attending! Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
2
Assessment & Improvement Plan
Engineering System Assessment & Improvement Plan Process People Tools Interim technology leaders Organizatioal models and career development Coaching and training Product vision & strategy Software development model and workflow QA practices and tools Product, program and project management Human Performance Improvement Best Practices Business Impact: Enhance product value and quality Increase engineering effectiveness Reduce time to market Implement best practices and tools Deliver measurable improvements ALM Deployment Development tools and implementation Visual Studio/TFS Build, deploy, test Copyright © Crosslake Technologies, LLC 9/21/2018
3
What is your experience level with TFS Lab Management?
I am not very familiar with TFS lab management I know what lab management can do but want to learn more We have a lab management environment but want to learn more We use basic lab management scenarios We have a full System Center/Hyper-V based environment Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
4
What’s in it for you? How does TFS lab management help me?
Find out how TFS automates the build-deploy-test workflow, making certain operations minutes instead of days Make environments consistent, reduce errors, automate rote tasks, minimize bug repro times, reduce costs What are the requirements for enabling lab management? Learn how easy it is to get started; some perceived “requirements” are not really requirements. How does this whole build-deploy-test (BDT) workflow work with TFS? We will take a trip through an end-to-end BDT scenario How do I get started and what are the best practices? Hear some pointers on getting started, sprinkled with a few best practices Notes/Assumptions: Focus is on 2012; 2013 will not change much. Hopefully our scenario is similar to yours. Let us know if it is not and we can discuss. Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
5
A Typical Build-Deploy-Test Scenario
A brief look at some common software development activities Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
6
Would you rather do this manually or automate?
Build-Deploy-Test Unit test Continuous integration Develop Clean environment (build machine) Binaries dropped Build Setup/Tear down test environments Copy/Install/Configure Deploy Integration test Test Would you rather do this manually or automate? Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
7
Where we want to go Copyright © Crosslake Technologies, LLC 9/21/2018
8
Team Foundation Server Lab Management
A whirlwind overview of key features Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
9
Architecture Overview
Microsoft Test Manager What’s new in TFS 2012? Only one type of agent – test agent Test agents are automatically installed in test environments MTM comes with VS Ultimate, VS Premium and VS Test Professional Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
10
Microsoft Test Manager: Testing Center
The Testing Center is the QA engineer’s home base Skip by this slide quickly since audience will have seen Testing Center before. Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
11
Microsoft Test Manager: Lab Center
Lab Center is where test environments, configuration, and deployment are controlled. Copyright © Crosslake Technologies, LLC 9/21/2018
12
Why Lab Management? Improve product quality and time to test through:
Scalable architecture Tight integration with the rest of the TFS ALM suite Automate Build-Deploy-Test workflow Manage test environments Handle large test matrices easier Diagnostic data collection during workflow Snapshots, VM library and network isolation (SCVMM) Time spent installing Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
13
Lab Management Walkthrough
Scenario: Fabrikam Fiber provides TV and cable services to the US. Their main application is a ASP.NET MVC application in the cloud for a customer-facing web site, as well as an on-premise application for administering customer requests. The team wants to automate their build, followed by deployment, followed by test validation. Process: Setup and configure a test environment Test controllers Create a new test environment Set up a build-deploy-test definition Define the environment to be used Execute the build-deploy-test workflow! Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
14
SCVMM vs. Standard Environments
With SCVMM, you can: Automatically setup and teardown of VMs Snapshot and rollback an environment from within the lab management environment Maintain libraries of host environments Create host machines based on templates Capability SCVMM Standard Testing Run manual tests Supported Run coded UI and other automated tests File rich bugs using diagnostic adapters Build deployment Automatic build-deploy-test workflows Environment creation and management Use physical machines in addition to virtual machines Not supported Use third-party virtual machines Automatically install test agents onto machines in the lab environment Save and deploy the state of a lab environment using environment snapshots Create lab environments from VM templates Start/stop/snapshot environment Connect to the environment using Environment Viewer Run multiple copies of an environment at the same time using network isolation Templates do not contain a machine name or other unique identifiers Table taken from: Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
15
A Trip Through the Development Lifecycle…
Dev writes code & unit tests; executes unit tests regularly QA writes test cases and automation Dev tests privately and checks-in code Continuous integration build is kicked-off On successful CI build, bits are deployed to a common share Test environment(s) is spun up Bits are deployed to test environment(s) Deployment scripts are executed Automated tests are executed Results are reported Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
16
Frequently Asked Questions
What about Azure VM support? Not officially enabled at this time, but the VS ALM Rangers are working on a proof-of-concept/story What about other cloud solutions? Check out SkyTap Cloud Please indicate you were referred by Crosslake Does TFS support non-Hyper-V VMs? Yes! BLOG: Does Lab Management support non-Hyper-V platforms? Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
17
REMINDER: Best Practices
Copyright © Crosslake Technologies, LLC 9/21/2018
18
What’s next? Please fill out the survey at the end of the webinar
Download the slides: Evaluate TFS Free hosted: VM used for this demo is free If a locally-hosted solution is right for you, take the time to plan it Contact Crosslake for advice on development processes, practices, and/or TFS deployment Copyright © Crosslake Technologies, LLC 9/21/2018 Copyright © Crosslake Technologies, LLC
19
Links & Resources Overview of Lab Management (MSDN)
Lab Management Hub (MSDN) VS ALM Rangers Lab Management Guide Lab Management Frequently Asked Questions Using Lab Manager to Create a Build Lab in the Sky (Azure) SkyTap Cloud TFS Integration Copyright © Crosslake Technologies, LLC 9/21/2018
20
Software Engineering Excellence
James Waletzky Partner Copyright © Crosslake Technologies, LLC 9/21/2018
21
Appendix Copyright © Crosslake Technologies, LLC 9/21/2018
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.