SlideShare une entreprise Scribd logo
1  sur  18
Télécharger pour lire hors ligne
 
 
 
nt Session 
 
Presented by: 
Matthew  
 
 
Brought to you by: 
 
 
340 Corporate Way, Suite   Orange Park, FL 32073 
888‐2
T11 
Concurre
4/8/2014   
2:00 PM 
 
 
 
 
“Balancing Exploratory and  
Automated Testing in Agile” 
 
 
 Attaway
Perforce Software 
 
 
 
 
 
 
300,
68‐8770 ∙ 904‐278‐0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com 
Matthew Attaway
Perforce Software
 
A jack of all trades and master of some, Matt Attaway has worked as a tester,
developer, researcher, designer, manager, DevOps engineer, and elephant trainer. He
currently manages the open source development group at Perforce Software, but
prior to that he led a test team working on the highest profile projects at Perforce.
When not tinkering with the latest software development pipeline tools, Matt enjoys
experimenting with cocktails and playing games of all sorts—preferably
simultaneously.
2/18/2014
1
Balancing Exploratory and
Automated Testing in Agile
Matt Attaway | @mataway
2/18/2014
2
• Projects varied in size from 3-20 people
• Multiple languages, multiple stacks
My World
• GUIs, CLI tools, servers, and APIs
• Remote and co-located teams
• Scrum, Kanban, Scrumban, Waterscrumfallban
• Managed ~10 testers on 6 simultaneous projects
• Almost all "bet the company" projects
• Automation or bust!
My Constraints
• Exploratory testing a must
• Volatile projects; few design docs
• Extremely high bar for quality
• Executive demand for measurability and metrics
• Do more with less
2/18/2014
3
Must handle the constant flood of change
My Process Requirements
• Must handle the constant flood of change
• Must integrate automated testing without sacficing
exploratory testing
• Must communicate progress both to the product
team and the executive teamteam and the executive team
Must not die
2/18/2014
4
Ruthlessly optimize
Exploratory testing
T t l
Automated testing
Test plans
2/18/2014
5
Exploratory testing
T t l
Automated testing
Test plans
Helm th on Moltke the Elder
“No plan survives contact with the enemy.”
–Helmuth von Moltke the Elder
2/18/2014
6
Needed test plans per epic story feature and fix• Needed test plans per epic, story, feature and fix
• Easy report generation and APIs
• Easy access for testers
Cheap both in time and in money• Cheap, both in time and in money
Issue tracker
2/18/2014
7
Focused around epic story feature and fix
Strengths
• Focused around epic, story, feature and fix
• Built-in report generation and APIs
• Testers already lived in it
Already installed and paid for!• Already installed and paid for!
Test plans highly visible to the developers
Bonuses
• Test plans highly visible to the developers
• Naturally supports multiple editors
• Extremely easy to extend
• Notifications of updates via email and RSS with diffs• Notifications of updates via email and RSS, with diffs
2/18/2014
8
• Added a "Testing Notes" field to issues
Testers added test cases as they did their
Process
• Testers added test cases as they did their
exploratory testing
• + used to flag completed test, - to flag pending test
• Anyone could add test cases to an issue
• Tweet sized test cases; should be clear for
knowledgable tester
Example
- Attempt to create user with HTTP special characters
- Attempt to create user with XML special characters
+Attempt to create user that already exists
Example
2/18/2014
9
• Devs handed off work by merging to mainline
Process & Measuring
• Issue not closed until all test cases complete
• Outstanding test work = issues in 'fixed' state
• Test work displayed on burndown charts; easy to
spot when test was having a hard time keeping up
2/18/2014
10
Automated testing
• Numerous automated test technologies and languages
CLI t t t l b t t t l d GUI t t t l• CLI test tools, web test tools, and GUI test tools
• Poorly written code; copy/paste gone wild
• Each product had one (or more!) test frameworks
• Too slow to add tests• Too slow to add tests
• Tests were dependent on each other
2/18/2014
11
2/18/2014
12
Given I am speaking at StarCanada
When I start my talk
Then my heart rate will go up dramatically
• Forced code modularization
Why Cucumber?
• Test cases are legible and shareable
• Can drive any tool; can use most languages
• Tests are easy to add; frequently require no "real" code
• Works out of the box; huge development community
W it t t ti• Write tests anytime
• Everyone can automate
• Cucumber is, dare I say, fun
2/18/2014
13
• Hour meeting at the beginning of the sprint; more as
Bugstorming
needed during sprint
• Wrote Gherkin as a team coming up with different
attacks based on slotted stories
• Helped to share system knowledge and automated
testing knowledge
• Track your hit rate; failed automated test is a bug
T k h t t t d h t d 't ( d h !)
Automated testing advice
• Track what you automate and what you don't (and why!)
• Aim to be able to add a test case in 15 minutes
• Always Reset State
• Automate all the things• Automate all the things
• Plan for parallelized tests from day one
2/18/2014
14
Ruthlessly optimize
Avoid documents that do nothing
(or make your documents do more)
2/18/2014
15
Embrace your issue tracker
Detach writing automated tests from
implementing automated tests
2/18/2014
16
Regression tests == automated tests
The Cucumber Book by Aslak Hellesøy
Books
• The Cucumber Book by Aslak Hellesøy
• Cucumber & Cheese by Jeff Morgan
• Continuous Delivery by Jez Humble & David Farley
Exploratory Software Testing by James Whittaker• Exploratory Software Testing by James Whittaker

Contenu connexe

En vedette

En vedette (6)

Risk-Based Testing for Agile Projects
Risk-Based Testing for Agile ProjectsRisk-Based Testing for Agile Projects
Risk-Based Testing for Agile Projects
 
Ambiguity Reviews: Building Quality Requirements
Ambiguity Reviews: Building Quality RequirementsAmbiguity Reviews: Building Quality Requirements
Ambiguity Reviews: Building Quality Requirements
 
Testing the Data Warehouse―Big Data, Big Problems
Testing the Data Warehouse―Big Data, Big ProblemsTesting the Data Warehouse―Big Data, Big Problems
Testing the Data Warehouse―Big Data, Big Problems
 
Seven Keys to Navigating Your Agile Testing Transition
Seven Keys to Navigating Your Agile Testing TransitionSeven Keys to Navigating Your Agile Testing Transition
Seven Keys to Navigating Your Agile Testing Transition
 
Managing Application Performance: A Simplified Universal Approach
Managing Application Performance: A Simplified Universal ApproachManaging Application Performance: A Simplified Universal Approach
Managing Application Performance: A Simplified Universal Approach
 
Meet Big Agile: Testing on Large-Scale Projects
Meet Big Agile: Testing on Large-Scale ProjectsMeet Big Agile: Testing on Large-Scale Projects
Meet Big Agile: Testing on Large-Scale Projects
 

Plus de TechWell

Plus de TechWell (20)

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

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Matthew Attaway, Perforce Software

  • 1.       nt Session    Presented by:  Matthew       Brought to you by:      340 Corporate Way, Suite   Orange Park, FL 32073  888‐2 T11  Concurre 4/8/2014    2:00 PM          “Balancing Exploratory and   Automated Testing in Agile”       Attaway Perforce Software              300, 68‐8770 ∙ 904‐278‐0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com 
  • 2. Matthew Attaway Perforce Software   A jack of all trades and master of some, Matt Attaway has worked as a tester, developer, researcher, designer, manager, DevOps engineer, and elephant trainer. He currently manages the open source development group at Perforce Software, but prior to that he led a test team working on the highest profile projects at Perforce. When not tinkering with the latest software development pipeline tools, Matt enjoys experimenting with cocktails and playing games of all sorts—preferably simultaneously.
  • 3. 2/18/2014 1 Balancing Exploratory and Automated Testing in Agile Matt Attaway | @mataway
  • 4. 2/18/2014 2 • Projects varied in size from 3-20 people • Multiple languages, multiple stacks My World • GUIs, CLI tools, servers, and APIs • Remote and co-located teams • Scrum, Kanban, Scrumban, Waterscrumfallban • Managed ~10 testers on 6 simultaneous projects • Almost all "bet the company" projects • Automation or bust! My Constraints • Exploratory testing a must • Volatile projects; few design docs • Extremely high bar for quality • Executive demand for measurability and metrics • Do more with less
  • 5. 2/18/2014 3 Must handle the constant flood of change My Process Requirements • Must handle the constant flood of change • Must integrate automated testing without sacficing exploratory testing • Must communicate progress both to the product team and the executive teamteam and the executive team Must not die
  • 6. 2/18/2014 4 Ruthlessly optimize Exploratory testing T t l Automated testing Test plans
  • 7. 2/18/2014 5 Exploratory testing T t l Automated testing Test plans Helm th on Moltke the Elder “No plan survives contact with the enemy.” –Helmuth von Moltke the Elder
  • 8. 2/18/2014 6 Needed test plans per epic story feature and fix• Needed test plans per epic, story, feature and fix • Easy report generation and APIs • Easy access for testers Cheap both in time and in money• Cheap, both in time and in money Issue tracker
  • 9. 2/18/2014 7 Focused around epic story feature and fix Strengths • Focused around epic, story, feature and fix • Built-in report generation and APIs • Testers already lived in it Already installed and paid for!• Already installed and paid for! Test plans highly visible to the developers Bonuses • Test plans highly visible to the developers • Naturally supports multiple editors • Extremely easy to extend • Notifications of updates via email and RSS with diffs• Notifications of updates via email and RSS, with diffs
  • 10. 2/18/2014 8 • Added a "Testing Notes" field to issues Testers added test cases as they did their Process • Testers added test cases as they did their exploratory testing • + used to flag completed test, - to flag pending test • Anyone could add test cases to an issue • Tweet sized test cases; should be clear for knowledgable tester Example - Attempt to create user with HTTP special characters - Attempt to create user with XML special characters +Attempt to create user that already exists Example
  • 11. 2/18/2014 9 • Devs handed off work by merging to mainline Process & Measuring • Issue not closed until all test cases complete • Outstanding test work = issues in 'fixed' state • Test work displayed on burndown charts; easy to spot when test was having a hard time keeping up
  • 12. 2/18/2014 10 Automated testing • Numerous automated test technologies and languages CLI t t t l b t t t l d GUI t t t l• CLI test tools, web test tools, and GUI test tools • Poorly written code; copy/paste gone wild • Each product had one (or more!) test frameworks • Too slow to add tests• Too slow to add tests • Tests were dependent on each other
  • 14. 2/18/2014 12 Given I am speaking at StarCanada When I start my talk Then my heart rate will go up dramatically • Forced code modularization Why Cucumber? • Test cases are legible and shareable • Can drive any tool; can use most languages • Tests are easy to add; frequently require no "real" code • Works out of the box; huge development community W it t t ti• Write tests anytime • Everyone can automate • Cucumber is, dare I say, fun
  • 15. 2/18/2014 13 • Hour meeting at the beginning of the sprint; more as Bugstorming needed during sprint • Wrote Gherkin as a team coming up with different attacks based on slotted stories • Helped to share system knowledge and automated testing knowledge • Track your hit rate; failed automated test is a bug T k h t t t d h t d 't ( d h !) Automated testing advice • Track what you automate and what you don't (and why!) • Aim to be able to add a test case in 15 minutes • Always Reset State • Automate all the things• Automate all the things • Plan for parallelized tests from day one
  • 16. 2/18/2014 14 Ruthlessly optimize Avoid documents that do nothing (or make your documents do more)
  • 17. 2/18/2014 15 Embrace your issue tracker Detach writing automated tests from implementing automated tests
  • 18. 2/18/2014 16 Regression tests == automated tests The Cucumber Book by Aslak Hellesøy Books • The Cucumber Book by Aslak Hellesøy • Cucumber & Cheese by Jeff Morgan • Continuous Delivery by Jez Humble & David Farley Exploratory Software Testing by James Whittaker• Exploratory Software Testing by James Whittaker