19
Test Automation with VectorCAST

Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

Embed Size (px)

Citation preview

Page 1: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

TestAutomationwithVectorCAST

Page 2: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

Emenda

• Helpingembeddedsoftwaredevelopmentteamssince2006

• Maintechnologies:staticanddynamicanalysistools• KlocworkandVectorCAST

• Servicesaroundtoolstoestablishprocessesandhelpteamsmeetdemandingcertificationstandards(ISO,IEC,EN,etc)

• OfficesinEurope,US,China

Page 3: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

TestAutomation

• AutomatedRepeatableTests

• Manybenefits,suchas:• Fasterfeedback• Reducedmanualwork• Increasedsystemshelflife

• Unit&Integrationisoneapproach,especiallyusefulforlow-levelsystems

Page 4: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

Aquickpoll

• Whocurrentlyperformstestautomation?

• Whoisconsideringtestautomation?

• Whowouldwant(orlike)theirautomatedteststohavecontext(e.g.requirements-based)

Page 5: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

Unit&IntegrationTesting

• Sourcefilesarereferredtoas“units”andcanbeintegratedtoperformcomponentormoduletests

• Unittestsverifysingleunits.Integrationtestsverifyunitstogether

Page 6: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

BenefitsofUnit/IntegrationTesting

• Automatedregressiontests• Doesthesystemstillworkaftersoftwarechanges?

• Identifiestargets• Whendoyoustopcoding?

• CodeConfidence(Correctness,Reliability,Robustness)

• VeryhighlyrecommendedforanyStandards(ISO,IEC,EN,etc)

• Manymore…

Page 7: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

Whydon’tmorepeopleunit/integrationtest?

• Lackofknowledgeofhowandwhy

• Time-to-Marketorotherpressures

• Seenasaverymanualandtimeconsumingprocess• TrueforCorC++• VectorCAST solvesthis…

Page 8: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

IllustrationofaTestHarness

Page 9: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

Nextsteps

• Soyoucreatedatestharnesstotestsomesourcefiles…

• Whowillmaintainthesetestcases?Requirementsandcodechange

• Howdoweperformregressiontestingagainstchanges?

• Canwerunthesetestcasesontarget(HardwareinLoop)?

• Howmuchcodecoveragedoweget?

• Etc.Etc.Etc.

Page 10: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

EnterVectorCAST

• ATestingFrameworkthatautomates:• CreationofTestHarnesses• ManagementofTestCases• RegressionTesting(e.g.withContinuousIntegration)• ReportingofPassed/FailedTestCases• CodeCoverage• TestCaseGeneration(boundaryvalueanalysis,faultinjection,etc)

• Enables:• Requirements-BasedTesting• TargetTesting(Hardware-In-Loop)• TestDrivenDevelopment

• AndMore…

Page 11: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

VectorCAST:CertificationKits

• Overview• RegulatedIndustriesRequireProofofSuitabilityforDevelopmentTools

• Industries• AerospaceDO-178B and DO-178C• Railway EN50128• IndustrialControlsIEC61508• AutomotiveISO26262• Medical/FDAIEC62304

• KitContents• Documentsareabout800totalpages• CompleteToolRequirements• TestCasestoProveRequirementsaremet

TÜVSÜDCertifiedSoftwareToolforSafetyRelatedDevelopment

Page 12: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

VectorCASTUsersAutolivAutoeversystemsAIVBekoBoschChang'an AutomotiveDelphiDongfeng AutomotiveDENSOFujitsuHyundaiMagnaPowertrainMagneti MarelliMOTONICSiemensTRWValeoYura

AbbottLaboratoriesAcist MedicalBaxterHealthcareBeckmanCoulterBostonScientificBiosafeCardinalHealthCovidienEnteromedicsGEHealthcareHoanaMedicalHospiraMedicalImpactInstrumentationMedtronicPhilipsMedicalSironaDentalSmithsMedicalTerumoHeartVarian

ABBAlliedTelesisAlcatelAnsaldo SignalAlstomBrunelBombardierCAPGeminiElin EBGElectro-MotiveDieselsGETransportationInvensysRailŠKODAELECTRICSafetran SystemsSiemensTriconexThalesUnionSwitch&SignalVerocel

AmazoneAnalogDevicesArçelikBechtelBettisBertholdTechnologiesBritishEnergyBrunelCaterpillarChangzhouScaleLtd.ClaasEndress+HauserFosterMillerGeneralElectricHAWEHydraulikICSTripexInvensysIngersollRandItronKrauss-MaffeiMettler ToledoAGNetAppOakSystemsSanminaSunwaysViaSatWiloZIEHL

AELSistemasAstriumBoeingBellHelicopterBelcanBAESystemsCessnaAircraftEADSElectricBoatGoodrichAerospaceGeneralDynamicsHamiltonSundstrandHoneywellITTCommunicationsIndiaSpaceResearchKoreanAerospaceLockheedMartinL-3CommunicationsNorthropGrummanPratt&WhitneyRaytheonRockwellCollinsRollsRoyceSaabGroupThalesTurkishAerospaceU.S.AirForceXMobots Robotic

DO-178B|ED-12B

Aerospace

FDA|IEC62304

Medical

ISO26262

Automotive

CENELEC|EN50128

Railway

IEC61508

Industrial

Companieswho…• havesafetyorbusinesscriticalapplications• haveprocesseswhichspecifyrigoroustesting• haveunitandintegrationtestingrequirements• needtheabilitytoautomate regressiontesting• haverequirementstoprovecodecoverage• realizethatNOTtesting…isNOTanoption

Page 13: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

TimeforaDemo

Page 14: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

Polarion andVectorCASTClosingtheLoop

Page 15: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

ClosetheLoopwithPolarion andVectorCAST

Requirements TestSpecification

ChangeManagement Report

RequirementsTraceabilitywithPolarion

CodeTraceabilitywithVectorCAST

ManagedinPolarion

ManagedinPolarion orVectorCAST

Requirements:Polarion

Code:VectorCAST

Page 16: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

ManualTestingProcess

• FeedbackLoopTime?• Days,weeks,months?

Page 17: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

AutomatedTestingProcess

• FeedbackLoopTime?• Seconds,Minutes

Page 18: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

AutomatedTestingwithTestManagement

Page 19: Test Automation with VectorCAST · Emenda • Helping embedded software development teams since 2006 • Main technologies: static and dynamic analysis tools • Klocwork and VectorCAST

Kiitos /Tack/Thanks!Questions?“MeettheSpeakers”at15:15