+ All Categories
Home > Documents > AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert...

AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert...

Date post: 23-Aug-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
53
AD42 Agile Testing & Test Automation 3:15 PM AD42 RealityDriven Testing in Agile Projects Presented by: Robert Sabourin AmiBug.Com, Inc. Brought to you by: 8882688770 9042780524 [email protected] https://agiledevopswest.techwell.com/
Transcript
Page 1: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

 

     AD42  Agile  Testing  &  Test  Automation  3:15  PM            

AD42  -­‐  Reality-­‐Driven  Testing  in  Agile  Projects  

 Presented  by:    

   

Robert  Sabourin      AmiBug.Com,  Inc.  

 Brought  to  you  by:    

       

   888-­‐-­‐-­‐268-­‐-­‐-­‐8770  ·∙·∙  904-­‐-­‐-­‐278-­‐-­‐-­‐0524  -­‐  [email protected]  -­‐  https://agiledevopswest.techwell.com/    

Page 2: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

 

Robert  Sabourin    Rob  Sabourin  has  more  than  thirty-­‐five  years  of  management  experience  leading  teams  of  software  development  professionals.  A  highly-­‐respected  member  of  the  software  engineering  community,  Rob  has  managed,  trained,  mentored,  and  coached  hundreds  of  top  professionals  in  the  field.  He  frequently  speaks  at  conferences  and  writes  on  software  engineering,  SQA,  testing,  management,  and  internationalization.  Rob  authored  I  am  a  Bug!,  the  popular  software  testing  children's  book;  works  as  an  adjunct  professor  of  software  engineering  at  McGill  University;  and  serves  as  the  principal  consultant  (and  president/janitor)  of  AmiBug.Com,  Inc.  Contact  Rob  at  [email protected].    

Page 3: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

REALITY DRIVEN TESTING IN AGILE PROJECTS

Page 4: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Instructor Introduction

Presented By

Robert Sabourin

[email protected]

2© 2019 Robert Sabourin RDT v1.0

Page 5: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 3

Reality Driven Testing

• Robert Sabourin ,

Software Evangelist

• President

• AmiBug.Com Inc.

• Montreal, Quebec,

Canada

[email protected]

Page 6: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

1SOME PHILOSOPHY

Page 7: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 5

Reality Driven Testing

• Pain points?

– What hurts?

– How Much?

Page 8: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 6

Fundamental Question

• How do you know when you are finished?

Page 9: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 7

Reality Driven Testing

Page 10: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 8

Reality Driven Testing

Phil Crosby

• “Quality is defined as conformance to

requirements”

• “Quality is not a measure of

GOODNESS”

– Phil B. Crosby, Quality is Free

Page 11: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 9

Reality Driven Testing

“Quality is fitness for use”

Joseph Juran

Quality Control Handbook

Page 12: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 10

Reality Driven Testing

Gerald M. Weinberg

“Quality is value to some person”

Exploring Requirements Quality Before Design

Dorset House

Page 13: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 11

Reality Driven Testing

Conforming to requirements

Suiting purpose

Delivering value to stakeholders

Page 14: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 12

Reality Driven Testing

Circa 25 BC

Page 15: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 13

Reality Driven Testing

Circa 1979 AD

Page 16: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 14

Reality Driven Testing

Edsger W. Dijkstra

• “Program testing can be used to show

the presence of bugs, but never to show

their absence”

Page 17: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 15

Reality Driven Testing

Real changes

Real usage

Real world

Page 18: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Value Sync

© 2019 Robert Sabourin

RDT v1.0

Slide 16

Page 19: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 17

Charter Types

Usage Scenarios

– Identify classes of

users

– Identify how users

will use system

– Describe scenarios

– Use Story board or

similar approaches

– Identify variations

Page 20: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Usage Scenarios

18© 2019 Robert Sabourin RDT v1.0

Page 21: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Pareto Combinations

19© 2019 Robert Sabourin RDT v1.0

0

2

4

6

8

10

12

14

16

1 17 33 49 65 81 97 113 129 145 161 177 193 209 225 241

Count

Count

Page 22: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Usage Scenarios

20© 2019 Robert Sabourin RDT v1.0

Page 23: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Usage Scenarios

21© 2019 Robert Sabourin RDT v1.0

Page 24: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Usage Scenarios

22© 2019 Robert Sabourin RDT v1.0

Page 25: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Usage Scenarios

23© 2019 Robert Sabourin RDT v1.0

Page 26: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Usage Scenarios

24© 2019 Robert Sabourin RDT v1.0

Page 27: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Usage Scenarios

25© 2019 Robert Sabourin RDT v1.0

Page 28: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Usage Scenarios

26© 2019 Robert Sabourin RDT v1.0

Page 29: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Usage Scenarios

27© 2019 Robert Sabourin RDT v1.0

Page 30: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Value Sync

© 2019 Robert Sabourin

RDT v1.0

Slide 28

Page 31: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 29

Reality Driven Testing

Quiz

• Application screens

are selected with

three controls:

(a) has 5 options

(b) has 6 options

(c) has 2 options

• How many screens can a user choose?

Page 32: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 30

Reality Driven Testing

Quiz

• Total Combinations

= 6 x 5 x 2 = 60

• To exercise each

combination once a

total of 60 tests

would be required.

Page 33: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 31

Reality Driven Testing

Quiz

• How many tests

would be required to

exercise all possible

screens in every

possible order?.

Page 34: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 32

Reality Driven Testing

Quiz

• To exercise all screens in every

possible order would require

60! Test cases

60! = 60 x 59 x 58 x ... 3 x 2 x 1

60! ≈ 8.32 x 10**81

Page 35: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 33

Reality Driven Testing

Quiz

From 7.0 × 10**79

To 1.5 × 10**82

How many atoms are in

the observable

universe?

Page 36: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

© 2019 Robert Sabourin RDT v1.0 34

Charter Types

Sequences

– Explore paths

– Vary

– Operation order

– Sequences

– Valid

– Invalid

– Multiple

– Concurrent

Page 37: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Control Flow Testing

35© 2019 Robert Sabourin RDT v1.0

Page 38: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Control Flow Testing

36© 2019 Robert Sabourin RDT v1.0

Page 39: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Control Flow Testing

37© 2019 Robert Sabourin RDT v1.0

Control Flow Diagram to Identify Basis Paths

Basis Paths

p01 Start Dispatch L M N P Q R

p02 Start Dispatch X Y AA AB R

p03 Start Dispatch AC AF AJ AI AK R

p04 Start Dispatch AD AE AF AJ AI AK R

p05 Start Dispatch O P Q R

p06 Start Dispatch K P Q R

p07 Start Dispatch I J C D H P Q R

p08 Start Dispatch A B C D H P Q R

p09 Start Dispatch L M N P S T Q R

p10 Start Dispatch L M N P S T U R

p11 Start Dispatch L M N P S T U V W R

p12 Start Dispatch X Z AA AB R

p13 Start Dispatch X Z AA AM R

p14 Start Dispatch X Z AA AM AN AP AQ R

p15 Start Dispatch X Z AA AM AN AO AQ R

p16 Start Dispatch AC AF AG R

p17 Start Dispatch AC AF AH R

p18 Start Dispatch AC AF AJ AL AM R

p19 Start Dispatch AC AF AJ AL R

p20 Start Dispatch I J C D E F R

p21 Start Dispatch I J C D E G R

p22 Start Dispatch A B R

Nodes 45

Edges 65

Complexity 22 E-N+2

Page 40: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Value Sync

© 2019 Robert Sabourin

RDT v1.0

Slide 38

Page 41: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Charter Types

Failure ModesW

rap

-O-M

ati

c

© 2019 Robert Sabourin RDT v1.0 39

Page 42: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Charter Types

Failure ModesChocolate Receiver

Chocolate Weight Sensor

Paper Receiver

Box Receiver

Ribbon Receiver

Manifest Entry Console

Material Data Manager

Inbound Material Error Processor

Wrapping Engine

Ribbon Engine

Boxing EngineOutbound Boxes

Manager

Rejected Chocolate Manager

Transaction Journal Manager

Report Generator

Manifest Data Manager

Inbound conveyor belts

Inbound paper trays

Inbound box racks

Inbound ribbon spools

Wrap O Matic Ignition

Report Printer

Wrap O Matic Controller

Outbound Boxes

Outbound Rejected Chocolates

Operator Control Entry

Wrap O Matic Status Indicators

Wrap O Matic Process Block Diagram

Backup

Blo

ck D

iag

ram

© 2019 Robert Sabourin RDT v1.0 40

Page 43: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Charter Types

Failure Modes

For each object I can ask the question:

What if the object fails during a transaction?

What if the object is not visible?

What if the object is busy?

© 2019 Robert Sabourin RDT v1.0 41

Page 44: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Failure Mode Analysis

42© 2019 Robert Sabourin RDT v1.0

Page 45: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Failure Mode Analysis

43© 2019 Robert Sabourin RDT v1.0

Page 46: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Testing Ideas

• Investigative

approaches

– We become truffle

snorting pigs and try to

find useful information in

all evidence we discover

– We can even get good

ideas from out of date

sources

Cap

ture

te

sti

ng

id

eas

© 2019 Robert Sabourin RDT v1.0 Slide 44

Page 47: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Testing Ideas

Cap

ture

te

sti

ng

id

eas

Who is paying for the software?

Who is supposed to use the software?

What problem is the software trying to solve?

Does other software have to run before after or during operation?

Will other unrelated software be running at the same time?

© 2019 Robert Sabourin RDT v1.0 Slide 45

Page 48: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Testing Ideas

Cap

ture

te

sti

ng

id

eas

Will data be shared with other software?

Will processing resources be shared with other software?

What are the users going to do with the software?

Are the users familiar with the problem?

Are the users familiar with the solution?

© 2019 Robert Sabourin RDT v1.0 Slide 46

Page 49: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Testing Ideas

Cap

ture

te

sti

ng

id

eas

Are there novice users?

Are there expert users?

Are there typical users?

Are there different categories of users doing different tasks?

Who will install the software?

© 2019 Robert Sabourin RDT v1.0 Slide 47

Page 50: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Testing Ideas

Cap

ture

te

sti

ng

id

eas

Who will configure the software?

Who will manage the software?

Who will manage the data?

Where will data come from?

Does the software contain elements we do not need?

© 2019 Robert Sabourin RDT v1.0 Slide 48

Page 51: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Testing Ideas

Cap

ture

te

sti

ng

id

eas

Are there any non-functional needs?

Does the software have any environmental concerns?

What about operator locale?

Does this software replace existing software?

Does the software replace existing hardware?

© 2019 Robert Sabourin RDT v1.0 Slide 49

Page 52: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Testing Ideas

Cap

ture

te

sti

ng

id

eas

Does the software automate previously manual work?

Is the software being reused?

Is the software being repurposed?

Is the software being customized?

Did the software purchaser understand risk?

© 2019 Robert Sabourin RDT v1.0 Slide 50

Page 53: AD42%!Reality%Driven!Testing!in!Agile Projects! · Instructor Introduction Presented By Robert Sabourin robsab@gmail.com © 2019 Robert Sabourin RDT v1.0 2

Thank You

• Questions?

© 2019 Robert Sabourin RDT v1.0 51


Recommended