Testing in Agile with Coaching Agile Journeys and XBOSoft

download Testing in Agile with Coaching Agile Journeys and XBOSoft

If you can't read please download the document

  • date post

    13-Apr-2017
  • Category

    Software

  • view

    163
  • download

    5

Embed Size (px)

Transcript of Testing in Agile with Coaching Agile Journeys and XBOSoft

  • Tes$nginAgile(agile)

    Philip Lew

    XBOSo4,Inc.2017AllRightsReserved

    1 @xboso4@philiplew

  • AgileTes$ngWhattoDo?

    Today,wellcoverwhatyoudoinAgileTes$ng,whichisamaQeroffocusand$ming

    Asopposedtowaterfallwhereso4warewasreadyfortes$ng,wearereadyfortes+ng(doingtes$ngac$vi$es)allthe$me,butwhatexactlyarewedoingwhen?

    XBOSo4,Inc.2017AllRightsReserved 2@xboso4@philiplew

  • A4erWorkingWithManyofOurClientsinBothWaterfallandAgile

    Ivefoundthatfocusand$mingarethekeydifferencesEitherintheirsuccessOrintheirfailure

    Notrocketscience Mostlynochangesintechnology,butchangesinfocusand$ming

    XBOSo4,Inc.2017AllRightsReserved 3

    Having the Right People In the Right Place Doing the Right Thing At the Right Time.

    @xboso4@philiplew

  • Meet Your Instructor

    4XBOSo4,Inc.2017AllRightsReserved

    Phil Lew Telecommunications consultant and network designer Team Lead, Data warehousing product development Software product manager, BI product COO, large IT services company CEO, XBOSoft, software QA and testing services

    Relevant specialties/Research Software quality process improvement Software process measurement Software quality in use / UX design

    Where to find me @philiplew @xbosoft www.xbosoft.com philip.lew@xbosoft.com

    @xboso4@philiplew

  • TodayisAllAboutYou

    XBOSo4,Inc.2017AllRightsReserved 5

    Everwonderhowdotes$ngprac$cesdifferwhetheryouronanagileversusawaterfallteam?

    Doyous$llhavestep-by-steptestscriptsorjusthavegeneraltestscenariosoruserstories.

    Doyouhaveatestplan? Whatdoyoudoasandagiletester? Whyareyouhere?

    @xboso4@philiplew

  • Se_ngExpecta$ons

    Interac$ve-askques$onsviaGoto-WebinarPanel

    Iwontreadtheslides Slidesforyouasatake-away

    Sessionisrecordedandavailablea4erwards

    6XBOSo4,Inc.2017AllRightsReserved@xboso4@philiplew

  • So4wareisNew So4waredevelopmentisnewnotlongenoughtoknowhowtodoit.

    Wearenotbuildingdoorsormakingtoilets. Whenwedonotknowwhatwearedoing,thebeststrategyistodoliQlebyliQleapproachandgetfeedbackassoonaspossible.

    Weusethesametechniqueinoureverydaylives,andAgileisanapplica$onofitinso4ware.

    XBOSo4,Inc.2017AllRightsReserved 7@xboso4@philiplew

  • WhatGotUsHere

    Smallerteams Fasteritera$ons Listeningtotheuser

    Con$nuousbetaDatacollec$on&analy$cs

    XBOSo4,Inc.2017AllRightsReserved 8

    Communica$on Workingsmarter Analysis,adap$onandimprovement

    1. Changes in technology (mobile, cloud) 2. Changes in business models 3. Many failures

    @xboso4@philiplew

  • AgileProblems

    ResistancetoChange

    DIstrust

    RequirementsChurn

    FrozenRequirements

    AgileDoingNotBeing

    ProcessInconsistency LackTest

    Automa$on

    Retrospec$vesNotValuable

    AgileFall

    LackCustomer-User

    Understanding

    AgileFailuresWhy?

    XBOSo4,Inc.2017AllRightsReserved 9

  • AgileSuccess

    Execu$veSupport

    UserInvolvement

    ScopedValue

    SkilledPlayers

    AgileProcess

    Proficiency

    ClearBusinessObjec$ves HighUseof

    Automa$on

    ConsistentDev,Integra$onandReleasePrac$ces

    Collabora$veBehaviors

    FullFocus

    AgileSuccessWhy?

    XBOSo4,Inc.2017AllRightsReserved 10

  • XBOSo4,Inc.2017AllRightsReserved 11@xboso4@philiplew

  • Be-Do-HaveParadigm

    Be

    Do

    Have@xboso4@philiplew

    XBOSo4,Inc.2017AllRightsReserved 12

  • AgileBe-Do-Have

    Be

    Do

    Have

    XBOSo4,Inc.2017AllRightsReserved

    Process Iterative (sprints) Daily standups Face to face communication Post mortem end of sprint Delivery meeting end of sprint Planning meeting before sprint Self organizing

    People Communicative Collaborative/Cooperative Flexible and willing Knowledgeable-multi Initiative/responsible Responsive

    Results Speed Quality

    @xboso4@philiplew 13

  • AgileQuality

    Nopolice Sharedteamresponsibility Tes$ngisdonebyeveryone?

    Tes$ngisdonebyqualifiedteammembersDeveloperscouldtakeonsometes$ngtasks

    Developmentisdonebyeveryone?DevelopmentisdonebyqualifiedteammembersTesterscouldtakeonsomedevelopmenttasks

    XBOSo4,Inc.2017AllRightsReserved 14@xboso4@philiplew

    Team members do what they can do and what is needed

  • XBOSo4,Inc.2017AllRightsReserved 15

    OneoftheMainAgileFlavors:Scrum1 2

    3

    @xboso4@philiplew

  • AGILEPLANNINGThingstothinkaboutanddoduringthiscri$calphase

    XBOSo4,Inc.2017AllRightsReserved 16

    1

    @xboso4@philiplew

  • TesterPairingandSwapping WithTestSpecialists

    SecurityPerformanceUsabilityAutoma$on

    WithDomainExpertsBusinessperspec$veAuto-correct/complete/verifystoriesBenefitsinbothdirec$ons

    XBOSo4,Inc.2017AllRightsReserved 17

    1

    @xboso4@philiplew

  • Tes$ngisCri$calPartofthePlan

    Tes$ngisnotana4erthoughtClarifystorieswithcustomerandenduser

    Thinkfromtheirpointofview Iden$fytes$ngac$vi$estosupportdevelopment

    Whiteboxtes$ng Integra$ontes$ng

    Backloggrooming Improveandclarifystories

    18XBOSo4,Inc.2017AllRightsReserved

    1

    @xboso4@philiplew

  • WorkloadManagement

    Sustainable-thisAgileprinciplehelpstopreventtestteamburnout

    Sometes$ngtaskscanbeoutsidethesprints(suchastestautoma$oncodedevelopment), sometesterscanworkoutsidethesprintsontheselong-termprojects

    Properes$ma$onofworkavoidspressureontestersduringtheendoftheitera$on

    Properes$ma$onalsoincludeses$ma$onoftes$ng

    1

    XBOSo4,Inc.2017AllRightsReserved 19@xboso4@philiplew

  • SizetheJobProperlyandPriori$ze SomeAgileprojectsritualizesprint$medeadlines,whilenotfollowingotherrulesrelatedtosustainableworkload

    Whentheteamcon$nuallyover-commits,thetestteamgetssqueezedonthelastweekendofeverysprint

    Resolvethischallengethroughrisk-basedtes$ng Reducethescopeoftes$ngbasedonrisk

    Movelow-riskteststonextsprintor Dontdoatall

    1

    XBOSo4,Inc.2017AllRightsReserved@xboso4@philiplew 20

  • PlanningforTechnicalDebt

    Agileteamsshouldhaveafixbugsfirst approachtopreventalargebacklogofbugsReduce$metofixbeyondthesprintlength

    Periodicstabiliza$onorfixdefectssprintsshouldbeplanned

    Withpropermetrics,tes$ngcanhelpmeasureandmanagetechnicaldebt

    Plan$mefordefectverifica$on

    1

    XBOSo4,Inc.2017AllRightsReserved 21@xboso4@philiplew

  • UnderstandingTestBasis Testbasisisconstantlychangingeachitera$onandsome$meswithinStoriesAcceptancetestsEnvironmentProductusage

    Youmayhaveadifferentfocusindifferentitera$ons

    22XBOSo4,Inc.2017AllRightsReserved

    1

    @xboso4@philiplew

  • SprintBacklogSprintPlanning Eachbacklogentrybrokendownintotasks

    Tasksincludedevelopment,tes$ng,environmentconfigura$ons,dataprepara$on,anddocumenta$on

    Allplannedtogether

    23XBOSo4,Inc.2017AllRightsReserved

    1

    @xboso4@philiplew

  • UserStories

    Ideallyreviewedbybusinessandtechnicalstakeholdersearlyinthesprint

    Testersshouldbeinvolvedinthesereviews Highqualityuserstorieswithclearexpectedresultsleadtoearlydefectremovalanddefectpreven$on

    TestersshouldinspectforcompletenessandclarityDoIunderstandwhatIdbetes$ngfor?

    1

    XBOSo4,Inc.2017AllRightsReserved 24@xboso4@philiplew

  • StoryGrooming Clarifydescrip$onvialanguageandexamples

    Predictandavoidalternateinterpreta$ons Elicitacceptancetestsfromproductownerorcustomer/enduser

    Predictalternateorerroneousflows Relatenewstoriestoalreadyunderstoodconceptsandfunc$ons

    25XBOSo4,Inc.2017AllRightsReserved

    1

    @xboso4@philiplew

  • Infrastructure

    Developingandmaintainingtakes$me,some$mesoverlookedandnotsmallToolsFrameworksDataEnvironments

    26XBOSo4,Inc.2017AllRightsReserved

    1

    @xboso4@philiplew

  • TestDataandEnvironments

    Automa$ngtestdatachoresiscri$calGenerateandcaptureMaintainandorganizeValidateChangeproceduresandaccessRegulatorycompliance

    27XBOSo4,Inc.2017AllRightsReserved

    1

    @xboso4@philiplew

  • TestWhatonWhatEnvironment Developmentenvironment

    Unit/component Sta$ccodeanalysis

    Integra$onenvironment Incrementalintegra$on Regression

    28XBOSo4,Inc.2017AllRightsReserved

    1

    @xboso4@philiplew

    QAenvironment Smoke Func$onal Usability Regression UA

    Stagingenvironment Performance,stressandload EndtoEnd System Security

  • Func$onalTes$ng

    Canshi4focusdependingontheitera$onandfocusoftheitera$onStories

    Crossfunc$onalStoryinterac$onsExperiencebasedandexploratory

    29XBOSo4,Inc.2017AllRightsReserved

    1

    @xboso4@philiplew

  • NonFunc$onalTes$ng O4enforgoQenun$ltheend

    UsabilitySecurityPerformanceSta$c-WhiteboxInspec$ons

    30XBOSo4,Inc.2017AllRightsReserved

    1

    @xboso4@philiplew

  • ReviewTests

    Inaddi$ontorequirements,businessandtechnicalstakeholderscanreviewtestcondi$ons(acceptancecriteria)Reducesthenumberoffalseposi$vesandfalsenega$vesassociatedwithtes$ng

    Improvestestresults IncreasesconfidenceinqualityGaininsight/reviewwhatsimportantandwhatsnot

    1

    XBOSo4,Inc.2017AllRightsReserved 31@xboso4@philiplew

  • PlanningforChange

    Agiletes$ngrequireschangeinmindsetandchangeinfocusintechnicalskills

    Testersarebestequippedwhentheyknowhowtoprogramoratleastunderstandthelanguagebeingused

    Duetoshortitera$onsandcompressedregression,Agiletes$ngrequirestestautoma$on

    Testersarebestequippediftheycaneffec$velyimplementtestautoma$on

    1

    XBOSo4,Inc.2017AllRightsReserved 32@xboso4@philiplew

  • DURINGTHESPRINT

    XBOSo4,Inc.2017AllRightsRese