SlideShare a Scribd company logo
1 of 18
Download to read offline
 
 
 
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

More Related Content

Viewers also liked

Risk-Based Testing for Agile Projects
Risk-Based Testing for Agile ProjectsRisk-Based Testing for Agile Projects
Risk-Based Testing for Agile ProjectsTechWell
 
Ambiguity Reviews: Building Quality Requirements
Ambiguity Reviews: Building Quality RequirementsAmbiguity Reviews: Building Quality Requirements
Ambiguity Reviews: Building Quality RequirementsTechWell
 
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 ProblemsTechWell
 
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 TransitionTechWell
 
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 ApproachTechWell
 
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 ProjectsTechWell
 

Viewers also liked (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
 

More from TechWell

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and RecoveringTechWell
 
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 TechWell
 
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 ArchitectureTechWell
 
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 StartTechWell
 
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 StrategyTechWell
 
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 SuccessTechWell
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowTechWell
 
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 SanityTechWell
 
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 StrategyTechWell
 
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 DevOpsTechWell
 
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—LeadershipTechWell
 
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 TeamsTechWell
 
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 GameTechWell
 
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 TeamsTechWell
 
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 ImplementationTechWell
 
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 ProcessTechWell
 
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 AutomateTechWell
 
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 SuccessTechWell
 
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 TransformationTechWell
 

More from 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
 

Recently uploaded

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 

Recently uploaded (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

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