TechVision: Test Data on Demand: Delivering the Right Data, to the Right Place, at the Right Time

26
World ® ’1 6 TechVision: Test Data on Demand: Delivering the Right Data, to the Right Place, at the Right Time Arif Muhammad – Director Product Management – CA Technologies Abhijit Mugali – Sr Principal Product Owner, CA Test Data Manager – CA Technologies DO5X42S DEVOPS

Transcript of TechVision: Test Data on Demand: Delivering the Right Data, to the Right Place, at the Right Time

World®’16

TechVision:TestDataonDemand:DeliveringtheRightData,totheRightPlace,attheRightTimeArifMuhammad– DirectorProductManagement– CATechnologiesAbhijitMugali – SrPrincipalProductOwner,CATestDataManager– CATechnologies

DO5X42S

DEVOPS

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

Inordertodeliverqualitysoftwareontime,testersrequireondemandaccesstotheexactdataneededtosatisfyagivensetoftestcases.However,theyarefrequentlyleftwaitingidlyforanupstreamteamwhoareoverwhelmedwithrequeststoprovisiontheirdata.Dataisfurtherunavailableinparallel,andrareorinterestingdataisusedupbyanotherteam.Often,thedataeventuallyprovisionedisalargecopyofproductiondata,sothattestersspendevenmoretimelookingforthedatatheyneedforagiventest,orhavetocreateitmanuallywhenitdoesn’texist.

Thissessionwillofferadifferentapproachtodataprovisioning,whichremovesthedependencyoftestersonanupstreamteam.Instead,“goldcopy”datathatcontainsallthepossiblecombinationsneededfortestingiscreatedandisstoredasre-usableassetsinacentralrepository.Fromthere,thedatasetsaremadeaccessibletotestersondemand,usingaself-serviceweb-portal.Dynamicformbuildingallowsdatarequestformstobeconstructedusingtheexactcriterianeededforspecifictestcases,usingthelanguageoftherequirementsandteststhemselves.Thedataisthendeliveredautomaticallyandisclonedasitisprovisioned.There-usabledatasetscanthereforebeusedinparallel,deliveringqualitysoftwareearlier,andatlesscost.

ArifMohammedCATechnologiesDirectorProductManagement

AbhijitMugaliCATechnologiesSr.PrincipalProductOwner

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

DATAPROVISIONING:WHATDOESITMEANFORTESTERS?

SELF-SERVICE,ONDEMANDPROVISIONING

CATDMTESTDATAASADATADELIVERYPLATFORM

SETTINGUPTHESERVICES

COMPLETE,END-TO-ENDTESTDATAMANAGEMENT

Q&A

1

2

3

4

5

6

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DataProvisioning:WhatDoesItMeanForTesters?

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TestingBecomestheBlockerforAgileAdoption

TestersfeelhelplessastheycannotfindTestDataforthetestingscenariostheyneedtocoverintheshort

timeframetheyhave.

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TestDataMgmt

Team

TestDataProvisioningProcessHowisitdonetoday?

Upstreamdependency

Manualprovisioning

Dataconstraints

DataRequests

Testers

6-8weeksturnaroundtime

CompositeAppsDataisspreadacrossMultipleDBs

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DataProvisioned

NoMetrics,NoVisibilityandNoCertainty

DataRequest

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Whatiftherewastechnologytoprovideself-servicedataaccesstotesters,withautomaticdelivery?

Demo

World®’16©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD9

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Gartner’sITServiceManagementMaturityModel

Source:http://performancematters.blogspot.com/2005_11_01_archive.html

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WhatTestingTeamsWant?

§ Awayforthemtofind/minetheBusinessObjectacrossenvironmentsforthescenariostheyareabouttoTest.

§ Abilitytocopy/clonefoundBusinessObjectsintotheirtargetenvironments

§ DecoupleTestDataFromTestCasessoitcanbeexecutedinanyenvironmentwheredatamatchingcriteriaexists

§ OptimallyAllocate/Reservedataforspecifictestcasesbeforetestcaseexecution

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TranslatingTheseWantstoaService?

§ Lookforrepeatedrequestsofsametypeofdatawithvariations

§ Onceyouknowwhatisbeingrequestedagainandagaindecidefastestwaytoautomatethedatarequest

§ Choosefrom– Fullysyntheticallygenerated– LettheTesterfinddatafromotherenvironmentsandcloneittotarget– Createacentralcopyofre-usabledatasetpatternsintheformofGold

copyandkeepaugmentingtheGoldcopywithmorepatterns

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

GetYourDatatoServe– GoldenCopy§ LogicalConceptofgroupofinterrelateddatabasesacrossmultipledata

sources

§ ContainssetofbasedatapatternsinterestingfortheTesters

§ Dataneedstobereferentiallycorrectacrosssourcessothatanendtoendbusinessscenarioacrossappcomponentistestable

§ GenerallythegoldcopygetreplicatedtoDevandTestenvironments

§ NewDataintotheGoldcopycancomefromproductionrefreshorSyntheticDataGeneration

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Step1– AcquiretheData– Traditionalway

COPYPRODUCTIONDATA SUBSET MASK

Productiondatadoesnotprovidethedatatestersneedtoruntheirtests Dataismaskedandinsertedintodifferent

datastoresfordev/test

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Step2– FindCoverageGaps

Productiondatais:§ Drawnfrompastscenarioswithusers

behavingasexpected§ Itthereforedoesnotcontainbaddata,

outliersorfuturescenarios

Testersneed:§ Datatosatisfythefullrangeoftestcases§ Thisincludesnegativetesting,datafor

boundarytesting,etc.

Ourauditshavefoundthatittypicallycoversjust10-20%oftests

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Step3– FilltheGapsUsingSyntheticDataGeneration

§ Profiledata,modelit,andaccuratelymeasureitscoverage

§ Generaterichsyntheticdatawhichprovides100%coverage

§ Covereveryoutlier,unexpectedresult,boundaryconditionandnegativepath

NotReadyforTesting!

CATestDataManager+Requireddatacharacteristics

Provisionfitforpurpose dataanytimeandeverytimeProvisiondatawithorwithoutaccesstoproductionsystems

ReadyforTesting!

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

GoldCopyisNotaCopyofProductionData

Productiondatais:§ Drawnfrompast,scenarioswithusers

behavingasexpected§ Itthereforedoesnotcontainbaddata,

outliersorfuturescenarios

Testersneed:§ Datatosatisfythefullrangeoftestcases§ Thisincludesnegativetesting,datafor

boundarytesting,etc.

Ourauditshavefoundthatittypicallycoversjust10-20%oftests

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheNew“GoldStandard”:1. Providesastandardsetofdatatotestwith

2. Datais“production-like”,up-to-dateandcontainsallpreviousdata

3. Itoversallpossibleteststhatneedtoberun,includingfutureandnegativescenarios

4. Containsenoughdatatotestwithrepeatedly

5. Isup-to-date,Containsnosensitivedata

6. Newdatacanbeeasilyandcontinuouslyadded,withcloning,reservationandlocking

7. Datacanbeclonedwithouttheneedtoduplicate

□□□□□□□

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CreateSelf-ServedTestDataServices

§ Basedonspecificrequirementdecideon– SyntheticDataGenerationservicefromscratch– moretimeconsumingto

setup– Clone

§ Lettesterfindspecificdatapatternfromtheoneenvironment/GoldCopyandmakeacloneintodifferentorsameenvironmentwithcertainvariations

– Hybridservice– setofbusinessobjectsareclonedwhiletransactionaldataisGenerated

§ AllowTestertoReservetheDatafortheirspecifictestcasestoavoidoversteppingusingTestDataCriteria-TestCaseMapping

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Howdoyoucreatetheservicesintotheservicecatalogue?

Demo

World®’16©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD20

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Complete,End-to-EndTestDataManagement

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EnterpriseWideTDMCOE

TestDataWarehouse

App2App1

EnterpriseTestDataManagementasCOEforAgileTeamsCA’sVision

OpsControlled Dev Controlled

Profile,Subset&Mask

VisualizeandAnalyzeData

Quality

Copy,Clone,GenerateData

toTarget

FindDataacrossenvironments

Configure

Create

ManageTestDataEngineer

Scrumteams

DeliverDatainformatuser

needs

LargenumberofDB&DataSourcesSupported

AcrossMainframeAndDistributed

ProductionDB

App2App1

TestDataEngineer

DataServicesCatalog

AgileCentral ServiceVirtualization

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MustSeeDemos

DataComplianceandTesting

CATDMTheatre5

DeliverTestDataFaster

CATDMTheatre5

UseModelBasedTesting

CAARDTheatre5

AchieveMaximumTestCoverage

CAARDTheatre5

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Stayconnectedatcommunities.ca.com

Thankyou.

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DevOps– ContinuousDelivery

FormoreinformationonDevOps– ContinuousDelivery,pleasevisit:http://cainc.to/PiTFpu