SlideShare ist ein Scribd-Unternehmen logo
1 von 38
ContinuousImprovement
HowrapidreleasecyclesalterQAandtesting.
NoahSussman
SeleniumConf2013
@noahsussman
#seconf
TheCanonicalAgileReleaseCycle
Sprintsoftwoweeksormoreinlength.
Startdeploymentprocessattheendofthesprint.
QAispartofthedeploymentprocess.
QAmustbecompletebeforenewcodegoeslive.
TheContinuousDeliveryEnvironment
Minimumviablefeatureset.
Deploymentisdecoupledfromrelease.
Real-timedataonhowreleasesimpactrevenue.
Constanttweakstolivefeatures.
HowContinousDeliveryDiffersFrom
“Canonical”AgileProcess
Largefeaturesaredeployedpiecemealovertime
ConfigFlags
Darklaunches
Wire-Offs
EveryfeatureispartofanA/Bcampaign
Thereisno“DoneDone”
Releasingafeature
isdecoupledfrom
deployingcode.
David E. Smith http://www.flickr.com/photos/david_e_smith/3566697122
Anairportwithout
anairtrafficcontroller.
—ChadDickerson
ObservedBehaviorOfComplexSystems
Emergentbehaviorsrequireunplannedresponses.
Improvements,tooarediscoverednotdesigned.
Usersofthesystemhavecomplexexpectations.
Suchsystemsarenever“complete.”
QAHappensWhen?
Firstofall,whatis“QualityAssurance?”
Authoritativelyassuringthattherearenodefects?
No.Becausecompletetestingisimpossible.
Wearenotcustodians
ofinherentlysafe
systems.
—SidneyDekker
Testingiseveryone’sjob.
Library of Congress
FalsehoodsAboutQualityAssurance
Thereareafinitenumberofbugs.
Thereareafinitenumberofdetectablebugs.
Allseverityonebugscanbefoundbeforerelease.
Softwareisbuilttospecifications.
Atsomepoint,softwareisfinished.
AndTheBiggestMythAboutQA…
FALSE:Allbugshavelarge,complex,unpredictablecauses.
Infact,manybugs—evenseverity1productionissues—
resultfromerrorsthatatfirstglanceappeartrivial.
John Allspaw
ManySmallAnomaliesCombined
The“SwissCheese”modelofriskpresentsuswitha
strongcaseforprioritizingtheeliminationofsmall
errorsratherthanfocusingonthemitigationoflarge
catastrophicfailures.
Unittestingisgreatateliminatingsmallerrors.
Safetyisanemergentproperty…its
erosionisnotaboutthebreakageor
lackofqualityofsinglecomponents…
managingqualityisaboutsingle
components,aboutseeinghowthey
meetparticularspecifications…
—SidneyDekker
…thebestsoftwareengineering
principles…qualityassurance,
testing…thehigheststandards—
it'snotgoingtobeenough
—NancyLeveson
Leveson’s3PracticesForLimitingRisk
1.Oversight.
2.Limitingcomplexity.
3.Systemsthinking.
CharacteristicsofResilientSoftware
Readablecode.
Reasonableautomatedtestcoverage.
Sanearchitecture.
Gooddebuggingtools.
Anengineeringculturethatvaluesrefactoring.
QAHappensWhen???
Exploratorytestingcanbeperformedanytime.
Rigorous,scientificapproach.
Focusoncustomersatisfactionratherthanaspec.
Equallyusefulbeforeorafterarelease.
…exploratorytestingistestdesignandtest
executionatthesametime.Thisisthe
oppositeofscriptedtesting(predefined
testprocedures,whethermanualor
automated).Exploratorytests,unlike
scriptedtests,arenotdefinedinadvance
andcarriedoutpreciselyaccordingtoplan.
—JamesMarcusBach
ExploratoryTesting
AddressesareasthatDeveloperTestingcan’t.
Unit&Integrationtestsvalidateassumptions.
There’salsoaneedtoinvalidateassumptions.
ManualTesting
Itdoesn’talwayslooklikeyouthinkitlooks.
Real-TimeMonitoringisthenewfaceofmanualtesting.
Sufficientlyadvanced
monitoringis
indistinguishable
fromtesting.
—EdKeyes
CaseStudy:WatchingTheGraphs
Asof2012,Etsycollected>250,000real-timemetrics.
Decidingwhichmetricsmatterisahumanproblem.
Humanvisionexcelsatanomalydetection.
Thus,atEtsy,everyonewatchesasubsetofthegraphs.
Anomalydetectionishard.
Mostbugs,mostofthetime,are
easilynailedgivenevenan
incompletebutsuggestive
characterizationoftheirerror
conditionsatsource-codelevel.
—EricS.Raymond
Sourcecode,diffsandlogs.
IfyourQAAnalystsdon’tlookatthese,teachthem!
Keepthefeedbackloopshort.
PayCloseAttentionToYour
Effeciency-ToThoroughness-Trade-Offs
Continuousreleasecycleshavedifferentrisksthan
monthlyorquarterlyreleasecycles.
ButnoaspectofContinuousDeliveryislessrisky.
ThereIsNoSpecification
Watchyourgraphs.
Testyourwholesystem.
Incrementallyimproveyourproduct.
Questions?
ns@noahsussman.com
@noahsussman
falsehoodsabouttime.com
FurtherReading
“How Google Tests Software,” James Whittaker (especially chapter 5)
“Look At Your Data,” John Rausser
“Optimizing For Developer Happiness,” Chad Dickerson
“Outages, Postmortems and Human Error,” John Allspaw
“Prevention versus Governance versus Adaptive Capacities”, John Allspaw
The Swiss Cheese Model of Risk (Wikipedia)
The ETTO Principle (Wikipedia)
“What Is Exploratory Testing?,” James Marcus Bach
“How Many Eyeballs Tame Complexity,” Eric S. Raymond
“The Timeless Way of Building,” Christopher Alexander
“Ten Questions about Human Error”, Sidney Dekker
“Sufficiently Advanced Monitoring is Indistinguishable From Testing”, Ed Keyes
“SEC Technology Roundtable 10/2/2012”, Nancy Leveson
“Reliable Software Systems Design,” Gerard J. Holzmann
“The Power of Ten: Rules for Developing Safety Critical Code,” Gerard J. Holzmann

Weitere ähnliche Inhalte

Andere mochten auch

Continous improvement tools
Continous improvement toolsContinous improvement tools
Continous improvement tools
DEPROCESS
 
High School Continuous Improvement Presentation
High School Continuous Improvement PresentationHigh School Continuous Improvement Presentation
High School Continuous Improvement Presentation
Jay Marino
 

Andere mochten auch (17)

Interview with the Vampire
Interview with the VampireInterview with the Vampire
Interview with the Vampire
 
Transitioning from Traditional to Modern QA
Transitioning from Traditional to Modern QATransitioning from Traditional to Modern QA
Transitioning from Traditional to Modern QA
 
Continous improvement
Continous improvementContinous improvement
Continous improvement
 
Continous improvement tools
Continous improvement toolsContinous improvement tools
Continous improvement tools
 
Ignite Talk: Help, we have no more time for testing!
Ignite Talk: Help, we have no more time for testing!Ignite Talk: Help, we have no more time for testing!
Ignite Talk: Help, we have no more time for testing!
 
Design Patterns for Scalable Test Automation With Selenium & WebdriverIO
Design Patterns for Scalable Test Automation With Selenium & WebdriverIODesign Patterns for Scalable Test Automation With Selenium & WebdriverIO
Design Patterns for Scalable Test Automation With Selenium & WebdriverIO
 
Continous Improvement: How To Make it Happen
Continous Improvement: How To Make it HappenContinous Improvement: How To Make it Happen
Continous Improvement: How To Make it Happen
 
Selenium and Appium Training from Sauce Labs
Selenium and Appium Training from Sauce LabsSelenium and Appium Training from Sauce Labs
Selenium and Appium Training from Sauce Labs
 
Fringe Accessibility: London Web Standards
Fringe Accessibility: London Web StandardsFringe Accessibility: London Web Standards
Fringe Accessibility: London Web Standards
 
Automation Best Practices
Automation Best PracticesAutomation Best Practices
Automation Best Practices
 
Practical Tips & Tricks for Selenium Test Automation
Practical Tips & Tricks for Selenium Test AutomationPractical Tips & Tricks for Selenium Test Automation
Practical Tips & Tricks for Selenium Test Automation
 
Outages, PostMortems, and Human Error
Outages, PostMortems, and Human ErrorOutages, PostMortems, and Human Error
Outages, PostMortems, and Human Error
 
Scaling Etsy: What Went Wrong, What Went Right
Scaling Etsy: What Went Wrong, What Went RightScaling Etsy: What Went Wrong, What Went Right
Scaling Etsy: What Went Wrong, What Went Right
 
High School Continuous Improvement Presentation
High School Continuous Improvement PresentationHigh School Continuous Improvement Presentation
High School Continuous Improvement Presentation
 
Selfish Accessibility: Government Digital Service
Selfish Accessibility: Government Digital ServiceSelfish Accessibility: Government Digital Service
Selfish Accessibility: Government Digital Service
 
Railway Oriented Programming
Railway Oriented ProgrammingRailway Oriented Programming
Railway Oriented Programming
 
Domain Driven Design with the F# type System -- F#unctional Londoners 2014
Domain Driven Design with the F# type System -- F#unctional Londoners 2014Domain Driven Design with the F# type System -- F#unctional Londoners 2014
Domain Driven Design with the F# type System -- F#unctional Londoners 2014
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
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...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
[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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
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 ...
 
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...
 
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
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
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
 

Continuous improvement - Selenium Conf 2013