SlideShare una empresa de Scribd logo
1 de 38
Descargar para leer sin conexión
Limbo Lower Now: An Agile
   Approach to Defect
      Management

             ACCU 2011
             Lisa Crispin
    With Material from Janet Gregory


                                       1
Introduction
My defect tracking background:
 As programmer – no DTS
 Tech support – DTS developed in-house
 Traditional QA – vendor DTS, customized
 Agile teams – variety of approaches




                                               2

                Copyright 2010: Lisa Crispin
Your Defect Tracking?
How about you?
 How many use a DTS?
 How many don’t use one?
 How low is your “defect limbo” bar?




                                                3

                 Copyright 2010: Lisa Crispin
Takeaways
   Defects and technical debt
   When to use a Defect Tracking System
   Alternatives
   Defect metrics
   Setting the bar lower




                                                 4

                  Copyright 2010: Lisa Crispin
Traditional View
   Bugs must be documented
       Especially those found in production
 Provide information for root cause analysis
 Knowledge base – did similar bug occur
  earlier?
 DTS provides useful metrics




                                                      5

                       Copyright 2010: Lisa Crispin
Lean Development / Agile View
 Defect queues are queues of rework –
  waste (Poppendieck)
 Find, fix test-first, and forget
 Better yet, prevent
       zero bug tolerance
   Bugs => Technical Debt
   Small experiments




                                                     6

                      Copyright 2010: Lisa Crispin
Choices
An agile approach:
 Understand the problem
 Do what works for your team
 Focus on goals: bug prevention
 Start simple, add as needed
 Explore alternatives




                                                7

                 Copyright 2010: Lisa Crispin
Why Log Bugs – or not

What are the advantages of using a DTS?

What are the downsides to using a DTS?




                                               8

                Copyright 2010: Lisa Crispin
Some Advantages of Using DTS
   Knowledge base
       Place to keep supplemental docs
   Prioritizing
   Traceability
   Distributed/large teams
   Customer ease, visibility, convenience
   Metrics
       Redundant with test-first, frequent releases



                                                       9

                       Copyright 2010: Lisa Crispin
Some Disadvantages of using DTS
   Overhead
   Duplicates test
   Impedes communication
   Waste
       Inaccurate or inadequate reports
       Caught during development
       Won’t get fixed
   Doesn't work towards goal
       zero defects, bug prevention


                                                     10

                      Copyright 2010: Lisa Crispin
Defect Metrics
   Traditionally, tell us state of quality, release
    readiness
   Using tests to drive incremental, iterative
    development tells us this
   Trends more important than numbers
   Who cares how many bugs found in
    development?
   May be useful for team goals
   Careful how you use metrics


                                                    11

                     Copyright 2010: Lisa Crispin
Some Other Perspectives
   What we can learn from bugs
   Alternatives to logging bugs
   When tracking defects makes sense




                                                 12

                  Copyright 2010: Lisa Crispin
Bugs as the “Hidden Backlog”
   Acceptance tests = desired behavior
   Defect reports = misbehavior (Antony
    Marcano)
   Ignored defects = missed features
       Misbehavior not addressed
   Defects prioritized over new features
       Misbehavior over desired features
   Information can get lost in DTS



                                                     13

                      Copyright 2010: Lisa Crispin
Choosing to Not Log a Bug
   Unit-level bugs
       Write a test, not a bug
   Higher-level regression failures
       Test usually enough
   Bugs found during development
       Fix immediately
       Log on task card




                                                      14

                       Copyright 2010: Lisa Crispin
Choosing to Log a Bug
   Found in later iteration
       Log if not fixed immediately
   Legacy bugs
       Write new story/feature
       Don't log if it won't be fixed
   Found in production
       Fix immediately or
       Prioritize, estimate, plan
   Non-bug production issues
       “production support requests”

                                                       15

                        Copyright 2010: Lisa Crispin
Other Approaches To Log or Not?
   How do you decide?




                                                16

                 Copyright 2010: Lisa Crispin
Alternative Ways to Track Bugs
   Cards
   DTS
   Tests




                                              17

               Copyright 2010: Lisa Crispin
Logging Bugs on Cards
Story, task or bug cards – physical or online
 Tangible
 Visible – color coding
 Attach screen prints
 Use when:
     Disciplined team
     Bugs need high visibility




                                                    18

                     Copyright 2010: Lisa Crispin
Logging Bugs in DTS
Use a DTS when
 Team is distributed
 Audit requirements
 Release notes
 Not all bugs will be fixed immediately
 Legacy system with lots of defects




                                                19

                 Copyright 2010: Lisa Crispin
Logging Bugs with Tests
Use the test written to reproduce the bug and
  verify the fix when:
 Everything learned from fixing bug is
  captured in test
 Test can be automated
 Team is disciplined and writes tests for
  every bug found




                                                20

                 Copyright 2010: Lisa Crispin
When to Fix Bugs
   Fix now
        cheaper
        prevents technical debt
   Estimate, prioritize and fix later
        complex, high effort
        legacy code, may destabilize
        customer decision
   Never fix
        about to be rewritten
        low risk
        don't pretend you'll fix if you won't!

                                                           21

                            Copyright 2010: Lisa Crispin
Lowering the Bar
   Exploring alternatives
   Preventing bugs in the first place




                                                   22

                    Copyright 2010: Lisa Crispin
Experiment !
   Start a new project with no DTS, and see
    what you need.
   Set rules - “no more than 10 bugs at once”
   Use color-coded cards and stickers
   Fix all bugs
   Treat bugs as stories




                                                   23

                    Copyright 2010: Lisa Crispin
Make It a Team Problem
   Understand your needs
   Choose solution by team consensus
       Cards and stickers (real or online)
       Story board
       Online DTS
       Combo: DTS and cards
   Ask other teams




                                                      24

                       Copyright 2010: Lisa Crispin
Focus On Preventing Defects
 Teams have achieved zero-defects goal
 Whole team collaborates on ways to
  improve quality
 Use retrospectives
 Try small experiments




                                               25

                Copyright 2010: Lisa Crispin
Let’s Try an Experiment: Part 1
 Pair up with the person next to you
 One of you take the “tester” role, the other
  is “programmer”. Stand back to back.
 Testers: Take the mini-schedule out of your
  badge & open to p. 10
 Programmers: take a piece of paper and
  pen. You cannot ask questions or turn
  around.
 Testers: Get the programmer to draw what
  you see on p. 10 – 11 only by describing
  the shapes & where they are. Do not turn
  around!
                                                26

                 Copyright 2010: Lisa Crispin
Let’s Try an Experiment: Part 2
 Programmer: Get a new piece of paper.
  This time, you are allowed to ask
  questions.
 Tester: You may now watch what the
  programmer draws
 Point out “defects” immediately, and
  answer questions.
    (Don’t show the actual pages, we’re
     trying to simulate real-life coding here!)


                                                  27

                  Copyright 2010: Lisa Crispin
Bug Prevention!
   Make testing integrated part of
    development
   Practice TDD and Specification by Example
   Gain domain expertise
   Exploratory testing by testing professionals
   Consider ripple effects of code changes
   Look at problem areas, experiment with
    solutions



                                                  28

                   Copyright 2010: Lisa Crispin
Action!
   Think of one thing your team can do to
    prevent defects, starting next week.
   Write it on an index card along with your
    email address.
   Exchange cards with the person next to
    you.
   Email each other every week for 4 weeks
    with encouragement, questions, support.
   Please let me know your results!
    lisa@lisacrispin.com

                                                  29

                   Copyright 2010: Lisa Crispin
How Low Can You Go?
   Experiment to find defect management
    approach that fits best
   Zero defects is achievable
      But go for baby steps
   Focus on bug prevention
   Do what works for your team
   Test/code together
   Use retrospectives



                                                 30

                  Copyright 2010: Lisa Crispin
Agile Testing

Agile Testing: A Practical Guide for Testers and Agile
Teams

By Lisa Crispin and Janet Gregory

www.agiletester.ca

Book signing after this session

at the bookstore



                             Copyright 2010: Lisa Crispin
                                  31
All Proceeds to Charity!

Beautiful Testing: Leading Professionals Reveal How
They Improve Software
Edited by Tim Riley, Adam Goucher

Includes chapter by yours truly




                                  Copyright 2010: Lisa Crispin
                                       32
Specification by Example
How successful teams deliver the right
software

Gojko Adzic

Case studies from > 50 teams




                                                              33

                       Copyright 2010: Lisa Crispin
                   Copyright 2008 Janet Gregory, DragonFire
Recommended
Bridging the Communication Gap:
Specification By Example and Acceptance
Testing

Gojko Adzic




                                                  34

                   Copyright 2010: Lisa Crispin
Recommended
The Agile Samurai

Jonathan Rasmussen


Great intro to agile
and agile testing




                                                      35

                       Copyright 2010: Lisa Crispin
Lean Development

Implementing Lean Development:
From Concept to Cash

Mary and Tom Poppendieck




                   Copyright 2010: Lisa Crispin
                        36
Some Agile Testing Resources
lisacrispin.com
janetgregory.ca
exampler.com
agile-testing@yahoogroups.com
testobsessed.com
testingreflections.com
dhemery.com




                                               37

                Copyright 2010: Lisa Crispin
Questions?




                                            38

             Copyright 2010: Lisa Crispin

Más contenido relacionado

La actualidad más candente

ALN Houston - "Build Quality In: Guiding Development with Tests"
ALN Houston - "Build Quality In: Guiding Development with Tests"ALN Houston - "Build Quality In: Guiding Development with Tests"
ALN Houston - "Build Quality In: Guiding Development with Tests"lisacrispin
 
Do testers have to code... to be useful?
Do testers have to code... to be useful?Do testers have to code... to be useful?
Do testers have to code... to be useful?lisacrispin
 
Scrum plus – why scrum is not enough for successful delivery
Scrum plus – why scrum is not enough for successful deliveryScrum plus – why scrum is not enough for successful delivery
Scrum plus – why scrum is not enough for successful deliveryNaveen Kumar Singh
 
Demystifying DevOps - it's not Agile, but they're friends
Demystifying DevOps - it's not Agile, but they're friendsDemystifying DevOps - it's not Agile, but they're friends
Demystifying DevOps - it's not Agile, but they're friendsMax Griffiths
 
Deliver Fast with Confidence
Deliver Fast with ConfidenceDeliver Fast with Confidence
Deliver Fast with ConfidenceDevCamp Campinas
 
2013 Scrum Gathering Keynote: Buy or build — where did your agile come from?
2013 Scrum Gathering Keynote: Buy or build — where did your agile come from?2013 Scrum Gathering Keynote: Buy or build — where did your agile come from?
2013 Scrum Gathering Keynote: Buy or build — where did your agile come from?James Coplien
 
AgileTestingOverview
AgileTestingOverviewAgileTestingOverview
AgileTestingOverviewUmair Anis
 
Don't get blamed for your choices - Techorama 2019
Don't get blamed for your choices - Techorama 2019Don't get blamed for your choices - Techorama 2019
Don't get blamed for your choices - Techorama 2019Hannes Lowette
 
What Does DevOps Culture Feel Like?
What Does DevOps Culture Feel Like?What Does DevOps Culture Feel Like?
What Does DevOps Culture Feel Like?Matthew Skelton
 
Don't scale agile. Descale your organisation.
Don't scale agile. Descale your organisation.Don't scale agile. Descale your organisation.
Don't scale agile. Descale your organisation.sbargon
 
It's XP Stupid (2019)
It's XP Stupid (2019)It's XP Stupid (2019)
It's XP Stupid (2019)Mike Harris
 
Henrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of AgileHenrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of AgileAgileSparks
 
PMI ACP Prep Course
PMI ACP Prep CoursePMI ACP Prep Course
PMI ACP Prep Coursesparkagility
 
DevOps: 6 Steps to Go Faster, Build Better and Avoid Disaster
DevOps: 6 Steps to Go Faster, Build Better and Avoid DisasterDevOps: 6 Steps to Go Faster, Build Better and Avoid Disaster
DevOps: 6 Steps to Go Faster, Build Better and Avoid DisasterSmartBear
 
Refactoring workshop
Refactoring workshop Refactoring workshop
Refactoring workshop Itzik Saban
 
'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014
'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014
'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014ColomboCampsCommunity
 
Extreme Programming (XP): Revisted
Extreme Programming (XP): RevistedExtreme Programming (XP): Revisted
Extreme Programming (XP): RevistedMike Harris
 

La actualidad más candente (19)

ALN Houston - "Build Quality In: Guiding Development with Tests"
ALN Houston - "Build Quality In: Guiding Development with Tests"ALN Houston - "Build Quality In: Guiding Development with Tests"
ALN Houston - "Build Quality In: Guiding Development with Tests"
 
Do testers have to code... to be useful?
Do testers have to code... to be useful?Do testers have to code... to be useful?
Do testers have to code... to be useful?
 
Scrum plus – why scrum is not enough for successful delivery
Scrum plus – why scrum is not enough for successful deliveryScrum plus – why scrum is not enough for successful delivery
Scrum plus – why scrum is not enough for successful delivery
 
Demystifying DevOps - it's not Agile, but they're friends
Demystifying DevOps - it's not Agile, but they're friendsDemystifying DevOps - it's not Agile, but they're friends
Demystifying DevOps - it's not Agile, but they're friends
 
Deliver Fast with Confidence
Deliver Fast with ConfidenceDeliver Fast with Confidence
Deliver Fast with Confidence
 
2013 Scrum Gathering Keynote: Buy or build — where did your agile come from?
2013 Scrum Gathering Keynote: Buy or build — where did your agile come from?2013 Scrum Gathering Keynote: Buy or build — where did your agile come from?
2013 Scrum Gathering Keynote: Buy or build — where did your agile come from?
 
AgileTestingOverview
AgileTestingOverviewAgileTestingOverview
AgileTestingOverview
 
Don't get blamed for your choices - Techorama 2019
Don't get blamed for your choices - Techorama 2019Don't get blamed for your choices - Techorama 2019
Don't get blamed for your choices - Techorama 2019
 
Secrets of Scrum
Secrets of ScrumSecrets of Scrum
Secrets of Scrum
 
What Does DevOps Culture Feel Like?
What Does DevOps Culture Feel Like?What Does DevOps Culture Feel Like?
What Does DevOps Culture Feel Like?
 
Don't scale agile. Descale your organisation.
Don't scale agile. Descale your organisation.Don't scale agile. Descale your organisation.
Don't scale agile. Descale your organisation.
 
It's XP Stupid (2019)
It's XP Stupid (2019)It's XP Stupid (2019)
It's XP Stupid (2019)
 
Henrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of AgileHenrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of Agile
 
PMI ACP Prep Course
PMI ACP Prep CoursePMI ACP Prep Course
PMI ACP Prep Course
 
DevOps: 6 Steps to Go Faster, Build Better and Avoid Disaster
DevOps: 6 Steps to Go Faster, Build Better and Avoid DisasterDevOps: 6 Steps to Go Faster, Build Better and Avoid Disaster
DevOps: 6 Steps to Go Faster, Build Better and Avoid Disaster
 
Refactoring workshop
Refactoring workshop Refactoring workshop
Refactoring workshop
 
It's XP, Stupid
It's XP, StupidIt's XP, Stupid
It's XP, Stupid
 
'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014
'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014
'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014
 
Extreme Programming (XP): Revisted
Extreme Programming (XP): RevistedExtreme Programming (XP): Revisted
Extreme Programming (XP): Revisted
 

Destacado

Agile testing myths v5 final-
Agile testing myths v5 final-Agile testing myths v5 final-
Agile testing myths v5 final-lisacrispin
 
Atd 2016-mapping-mashup
Atd 2016-mapping-mashupAtd 2016-mapping-mashup
Atd 2016-mapping-mashupJoEllen Carter
 
Agile Requirements Exploration: How Testers Add Value
Agile Requirements Exploration: How Testers Add ValueAgile Requirements Exploration: How Testers Add Value
Agile Requirements Exploration: How Testers Add Valuelisacrispin
 
Los nuevos desafíos del testing
Los nuevos desafíos del testingLos nuevos desafíos del testing
Los nuevos desafíos del testingTestingBaires
 
Agile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterDeclan Whelan
 
Agile Testing Process
Agile Testing ProcessAgile Testing Process
Agile Testing ProcessIntetics
 

Destacado (7)

Agile testing myths v5 final-
Agile testing myths v5 final-Agile testing myths v5 final-
Agile testing myths v5 final-
 
Testing Your Emotions
Testing Your EmotionsTesting Your Emotions
Testing Your Emotions
 
Atd 2016-mapping-mashup
Atd 2016-mapping-mashupAtd 2016-mapping-mashup
Atd 2016-mapping-mashup
 
Agile Requirements Exploration: How Testers Add Value
Agile Requirements Exploration: How Testers Add ValueAgile Requirements Exploration: How Testers Add Value
Agile Requirements Exploration: How Testers Add Value
 
Los nuevos desafíos del testing
Los nuevos desafíos del testingLos nuevos desafíos del testing
Los nuevos desafíos del testing
 
Agile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile Tester
 
Agile Testing Process
Agile Testing ProcessAgile Testing Process
Agile Testing Process
 

Más de lisacrispin

Exploring Requirements for Shared Understanding
Exploring Requirements for Shared UnderstandingExploring Requirements for Shared Understanding
Exploring Requirements for Shared Understandinglisacrispin
 
Principles for Agile Testers and Modern Testing Principles
Principles for Agile Testers and Modern Testing PrinciplesPrinciples for Agile Testers and Modern Testing Principles
Principles for Agile Testers and Modern Testing Principleslisacrispin
 
BDD and CD - better together
BDD and CD - better togetherBDD and CD - better together
BDD and CD - better togetherlisacrispin
 
Get testing bottlenecks out of your pipelines
Get testing bottlenecks out of your pipelinesGet testing bottlenecks out of your pipelines
Get testing bottlenecks out of your pipelineslisacrispin
 
Thinking Outside the Box: Cognitive bias and testing
Thinking Outside the Box: Cognitive bias and testingThinking Outside the Box: Cognitive bias and testing
Thinking Outside the Box: Cognitive bias and testinglisacrispin
 
The Whole Team Approach to Quality in Continuous Delivery
The Whole Team Approach to Quality in Continuous DeliveryThe Whole Team Approach to Quality in Continuous Delivery
The Whole Team Approach to Quality in Continuous Deliverylisacrispin
 
DeliveryConf - Whole Team Approach to Testing in Continuous Delivery
DeliveryConf - Whole Team Approach to Testing in Continuous DeliveryDeliveryConf - Whole Team Approach to Testing in Continuous Delivery
DeliveryConf - Whole Team Approach to Testing in Continuous Deliverylisacrispin
 
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns QualityAgile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Qualitylisacrispin
 
Build Quality In, workshop with Janet Gregory and Lisa Crispin at Agile Roots...
Build Quality In, workshop with Janet Gregory and Lisa Crispin at Agile Roots...Build Quality In, workshop with Janet Gregory and Lisa Crispin at Agile Roots...
Build Quality In, workshop with Janet Gregory and Lisa Crispin at Agile Roots...lisacrispin
 
Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plena...
Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plena...Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plena...
Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plena...lisacrispin
 
Advanced Topics in Agile Tsting: Focus on Automation
Advanced Topics in Agile Tsting: Focus on AutomationAdvanced Topics in Agile Tsting: Focus on Automation
Advanced Topics in Agile Tsting: Focus on Automationlisacrispin
 
Do testers have to code... to be useful?
Do testers have to code... to be useful?Do testers have to code... to be useful?
Do testers have to code... to be useful?lisacrispin
 
Making Test Automation Work in Agile Projects 2012
Making Test Automation Work in Agile Projects 2012Making Test Automation Work in Agile Projects 2012
Making Test Automation Work in Agile Projects 2012lisacrispin
 
What Testers Can Learn to Collaborate Effectively with Programmers, others
What Testers Can Learn to Collaborate Effectively with Programmers, othersWhat Testers Can Learn to Collaborate Effectively with Programmers, others
What Testers Can Learn to Collaborate Effectively with Programmers, otherslisacrispin
 
Advanced Topics in Agile Testing - The Future - Agile Testing Days 2014
Advanced Topics in Agile Testing - The Future - Agile Testing Days 2014Advanced Topics in Agile Testing - The Future - Agile Testing Days 2014
Advanced Topics in Agile Testing - The Future - Agile Testing Days 2014lisacrispin
 
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...lisacrispin
 
Morph your mindset for Continuous Delivery, Agile Roots 2014
Morph your mindset for Continuous Delivery,  Agile Roots 2014Morph your mindset for Continuous Delivery,  Agile Roots 2014
Morph your mindset for Continuous Delivery, Agile Roots 2014lisacrispin
 
Belgium Testing Days: Shift your testing mindset
Belgium Testing Days: Shift your testing mindsetBelgium Testing Days: Shift your testing mindset
Belgium Testing Days: Shift your testing mindsetlisacrispin
 
Changing Your Testing Mindset, Booster Conference, Bergen, Norway, 2014
Changing Your Testing Mindset, Booster Conference, Bergen, Norway, 2014Changing Your Testing Mindset, Booster Conference, Bergen, Norway, 2014
Changing Your Testing Mindset, Booster Conference, Bergen, Norway, 2014lisacrispin
 
Developers who grok testing: why I love them and how they mitigate risk
Developers who grok testing: why I love them and how they mitigate riskDevelopers who grok testing: why I love them and how they mitigate risk
Developers who grok testing: why I love them and how they mitigate risklisacrispin
 

Más de lisacrispin (20)

Exploring Requirements for Shared Understanding
Exploring Requirements for Shared UnderstandingExploring Requirements for Shared Understanding
Exploring Requirements for Shared Understanding
 
Principles for Agile Testers and Modern Testing Principles
Principles for Agile Testers and Modern Testing PrinciplesPrinciples for Agile Testers and Modern Testing Principles
Principles for Agile Testers and Modern Testing Principles
 
BDD and CD - better together
BDD and CD - better togetherBDD and CD - better together
BDD and CD - better together
 
Get testing bottlenecks out of your pipelines
Get testing bottlenecks out of your pipelinesGet testing bottlenecks out of your pipelines
Get testing bottlenecks out of your pipelines
 
Thinking Outside the Box: Cognitive bias and testing
Thinking Outside the Box: Cognitive bias and testingThinking Outside the Box: Cognitive bias and testing
Thinking Outside the Box: Cognitive bias and testing
 
The Whole Team Approach to Quality in Continuous Delivery
The Whole Team Approach to Quality in Continuous DeliveryThe Whole Team Approach to Quality in Continuous Delivery
The Whole Team Approach to Quality in Continuous Delivery
 
DeliveryConf - Whole Team Approach to Testing in Continuous Delivery
DeliveryConf - Whole Team Approach to Testing in Continuous DeliveryDeliveryConf - Whole Team Approach to Testing in Continuous Delivery
DeliveryConf - Whole Team Approach to Testing in Continuous Delivery
 
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns QualityAgile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
 
Build Quality In, workshop with Janet Gregory and Lisa Crispin at Agile Roots...
Build Quality In, workshop with Janet Gregory and Lisa Crispin at Agile Roots...Build Quality In, workshop with Janet Gregory and Lisa Crispin at Agile Roots...
Build Quality In, workshop with Janet Gregory and Lisa Crispin at Agile Roots...
 
Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plena...
Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plena...Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plena...
Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plena...
 
Advanced Topics in Agile Tsting: Focus on Automation
Advanced Topics in Agile Tsting: Focus on AutomationAdvanced Topics in Agile Tsting: Focus on Automation
Advanced Topics in Agile Tsting: Focus on Automation
 
Do testers have to code... to be useful?
Do testers have to code... to be useful?Do testers have to code... to be useful?
Do testers have to code... to be useful?
 
Making Test Automation Work in Agile Projects 2012
Making Test Automation Work in Agile Projects 2012Making Test Automation Work in Agile Projects 2012
Making Test Automation Work in Agile Projects 2012
 
What Testers Can Learn to Collaborate Effectively with Programmers, others
What Testers Can Learn to Collaborate Effectively with Programmers, othersWhat Testers Can Learn to Collaborate Effectively with Programmers, others
What Testers Can Learn to Collaborate Effectively with Programmers, others
 
Advanced Topics in Agile Testing - The Future - Agile Testing Days 2014
Advanced Topics in Agile Testing - The Future - Agile Testing Days 2014Advanced Topics in Agile Testing - The Future - Agile Testing Days 2014
Advanced Topics in Agile Testing - The Future - Agile Testing Days 2014
 
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
 
Morph your mindset for Continuous Delivery, Agile Roots 2014
Morph your mindset for Continuous Delivery,  Agile Roots 2014Morph your mindset for Continuous Delivery,  Agile Roots 2014
Morph your mindset for Continuous Delivery, Agile Roots 2014
 
Belgium Testing Days: Shift your testing mindset
Belgium Testing Days: Shift your testing mindsetBelgium Testing Days: Shift your testing mindset
Belgium Testing Days: Shift your testing mindset
 
Changing Your Testing Mindset, Booster Conference, Bergen, Norway, 2014
Changing Your Testing Mindset, Booster Conference, Bergen, Norway, 2014Changing Your Testing Mindset, Booster Conference, Bergen, Norway, 2014
Changing Your Testing Mindset, Booster Conference, Bergen, Norway, 2014
 
Developers who grok testing: why I love them and how they mitigate risk
Developers who grok testing: why I love them and how they mitigate riskDevelopers who grok testing: why I love them and how they mitigate risk
Developers who grok testing: why I love them and how they mitigate risk
 

Último

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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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
 
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
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
🐬 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
 

Último (20)

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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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?
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
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...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

ACCU Agile Approach to Defect Management

  • 1. Limbo Lower Now: An Agile Approach to Defect Management ACCU 2011 Lisa Crispin With Material from Janet Gregory 1
  • 2. Introduction My defect tracking background:  As programmer – no DTS  Tech support – DTS developed in-house  Traditional QA – vendor DTS, customized  Agile teams – variety of approaches 2 Copyright 2010: Lisa Crispin
  • 3. Your Defect Tracking? How about you?  How many use a DTS?  How many don’t use one?  How low is your “defect limbo” bar? 3 Copyright 2010: Lisa Crispin
  • 4. Takeaways  Defects and technical debt  When to use a Defect Tracking System  Alternatives  Defect metrics  Setting the bar lower 4 Copyright 2010: Lisa Crispin
  • 5. Traditional View  Bugs must be documented  Especially those found in production  Provide information for root cause analysis  Knowledge base – did similar bug occur earlier?  DTS provides useful metrics 5 Copyright 2010: Lisa Crispin
  • 6. Lean Development / Agile View  Defect queues are queues of rework – waste (Poppendieck)  Find, fix test-first, and forget  Better yet, prevent  zero bug tolerance  Bugs => Technical Debt  Small experiments 6 Copyright 2010: Lisa Crispin
  • 7. Choices An agile approach:  Understand the problem  Do what works for your team  Focus on goals: bug prevention  Start simple, add as needed  Explore alternatives 7 Copyright 2010: Lisa Crispin
  • 8. Why Log Bugs – or not What are the advantages of using a DTS? What are the downsides to using a DTS? 8 Copyright 2010: Lisa Crispin
  • 9. Some Advantages of Using DTS  Knowledge base  Place to keep supplemental docs  Prioritizing  Traceability  Distributed/large teams  Customer ease, visibility, convenience  Metrics  Redundant with test-first, frequent releases 9 Copyright 2010: Lisa Crispin
  • 10. Some Disadvantages of using DTS  Overhead  Duplicates test  Impedes communication  Waste  Inaccurate or inadequate reports  Caught during development  Won’t get fixed  Doesn't work towards goal  zero defects, bug prevention 10 Copyright 2010: Lisa Crispin
  • 11. Defect Metrics  Traditionally, tell us state of quality, release readiness  Using tests to drive incremental, iterative development tells us this  Trends more important than numbers  Who cares how many bugs found in development?  May be useful for team goals  Careful how you use metrics 11 Copyright 2010: Lisa Crispin
  • 12. Some Other Perspectives  What we can learn from bugs  Alternatives to logging bugs  When tracking defects makes sense 12 Copyright 2010: Lisa Crispin
  • 13. Bugs as the “Hidden Backlog”  Acceptance tests = desired behavior  Defect reports = misbehavior (Antony Marcano)  Ignored defects = missed features  Misbehavior not addressed  Defects prioritized over new features  Misbehavior over desired features  Information can get lost in DTS 13 Copyright 2010: Lisa Crispin
  • 14. Choosing to Not Log a Bug  Unit-level bugs  Write a test, not a bug  Higher-level regression failures  Test usually enough  Bugs found during development  Fix immediately  Log on task card 14 Copyright 2010: Lisa Crispin
  • 15. Choosing to Log a Bug  Found in later iteration  Log if not fixed immediately  Legacy bugs  Write new story/feature  Don't log if it won't be fixed  Found in production  Fix immediately or  Prioritize, estimate, plan  Non-bug production issues  “production support requests” 15 Copyright 2010: Lisa Crispin
  • 16. Other Approaches To Log or Not?  How do you decide? 16 Copyright 2010: Lisa Crispin
  • 17. Alternative Ways to Track Bugs  Cards  DTS  Tests 17 Copyright 2010: Lisa Crispin
  • 18. Logging Bugs on Cards Story, task or bug cards – physical or online  Tangible  Visible – color coding  Attach screen prints  Use when:  Disciplined team  Bugs need high visibility 18 Copyright 2010: Lisa Crispin
  • 19. Logging Bugs in DTS Use a DTS when  Team is distributed  Audit requirements  Release notes  Not all bugs will be fixed immediately  Legacy system with lots of defects 19 Copyright 2010: Lisa Crispin
  • 20. Logging Bugs with Tests Use the test written to reproduce the bug and verify the fix when:  Everything learned from fixing bug is captured in test  Test can be automated  Team is disciplined and writes tests for every bug found 20 Copyright 2010: Lisa Crispin
  • 21. When to Fix Bugs  Fix now  cheaper  prevents technical debt  Estimate, prioritize and fix later  complex, high effort  legacy code, may destabilize  customer decision  Never fix  about to be rewritten  low risk  don't pretend you'll fix if you won't! 21 Copyright 2010: Lisa Crispin
  • 22. Lowering the Bar  Exploring alternatives  Preventing bugs in the first place 22 Copyright 2010: Lisa Crispin
  • 23. Experiment !  Start a new project with no DTS, and see what you need.  Set rules - “no more than 10 bugs at once”  Use color-coded cards and stickers  Fix all bugs  Treat bugs as stories 23 Copyright 2010: Lisa Crispin
  • 24. Make It a Team Problem  Understand your needs  Choose solution by team consensus  Cards and stickers (real or online)  Story board  Online DTS  Combo: DTS and cards  Ask other teams 24 Copyright 2010: Lisa Crispin
  • 25. Focus On Preventing Defects  Teams have achieved zero-defects goal  Whole team collaborates on ways to improve quality  Use retrospectives  Try small experiments 25 Copyright 2010: Lisa Crispin
  • 26. Let’s Try an Experiment: Part 1  Pair up with the person next to you  One of you take the “tester” role, the other is “programmer”. Stand back to back.  Testers: Take the mini-schedule out of your badge & open to p. 10  Programmers: take a piece of paper and pen. You cannot ask questions or turn around.  Testers: Get the programmer to draw what you see on p. 10 – 11 only by describing the shapes & where they are. Do not turn around! 26 Copyright 2010: Lisa Crispin
  • 27. Let’s Try an Experiment: Part 2  Programmer: Get a new piece of paper. This time, you are allowed to ask questions.  Tester: You may now watch what the programmer draws  Point out “defects” immediately, and answer questions.  (Don’t show the actual pages, we’re trying to simulate real-life coding here!) 27 Copyright 2010: Lisa Crispin
  • 28. Bug Prevention!  Make testing integrated part of development  Practice TDD and Specification by Example  Gain domain expertise  Exploratory testing by testing professionals  Consider ripple effects of code changes  Look at problem areas, experiment with solutions 28 Copyright 2010: Lisa Crispin
  • 29. Action!  Think of one thing your team can do to prevent defects, starting next week.  Write it on an index card along with your email address.  Exchange cards with the person next to you.  Email each other every week for 4 weeks with encouragement, questions, support.  Please let me know your results! lisa@lisacrispin.com 29 Copyright 2010: Lisa Crispin
  • 30. How Low Can You Go?  Experiment to find defect management approach that fits best  Zero defects is achievable  But go for baby steps  Focus on bug prevention  Do what works for your team  Test/code together  Use retrospectives 30 Copyright 2010: Lisa Crispin
  • 31. Agile Testing Agile Testing: A Practical Guide for Testers and Agile Teams By Lisa Crispin and Janet Gregory www.agiletester.ca Book signing after this session at the bookstore Copyright 2010: Lisa Crispin 31
  • 32. All Proceeds to Charity! Beautiful Testing: Leading Professionals Reveal How They Improve Software Edited by Tim Riley, Adam Goucher Includes chapter by yours truly Copyright 2010: Lisa Crispin 32
  • 33. Specification by Example How successful teams deliver the right software Gojko Adzic Case studies from > 50 teams 33 Copyright 2010: Lisa Crispin Copyright 2008 Janet Gregory, DragonFire
  • 34. Recommended Bridging the Communication Gap: Specification By Example and Acceptance Testing Gojko Adzic 34 Copyright 2010: Lisa Crispin
  • 35. Recommended The Agile Samurai Jonathan Rasmussen Great intro to agile and agile testing 35 Copyright 2010: Lisa Crispin
  • 36. Lean Development Implementing Lean Development: From Concept to Cash Mary and Tom Poppendieck Copyright 2010: Lisa Crispin 36
  • 37. Some Agile Testing Resources lisacrispin.com janetgregory.ca exampler.com agile-testing@yahoogroups.com testobsessed.com testingreflections.com dhemery.com 37 Copyright 2010: Lisa Crispin
  • 38. Questions? 38 Copyright 2010: Lisa Crispin