240 likes | 253 Views
Learn how to use tests to improve software development and drive quality. Explore different testing methodologies and their benefits. Discover how to involve testers and validate test cases with customers. Join us to optimize your software development process!
E N D
DEV350 Using Tests to Drive the Entire Software Development Lifecycle Jeff Levinson (@tfsjeff) Senior ALM Consultant Northwest Cadence
Your life today • Not what I wanted • Write test cases • Found a bug
What are we really talking about? The Definition of Done
Standard V Model Engineering Business Driver System & Integration Tests Functional Tests Requirement Task Unit Tests Code
Driving Quality with V Model System & Integration Tests Business Driver Requirement Functional Tests Unit Tests Task Code
Specific Measurable Achievable Relevant Time-Based Business Goals Sys & Int. Tests Bus. Driver Functional Tests Requirement Unit Tests Task Code
Requirements Bus. Driver Sys & Int. Tests Functional Tests Requirement Unit Tests Task Code
Tests before code Demo
Tasks • Performance Testing • Functional Testing • Test Driven Development • Behavior Driven Development • Plain Old Unit Testing • …other unit testing methodologies Sys & Int. Tests Bus. Driver Functional Tests Requirement Unit Tests Task Code
Make developer tests runnable By testers Demo
Modular Interface base Code Coverage Separation of Concerns (MVC, MVP, MVVM) Code Testable Continuous Integration Gated Check-in Bus. Driver Sys & Int. Tests Functional Tests Requirement Unit Tests Task Code
Next Steps - Manager As a manager, I want to get testers earlier in the process so that I don’t have as many bugs later in the process
Next Steps - Developer As a developer, I want test cases first so that I know when I am done
Next Steps - Tester As a tester, I want to validate my test cases with the customer so that the test cases become the objective goal of the developers
Related Content • Breakout Sessions • DEV202: Team Foundation Server for Everyone • DEV306: Branching and Merging for Parallel Development • DEV310: Team Build 2010: From Build Definition to Custom Workflow Activities in 75 Minutes • DEV311: Deep Dive into Microsoft Visual Studio Team Foundation Server 2010 Reporting • DEV327: The Accidental Team Foundation Server Admin • Interactive Sessions • DEV271INT: Would You, Could You with TFS? • Hands-on Labs • DEV366HOL: Branching and Merging Visualization with Microsoft Visual Studio Team Foundation Server 2010 • DEV367HOL: Planning Your Projects with Microsoft Visual Studio Team Foundation Server 2010 • Find Me Later At… the Testing booth!
DEV Track Resources • http://www.microsoft.com/visualstudio • http://www.microsoft.com/visualstudio/en-us/lightswitch • http://www.microsoft.com/expression/ • http://blogs.msdn.com/b/somasegar/ • http://blogs.msdn.com/b/bharry/ • http://www.microsoft.com/sqlserver/en/us/default.aspx • http://www.facebook.com/visualstudio
Resources • Connect. Share. Discuss. http://northamerica.msteched.com Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn