what your boss needs to know about sw testing

4
What Your Boss Needs to Know About Software Testing Phil Robinson We’ve organised a software testing course Hope its not coming out of my budget Great! Now lets apply what you learnt! We need to QA the software and remove all the bugs. © Lonsdale Systems 1 Software Testing Techniques for Improving Software Quality Phil Robinson [email protected] www.lonsdalesystems.com LonsdaleSystems.com Our boss should attend this course! Actually our instructor pointed out that you use the term “QA” incorrectly! According to the CMMI “the purpose of quality assurance is to provide staff and management with objective insight into processes and associated work products” Testing is only one aspect of QA! We also learnt that testers don’t remove bugs from software. Developers do! © L ons dale S ys tems 2 Cause of Software Failures People Error (mistake) Defect (fault, bug) Failure Developers make the errors that result in defects… …testers identify failures caused by defects… …leaving the developers to find and remove the defects www.lonsdalesystems.com

Upload: phil-robinson

Post on 05-Dec-2014

383 views

Category:

Technology


0 download

DESCRIPTION

One of the most frequent comments I hear from participants in my courses is "My boss should attend this course". Since we are talking about "bosses" I decided to make some of my course content available as a comic book.

TRANSCRIPT

Page 1: What your boss needs to know about sw testing

What Your Boss Needs to Know About Software Testing

Phil Robinson

We’ve organised a software testing

course

Hope its not coming out of

my budget

Great!

Now lets apply what you learnt!We need to QA the software

and remove all the bugs.

© Lonsdale Systems 1

Software TestingTechniques for Improving Software Quality

Phil [email protected]

www.lonsdalesystems.com

LonsdaleSystems.com

Our boss should attend this course!

Actually our instructor pointed out that you use the term “QA”

incorrectly!

According to the CMMI “the purpose of quality assurance is to

provide staff and management with objective insight into processes and

associated work products”

Testing is only one aspect of QA!

We also learnt that testers don’t remove bugs from software.

Developers do!

© Lonsdale S ystems 2

Cause of Software FailuresPeople

Error(mistake)

Defect

(fault, bug) Failure

Developers make the errors that result in defects…

…testers identify failures caused by defects…

…leaving the developers to find and remove the defects

www.lonsdalesystems.com

Page 2: What your boss needs to know about sw testing

I wonder if testing is still on

schedule?

Our instructor also pointed out how unrealistic your

project plans are!

© Lonsdale S ystems 9

Test Activities

Testing

“Testing” is not a single activity that is scheduled after development!

© Lonsdale S ys tems 10

Test Activities

Test analysis and design

Test implementation and execution

Test planning and control

Evaluating exit criteria and reporting

Test closure activities

Defect repair

So instead of complaining that the project was “held

up” in testing…

…it would in fact be more accurate to say it was “held up in repair”!

I wonder if they found all the

bugs yet?

Actually its impossible to find

“all the bugs”!

© Lonsdale S ys tems 4

Software TestingTesting All Paths

• Possible paths= 520+519+518+…51

= 1017

• 5 minutes per test case – 1 billion years

• 5 microseconds per test case– 19 years

loop <= 20

www.lonsdalesystems.com

Page 3: What your boss needs to know about sw testing

© Lonsdale S ystems 5

Software TestingTesting All Inputs

• Possible combinations= 28

= 256

© Lonsdale S ys tems 10

Principle 1: Testing Shows Presence of Defects

OK! But since we have found lots of bugs we’re must be making good progress. Yes?

© Lonsdale S ystems 11

Principle 2: Exhaustive Testing Is Impossible

Actually, finding a bug increases the likelihood of finding more bugs!

So the harder we work, the more work

we have to do? That makes no sense

at all!

© Lonsdale S ystems 13

Principle 4: Defect Clustering

That must be why testing is so expensive?

www.lonsdalesystems.com

Page 4: What your boss needs to know about sw testing

Actually testing seems expensive because you focus on the cost of

testing rather than the cost of quality.

© Lonsdale S ystems 13

Cost of Quality

Cos

t

Quality

Cost of improving quality

Costof

Quality

Cost of poor quality

© Lonsdale S ystems 22

Rising Cost of Rework

RequirementsDesign

ConstructionDeployment

Operation

$1$5

$20

$50

$200

© Lonsdale S ystems 12

Principle 3: Early Testing

How did the course go?

Lots of trendy nonsense!

Actually many of these ideas have

been around since the 1970s!

www.lonsdalesystems.com