Making Test Automation Work in Agile Projects StarWest 2009 Lisa Crispin With Material from Janet Gregory 1 Topics – Making Automation Work Learn ways to: Overcome common obstacles Use automation to “keep up” Succeed with the “whole team” approach Use automation to enhance ET Evaluate and implement tools Use ROI to help succeed 2 Copyright 2009 Lisa Crispin and Janet Gregory Why Automate? Free up time for most important work Repeatable Safety net Quick feedback Help drive coding Manual tests are error prone Tests provide documentation You know what your system does 3 Copyright 2009 Lisa Crispin and Janet Gregory Barriers to Test Automation What’s holding you back? S kill s a r e F C h a n gi n g c ? o ? d ?? e ? Not designed For testability 4 Copyright 2009 Lisa Crispin and Janet Gregory Pain and Fear Programmers don’t feel manual test pain Testers treated as safety net Fear Programmers lack testing skills Testers lack programming skills 5 Copyright 2009 Lisa Crispin and Janet Gregory It’s Worth It ROI – explain to management “Present value” of automated tests Acknowledge hump of pain 6 Copyright 2009 Lisa Crispin and Janet Gregory Initial Investment Hump of pain Legacy code, changing code Tools, infrastructure, time t r o f f E Time 7 Copyright 2009 Lisa Crispin and Janet Gregory What Affects ROI Good test practices increase ROI Simple, well-designed, refactored tests Test resources improve over time Poor test practices reduce ROI Tests are hard to understand Tests are hard to maintain 8 Copyright 2009 Lisa Crispin and Janet Gregory Copyright 2008: Janet Gregory, DragonFire Inc. Questions on Why Automate? 9 Copyright 2009 Lisa Crispin and Janet Gregory Small Group Exercise Write obstacles hindering your team on small Post-Its.. Stick them on the wall or flip chart. Group similar ones. What patterns emerge? Are there any unexpected barriers? Share patterns, surprising outcomes with the class. 10 Copyright 2009 Lisa Crispin and Janet Gregory
Description: