Software Testing

18
Software Testing How has agile changed the game? Karen Greaves

description

Software Testing. How has a gile changed the game? Karen Greaves. Why?. Cost of fixing a defect. Test Early. HOWTO: Test Early. Testers involved in Sprint Planning Testers work from day 1 of the sprint Done includes testing & fixing Don’t let developers get ahead - PowerPoint PPT Presentation

Transcript of Software Testing

Page 1: Software  Testing

Software Testing

How has agile changed

the game?

Karen Greaves

Page 2: Software  Testing

Why?

Page 3: Software  Testing

• Building the system right

• Compare against a specification

Validation

• Building the right system

• Compare against customer needs

Verification

Page 4: Software  Testing

Cost of fixing a defect

Page 5: Software  Testing

Test Early

Page 6: Software  Testing

HOWTO: Test Early

Testers involved in Sprint PlanningTesters work from day 1 of the sprintDone includes testing & fixingDon’t let developers get aheadTeam signs off each story

Page 7: Software  Testing

Cost vs Benefit of Automation

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 250

50

100

150

200

250

300

Automated Testing

Manual Testing

Number of Test Executions

Rela

tive

Cos

t

Page 8: Software  Testing

Automate

Page 9: Software  Testing

HOWTO: AutomationMake automation part of every storyEveryone runs automated testsQuick to run & interpretFlexible to runDon’t automate once off testsAutomate things you do everydayAutomate sanity tests

Page 10: Software  Testing

Defect Yield

High YieldAverage YieldLow Yield

Time Testing

Def

ects

Fou

nd

Page 11: Software  Testing

Test Smarter

Page 12: Software  Testing

HOWTO: Test Smarter

White or grey box testingUnderstand where bugs could existTrust developersStatic testingUse fundamental techniques

Page 13: Software  Testing

Test FundamentalsPair wise / All pairs testingEquivalence partitioningBoundary case analysisDependency maps for regressionSeparate functional testing from load testing

Page 14: Software  Testing

TrackingWhen should you log a bug?How many defects states?Priority and severity?The importance of classifying bugsClean out your defect system regularly

Page 15: Software  Testing

Test ReportingSystem status at a glance Test depthDefect trends

Working software over comprehensive documentation

Page 16: Software  Testing

Technical stuff you need to know

Version ControlBuild ProcessInstallers and UpgradesEnvironments

Page 17: Software  Testing

Implications of agile

Build the right systemTest EarlyAutomate TestingTest SmarterQuality is everyone’s concern

Page 18: Software  Testing