SlideShare a Scribd company logo
 
 
 
 
 

AW12
Concurrent Session 
11/7/2012 3:45 PM 
 
 
 
 
 
 
 

"Test Automation on Large Agile
Projects: It?s Not a Cakewalk"
 
 
 

Presented by:
Scott Schnier
Agilex Technologies
 
 
 
 
 
 
 
 

Brought to you by: 
 

 
 
340 Corporate Way, Suite 300, Orange Park, FL 32073 
888‐268‐8770 ∙ 904‐278‐0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com
Scott Schnier
Agilex Technologies
Scott Schnier is currently a senior agile practice manager at Agilex Technologies
working with other courageous and passionate people to bring agile development
practices to the Federal Government. He has held positions of software engineer,
director of development, mentor, architect, director of quality assurance, project
manager, program manager, agile coach, ScrumMaster, and proxy product owner.
Scott’s varied work experience has found him in small startups, Fortune 500 firms, and
as a government contractor. A founding member of the Cincinnati chapter of ALN, Scott
is currently active in the Washington DC chapter. Scott takes special pleasure in and
has a passion for helping people work better together.
.

 
9/3/2012

Test Automation on Large Agile Projects,

It’s not a Cakewalk

Scott Schnier
Agilex Technologies
Scott.Schnier@Agilex.com
1

The Story


Test Automation
◦ Growth and division of work and
responsibility
◦ Support of Agile Values
◦ Lessons learned and victories



There are no “best practices”

2

1
9/3/2012

It’s not a cakewalk

3

The Setting
Core group of Agile/Scrum practioners
 Many staff new to Agile/Scrum
 Customer willing to try something new,
frustrated with past failures.
 Government contract, multiple vendors.
 Driven by Legislation


4

2
9/3/2012

Geography

5

Scrum Team Evolution
1

3
5
2

4

6
9
7

8

D

11
10

R

S

13
12

After 2 ½ years
6

3
9/3/2012

Test Automation - Why ?

7

Keep Development on Track

8

4
9/3/2012

Capture Knowledge

9

Automate repetitive work

10

5
9/3/2012

“Working software over
comprehensive documentation”
How do 
you 
know it 
still 
works 
today?

11

Why Automate Tests?
Move discovery of defects to the left (
earlier)
 Respond to emergent requirements
 Capture Intellectual property (test skill)
 Enable test engineers to focus on creative
work not repetitive testing tasks.
 Make specifications executable and a
trusted way to understand the impact of
change.


12

6
9/3/2012

Test Vision
The scrum team is the value creation
engine
 Tests are best created in the Scrum team
 Test is a skill not a role
 Need to support test while making the
scrum team primary


13

Issues on the Journey


Test debt accumulation



Specialized testing tools
contribute to
segmentation of
responsibility



People who do functional
testing straddling more
than one team

14

7
9/3/2012

Managing Test Debt
Organization
 Definition of “Done”


15

How do we get test debt
How many 
points is 
that story?

Oh… 8 points 
plus testing

16

8
9/3/2012

Test Debt avoidance


Size of a story is more accurate with an
integrated discussion regarding all of the
test and product work.

17

Regression test debt


The story is complete but 30% of the
regression tests are broken.

18

9
9/3/2012

Definition of “Done”
To be complete - tests
must be done and
running green on the
Continuous Integration
pipeline.
 If we make an exception then “test fixing” stories
should be estimated and
in the backlog so PO’s
can agree to the
exception.


19

Testing work straddling teams

20

10
9/3/2012

Traditional SDLC Workstreams

21

A more Agile Organization

22

11
9/3/2012

Where is testing done?
In the scrum team
 Recall definition of done
 What happens to the regression tests
that accumulate?


23

Organization for Test Management
9 Scrum
1

7



Partitioned rotating triage/
leadership

2

6
5

3
4

End of sprint handoff







Completely partitioned
Autonomous teams

9 Scrum 
1

7

2
6

Scrum teams Plus System Test
Integration
Dedicated Maintenance Team

5

3
4

STI

Maint’

24

12
9/3/2012

Lessons
Organize test sets to support scrum team
affinity.
 With more than ~5 scrum teams an
integration or “DevOps” team is
necessary and good.
 Listen for and stamp out opportunities
for debt to accumulate.
 Test Community of Practice is valuable
and takes work to be effective


25

Key challenge


Design organization/responsibility so
that test debt does not accumulate.

26

13
9/3/2012

Shared responsibility


Functional scrum
team
◦ Develops tests
◦ Executes acceptance
tests
◦ Promotes to regression
◦ Monitors selective
regression projects
◦ Performs impact analysis
of new functions/fixes
regression



System Test
integration
◦ Maintains test
framework/standards
◦ Executes regression
tests – All
◦ Creates and maintains
reusable test
components.
◦ Helps functional scrum
teams with massive
breakages.
27

Development workflow
1.Update personal workspace
2.Implement change (Story/task, defect, test)
3.Test locally, unit, integration, smoke
4.Update personal workspace
5.Resolve conflicts
6.Commit change to repository & test pipe line
7.Monitor key test projects
8.Revert or fix any problems
28

14
9/3/2012

A slice of life
Skype Chat snippet 
[7/2/2012 12:23:28 PM] Dan : Trunk‐Dev is broken
[7/2/2012 12:23:45 PM] Dan : anyone working for a fix?
[7/2/2012 12:24:11 PM] Dan : …. ERROR :….
….
[7/2/2012 12:27:39 PM] Steve : I'm working with Mike on resolving it
[7/2/2012 12:30:10 PM] Dan : Thanks

29

Continuous Integration status

30

15
9/3/2012

Continuous Integration









Release Build - Integration and Unit tests
(1000’s)(commit package)
Rapid Smoke Test and Regression Lite (20 min)
(commit package)
Smoke on each functional test server(>= daily)
Regression Lite on other Browsers(>= daily)
Regression Heavy (2 hours) (>=daily)
All other automated regression tests 1000’s(daily)
Semi- automated (100’s) & Manual tests
(10’s)(delivery at least)
Ad-Hoc testing 10’s of hours( each delivery)
◦ Human intuition, UI (CSS & other risks)

31

Ongoing challenge
•

•
•
•

As system gets larger individuals are
less likely to feel responsible or
capable of fixing broken tests.
• Start with one, two then three
functional scrum teams.
• Months latter a team forms that
specializes on a particular
component of the system.
• A few more months another
component team arises….
Becomes harder to maintain the
social norms of “Stop and Fix “
The technical challenges also increase
when the system complexity grows.
The need and the risk of integration
problems also grow at the same time.

32

16
9/3/2012

Challenges of Scale
People are socially more distant
 Technical skills become more focused
 Accountability becomes more elusive
 One mistake can impact more people,
makes actions more conservative, slows
velocity


33

Wisdom








When number of teams exceeds 7 +/-2 need a
system level team focused on test
assets/regression
Test Community of Practice is essential
Organize test sets with an affinity for teams or
system components.
As the program gets larger needs to have a team
with gentle authority to ensure consistently
Ultimately with > 10 teams will need to consider
multilevel integration.
Performance/stress test is a separate team.
34

17
9/3/2012

Managing – Tool Specialists
Common tool
platform for test
developers and
product developers
 Increase the pool of
people who can
create or fix a test.


35

Why a “new” framework


Conejo Test Framework motivators
◦ Eliminate barriers to “every one is a tester”
◦ Enable data driving for more resilient tests
◦ Integrate multi modal testing into one
coherent framework Web UI, component,
web services, manual.
◦ Support the workflow from acceptance test
development to regression testing to
obsolesce
◦ Integrate all test assets
36

18
9/3/2012

Test design Goals
Minimize collateral code, focus on test
target.
 Enable tests to quickly respond to
changes in Application Under Test
 Easy to understand when it breaks (reuse
common patterns, canonical test classes)


37

Test types

Unit

Integration

Functional

Scope

Class

Component(s)

System

Persistence

No

Maybe

Yes

Author

Self

Anyone

Not the Author

Tests system interface

No

No

Yes

Traceable to epic, story
or defect

No

Maybe

Yes

Execution

Pre release
build

Pre release build

Post release build*
38

19
9/3/2012

Test Architecture
Tests

Utility Classes
Interface Classes

Se

Test Framework

JUnit

Application Under Test

39

Test Execution
@Test
@TestHeaderInfo(description = "Test Buyer Sequence",
…
functionalArea = {"Buyer" , "Order" } )
public void testBuyerSequence() {
//Test code goes here....
}
@Test
@TestHeaderInfo(description = "Test Seller Sequence",
…
functionalArea = {"Seller" } )
public void testSellerSequence() {
//Test code goes here....
}
mvn test ‐Dconejo.filter.functionalAreas="Seller"
40

20
9/3/2012

Product and “Anti-Product”
Product
DBA
Operations
Architecture

Architecture
Operations
DBA

Test
41

It’s not a cakewalk

42

21
9/3/2012

Wrap Up
Multiple Motivations
 Test is the Product anti-matter
 Needs to be approached as first class
component of the solution.
 Complex organizational and technical
concerns
 Part of the secret sauce of a successful
Agile effort.


43

Questions? – Ideas!

44

22

More Related Content

PDF
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
PDF
The Leaders Guide to Getting Started with Automated Testing
PDF
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
PDF
ODD+PC: How to Get Stuff Right
PDF
Adapting-Automation-to-the-available-workforce
PDF
Measurement and Metrics for Test Managers
PPTX
STPCon fall 2012: The Testing Renaissance Has Arrived
PDF
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
The Leaders Guide to Getting Started with Automated Testing
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
ODD+PC: How to Get Stuff Right
Adapting-Automation-to-the-available-workforce
Measurement and Metrics for Test Managers
STPCon fall 2012: The Testing Renaissance Has Arrived
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More

What's hot (20)

PPTX
Agile is easy! It's making it work with your business that is hard
PDF
Deploy or Adopt - Success or Failure for Technology Insertion
PPT
Reduce Development Cost with Test Driven Development
PDF
A Rapid Introduction to Rapid Software Testing
DOCX
Tutorial test driven development with Visual Studio 2012
PDF
Holistic testing in DevOps
PDF
How to test when robots become part of your process? Workshop robotesting agi...
PDF
James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
PPTX
Vasco duarte - agile R&D - scrum gathering lisbon 2011
PPTX
Let's focus more on Quality and less on Testing by Joel Montvelisky
PDF
How to be Innovative
PPTX
Challenges with agile testing process and how to debug and troubleshoot these...
PPTX
Improving developer tester collaboration with microsoft visual studio 2010
PDF
Getting Started with Risk-based Testing
PPTX
Business Agility - taking advantage of an agile R&D
PDF
The Testing Planet Issue 10
PDF
Agile testing
PPTX
Agile in a Legacy World - Sonik Chopra
PPS
Simona Hera - A Practical Guide for Testers in Agile Teams
PDF
Ensuring accessibility by Kenny Gilles
Agile is easy! It's making it work with your business that is hard
Deploy or Adopt - Success or Failure for Technology Insertion
Reduce Development Cost with Test Driven Development
A Rapid Introduction to Rapid Software Testing
Tutorial test driven development with Visual Studio 2012
Holistic testing in DevOps
How to test when robots become part of your process? Workshop robotesting agi...
James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
Vasco duarte - agile R&D - scrum gathering lisbon 2011
Let's focus more on Quality and less on Testing by Joel Montvelisky
How to be Innovative
Challenges with agile testing process and how to debug and troubleshoot these...
Improving developer tester collaboration with microsoft visual studio 2010
Getting Started with Risk-based Testing
Business Agility - taking advantage of an agile R&D
The Testing Planet Issue 10
Agile testing
Agile in a Legacy World - Sonik Chopra
Simona Hera - A Practical Guide for Testers in Agile Teams
Ensuring accessibility by Kenny Gilles
Ad

Viewers also liked (16)

PDF
How to Survive the Coming Test Automation Zombie Apocalypse
PDF
Introducing Keyword-Driven Test Automation
PDF
Leveraging Core Values for Healthier, More Productive Teams
PDF
Lean Management: Lessons from the Field
PDF
Become a Big Data Quality Hero
PDF
ADC-BSC EAST 2013 Keynote: Worse Is Better—For Better or for Worse
PDF
Yin and Yang: Metrics within Agile and Traditional Lifecycles
PDF
Testing Challenges within Agile Teams
PDF
Patters for Team Collaboration: Toward Whole Team Quality
PDF
Keynote: Surviving or Thriving: Top Ten Lessons for the Professional Tester
PDF
Test Estimation for Managers
PDF
The Mindset Change for the Agile Tester
PDF
Measurement and Metrics for Test Managers
PDF
An Introduction to SAFe: The Scaled Agile Framework
PDF
Agile Development in a Regulated Environment
PPT
Testing After You’ve Finished Testing
How to Survive the Coming Test Automation Zombie Apocalypse
Introducing Keyword-Driven Test Automation
Leveraging Core Values for Healthier, More Productive Teams
Lean Management: Lessons from the Field
Become a Big Data Quality Hero
ADC-BSC EAST 2013 Keynote: Worse Is Better—For Better or for Worse
Yin and Yang: Metrics within Agile and Traditional Lifecycles
Testing Challenges within Agile Teams
Patters for Team Collaboration: Toward Whole Team Quality
Keynote: Surviving or Thriving: Top Ten Lessons for the Professional Tester
Test Estimation for Managers
The Mindset Change for the Agile Tester
Measurement and Metrics for Test Managers
An Introduction to SAFe: The Scaled Agile Framework
Agile Development in a Regulated Environment
Testing After You’ve Finished Testing
Ad

Similar to Test Automation on Large Agile Projects: It's Not a Cakewalk (20)

PDF
Manoj Kolhe - Testing in Agile Environment
PDF
The Tester’s Role: Balancing Technical Acumen and User Advocacy
PPT
Agile Cafe Boulder - Panelist and keynote slides
PDF
Agile testing guide_2021
PDF
Performance Testing in the Agile Lifecycle
PDF
Agile testing
PDF
Seven Keys to Navigating Your Agile Testing Transition
DOC
Achal_Resume_7.11
PPTX
The Tester's Role in Agile Planning
PPS
Estimating test effort part 1 of 2
PDF
Effective Testing Practices in an Agile Environment
PPTX
Training - Agile Testing
DOCX
Nataraj Krishnaswamy Profile
DOCX
Resume_Pratheeshkumar
PDF
Testaus 2014 -seminaari: Paul Gerrard. The Changing Role of Testers’.
PDF
Testaus 2014: Paul Gerrard - The Changing Role of Testers'
PPTX
Test management
PPTX
Implementing a testing strategy
PPT
Agile Pmi 102108 Final
Manoj Kolhe - Testing in Agile Environment
The Tester’s Role: Balancing Technical Acumen and User Advocacy
Agile Cafe Boulder - Panelist and keynote slides
Agile testing guide_2021
Performance Testing in the Agile Lifecycle
Agile testing
Seven Keys to Navigating Your Agile Testing Transition
Achal_Resume_7.11
The Tester's Role in Agile Planning
Estimating test effort part 1 of 2
Effective Testing Practices in an Agile Environment
Training - Agile Testing
Nataraj Krishnaswamy Profile
Resume_Pratheeshkumar
Testaus 2014 -seminaari: Paul Gerrard. The Changing Role of Testers’.
Testaus 2014: Paul Gerrard - The Changing Role of Testers'
Test management
Implementing a testing strategy
Agile Pmi 102108 Final

More from TechWell (20)

PDF
Failing and Recovering
PDF
Instill a DevOps Testing Culture in Your Team and Organization
PDF
Test Design for Fully Automated Build Architecture
PDF
System-Level Test Automation: Ensuring a Good Start
PDF
Build Your Mobile App Quality and Test Strategy
PDF
Testing Transformation: The Art and Science for Success
PDF
Implement BDD with Cucumber and SpecFlow
PDF
Develop WebDriver Automated Tests—and Keep Your Sanity
PDF
Ma 15
PDF
Eliminate Cloud Waste with a Holistic DevOps Strategy
PDF
Transform Test Organizations for the New World of DevOps
PDF
The Fourth Constraint in Project Delivery—Leadership
PDF
Resolve the Contradiction of Specialists within Agile Teams
PDF
Pin the Tail on the Metric: A Field-Tested Agile Game
PDF
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
PDF
A Business-First Approach to DevOps Implementation
PDF
Databases in a Continuous Integration/Delivery Process
PDF
Mobile Testing: What—and What Not—to Automate
PDF
Cultural Intelligence: A Key Skill for Success
PDF
Turn the Lights On: A Power Utility Company's Agile Transformation
Failing and Recovering
Instill a DevOps Testing Culture in Your Team and Organization
Test Design for Fully Automated Build Architecture
System-Level Test Automation: Ensuring a Good Start
Build Your Mobile App Quality and Test Strategy
Testing Transformation: The Art and Science for Success
Implement BDD with Cucumber and SpecFlow
Develop WebDriver Automated Tests—and Keep Your Sanity
Ma 15
Eliminate Cloud Waste with a Holistic DevOps Strategy
Transform Test Organizations for the New World of DevOps
The Fourth Constraint in Project Delivery—Leadership
Resolve the Contradiction of Specialists within Agile Teams
Pin the Tail on the Metric: A Field-Tested Agile Game
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
A Business-First Approach to DevOps Implementation
Databases in a Continuous Integration/Delivery Process
Mobile Testing: What—and What Not—to Automate
Cultural Intelligence: A Key Skill for Success
Turn the Lights On: A Power Utility Company's Agile Transformation

Recently uploaded (20)

PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPT
Teaching material agriculture food technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Approach and Philosophy of On baking technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
A Presentation on Artificial Intelligence
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
KodekX | Application Modernization Development
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Modernizing your data center with Dell and AMD
PPTX
Big Data Technologies - Introduction.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
NewMind AI Monthly Chronicles - July 2025
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Chapter 3 Spatial Domain Image Processing.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Teaching material agriculture food technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
MYSQL Presentation for SQL database connectivity
Network Security Unit 5.pdf for BCA BBA.
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Approach and Philosophy of On baking technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
A Presentation on Artificial Intelligence
Digital-Transformation-Roadmap-for-Companies.pptx
KodekX | Application Modernization Development
Dropbox Q2 2025 Financial Results & Investor Presentation
Modernizing your data center with Dell and AMD
Big Data Technologies - Introduction.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Agricultural_Statistics_at_a_Glance_2022_0.pdf

Test Automation on Large Agile Projects: It's Not a Cakewalk

  • 1.           AW12 Concurrent Session  11/7/2012 3:45 PM                "Test Automation on Large Agile Projects: It?s Not a Cakewalk"       Presented by: Scott Schnier Agilex Technologies                 Brought to you by:        340 Corporate Way, Suite 300, Orange Park, FL 32073  888‐268‐8770 ∙ 904‐278‐0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com
  • 2. Scott Schnier Agilex Technologies Scott Schnier is currently a senior agile practice manager at Agilex Technologies working with other courageous and passionate people to bring agile development practices to the Federal Government. He has held positions of software engineer, director of development, mentor, architect, director of quality assurance, project manager, program manager, agile coach, ScrumMaster, and proxy product owner. Scott’s varied work experience has found him in small startups, Fortune 500 firms, and as a government contractor. A founding member of the Cincinnati chapter of ALN, Scott is currently active in the Washington DC chapter. Scott takes special pleasure in and has a passion for helping people work better together. .  
  • 3. 9/3/2012 Test Automation on Large Agile Projects, It’s not a Cakewalk Scott Schnier Agilex Technologies Scott.Schnier@Agilex.com 1 The Story  Test Automation ◦ Growth and division of work and responsibility ◦ Support of Agile Values ◦ Lessons learned and victories  There are no “best practices” 2 1
  • 4. 9/3/2012 It’s not a cakewalk 3 The Setting Core group of Agile/Scrum practioners  Many staff new to Agile/Scrum  Customer willing to try something new, frustrated with past failures.  Government contract, multiple vendors.  Driven by Legislation  4 2
  • 6. 9/3/2012 Test Automation - Why ? 7 Keep Development on Track 8 4
  • 8. 9/3/2012 “Working software over comprehensive documentation” How do  you  know it  still  works  today? 11 Why Automate Tests? Move discovery of defects to the left ( earlier)  Respond to emergent requirements  Capture Intellectual property (test skill)  Enable test engineers to focus on creative work not repetitive testing tasks.  Make specifications executable and a trusted way to understand the impact of change.  12 6
  • 9. 9/3/2012 Test Vision The scrum team is the value creation engine  Tests are best created in the Scrum team  Test is a skill not a role  Need to support test while making the scrum team primary  13 Issues on the Journey  Test debt accumulation  Specialized testing tools contribute to segmentation of responsibility  People who do functional testing straddling more than one team 14 7
  • 10. 9/3/2012 Managing Test Debt Organization  Definition of “Done”  15 How do we get test debt How many  points is  that story? Oh… 8 points  plus testing 16 8
  • 11. 9/3/2012 Test Debt avoidance  Size of a story is more accurate with an integrated discussion regarding all of the test and product work. 17 Regression test debt  The story is complete but 30% of the regression tests are broken. 18 9
  • 12. 9/3/2012 Definition of “Done” To be complete - tests must be done and running green on the Continuous Integration pipeline.  If we make an exception then “test fixing” stories should be estimated and in the backlog so PO’s can agree to the exception.  19 Testing work straddling teams 20 10
  • 13. 9/3/2012 Traditional SDLC Workstreams 21 A more Agile Organization 22 11
  • 14. 9/3/2012 Where is testing done? In the scrum team  Recall definition of done  What happens to the regression tests that accumulate?  23 Organization for Test Management 9 Scrum 1 7  Partitioned rotating triage/ leadership 2 6 5 3 4 End of sprint handoff    Completely partitioned Autonomous teams 9 Scrum  1 7 2 6 Scrum teams Plus System Test Integration Dedicated Maintenance Team 5 3 4 STI Maint’ 24 12
  • 15. 9/3/2012 Lessons Organize test sets to support scrum team affinity.  With more than ~5 scrum teams an integration or “DevOps” team is necessary and good.  Listen for and stamp out opportunities for debt to accumulate.  Test Community of Practice is valuable and takes work to be effective  25 Key challenge  Design organization/responsibility so that test debt does not accumulate. 26 13
  • 16. 9/3/2012 Shared responsibility  Functional scrum team ◦ Develops tests ◦ Executes acceptance tests ◦ Promotes to regression ◦ Monitors selective regression projects ◦ Performs impact analysis of new functions/fixes regression  System Test integration ◦ Maintains test framework/standards ◦ Executes regression tests – All ◦ Creates and maintains reusable test components. ◦ Helps functional scrum teams with massive breakages. 27 Development workflow 1.Update personal workspace 2.Implement change (Story/task, defect, test) 3.Test locally, unit, integration, smoke 4.Update personal workspace 5.Resolve conflicts 6.Commit change to repository & test pipe line 7.Monitor key test projects 8.Revert or fix any problems 28 14
  • 17. 9/3/2012 A slice of life Skype Chat snippet  [7/2/2012 12:23:28 PM] Dan : Trunk‐Dev is broken [7/2/2012 12:23:45 PM] Dan : anyone working for a fix? [7/2/2012 12:24:11 PM] Dan : …. ERROR :…. …. [7/2/2012 12:27:39 PM] Steve : I'm working with Mike on resolving it [7/2/2012 12:30:10 PM] Dan : Thanks 29 Continuous Integration status 30 15
  • 18. 9/3/2012 Continuous Integration         Release Build - Integration and Unit tests (1000’s)(commit package) Rapid Smoke Test and Regression Lite (20 min) (commit package) Smoke on each functional test server(>= daily) Regression Lite on other Browsers(>= daily) Regression Heavy (2 hours) (>=daily) All other automated regression tests 1000’s(daily) Semi- automated (100’s) & Manual tests (10’s)(delivery at least) Ad-Hoc testing 10’s of hours( each delivery) ◦ Human intuition, UI (CSS & other risks) 31 Ongoing challenge • • • • As system gets larger individuals are less likely to feel responsible or capable of fixing broken tests. • Start with one, two then three functional scrum teams. • Months latter a team forms that specializes on a particular component of the system. • A few more months another component team arises…. Becomes harder to maintain the social norms of “Stop and Fix “ The technical challenges also increase when the system complexity grows. The need and the risk of integration problems also grow at the same time. 32 16
  • 19. 9/3/2012 Challenges of Scale People are socially more distant  Technical skills become more focused  Accountability becomes more elusive  One mistake can impact more people, makes actions more conservative, slows velocity  33 Wisdom       When number of teams exceeds 7 +/-2 need a system level team focused on test assets/regression Test Community of Practice is essential Organize test sets with an affinity for teams or system components. As the program gets larger needs to have a team with gentle authority to ensure consistently Ultimately with > 10 teams will need to consider multilevel integration. Performance/stress test is a separate team. 34 17
  • 20. 9/3/2012 Managing – Tool Specialists Common tool platform for test developers and product developers  Increase the pool of people who can create or fix a test.  35 Why a “new” framework  Conejo Test Framework motivators ◦ Eliminate barriers to “every one is a tester” ◦ Enable data driving for more resilient tests ◦ Integrate multi modal testing into one coherent framework Web UI, component, web services, manual. ◦ Support the workflow from acceptance test development to regression testing to obsolesce ◦ Integrate all test assets 36 18
  • 21. 9/3/2012 Test design Goals Minimize collateral code, focus on test target.  Enable tests to quickly respond to changes in Application Under Test  Easy to understand when it breaks (reuse common patterns, canonical test classes)  37 Test types Unit Integration Functional Scope Class Component(s) System Persistence No Maybe Yes Author Self Anyone Not the Author Tests system interface No No Yes Traceable to epic, story or defect No Maybe Yes Execution Pre release build Pre release build Post release build* 38 19
  • 24. 9/3/2012 Wrap Up Multiple Motivations  Test is the Product anti-matter  Needs to be approached as first class component of the solution.  Complex organizational and technical concerns  Part of the secret sauce of a successful Agile effort.  43 Questions? – Ideas! 44 22