28
CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

Embed Size (px)

Citation preview

Page 1: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

CASE STUDY: DIRP

TEST CASE DESIGN METHODOLOGYMarta Azedo & Sara Pinhão

21st May 2015

Page 2: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

DIRPDesenho Iterativo Reutilizável em Puzzle

Iterative Reusable Test Cases Design in Puzzle

Page 3: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

3

Page 4: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

4

Page 5: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

5

Difficulties in

the

communication

TEAM

Misunderstood

funcionalities =

misunderstoodminds

CLIENT

Lot of time reading and aproving all of TC’s

Lack of

TIME

Lack of time to design

Lack of time to

re-design

(lead to

changes)

TEAM

CODE RE-BUILDING

Page 6: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

6

Complex

Business

Processes not

well documented

Lack of

knowledge

Difficulties in the communication

World Quality Report 2014-15

Page 7: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

7

Page 8: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

8

Business Processes

Test Steps

Page 9: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

9

How?

Page 10: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

10

Read Spec/User Stories

Think about the possibilities Write Test Cases

Design without DIRP

Page 11: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

11

Read Spec/User Stories and slipt

it in smaller parts

Desing a Tree diagram

Write the Steps and Build Test

Cases

Design with DIRP

Page 12: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

12

Slipting in smaller parts …

Connexion coherency

Complexity

Extention

Page 13: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

13

Designing the Tree Diagram …

User Action

User input

ConditionsPiece 1

Piece 2 Piece 3

Piece 5Piece 4

Page 14: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

14

Designing the Tree Diagram …

User input

Boundary Value Analysis

Equivalence

Partitioning

Black Box Techniques

Page 15: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

15

Piece 1

Piece 2 Piece 3

Piece 5Piece 4

Pre-conditions Steps Expected Results

Remarks

Pre-condition 1Pre-condition 2

Action 1 Result 1

Action 2 Result 2

Action 3 Result 3

Action 4 Result 4

Writing the Steps …

Page 16: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

16

Test

Case 1

Test

Case 2

Test

Case 3

Building the Test Cases …

Piece 1

Piece 2 Piece 3

Piece 5Piece 4

Page 17: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

17

Example …

Age: <24 years – 25%24-65 years – without discount>=65 years – 10%

Submission Date: > 3 months – not possible3 months – 3 days before – possible< 3 days before – not possible

Page 18: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

18

Example …Do a reservation

< 24 years 24-65 years > 65 years Invalid values

Invalid Submission Date (> 3 months

or < 3 days

Valid Submission date (3 months – 3

days before)

Cancel SaveSubmit

All fields have valid inputs

+ validate the discounts

Invalid inputs

User input

Conditions

User input

User Action

Page 19: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

19

Example …Do a reservation

< 24 years 24-65 years > 65 years Invalid values

Invalid Submission Date (> 3 months

or < 3 days

Valid Submission date (3 months – 3

days before)

Cancel SaveSubmit

All fields have valid inputs

+ validate the discounts

Invalid inputs

Equivalence Partitioning

Page 20: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

20

Example …Do a reservation

< 24 years 24-65 years > 65 years Invalid values

Invalid Submission Date (> 3 months

or < 3 days

Valid Submission date (3 months – 3

days before)

0 years

23 years

24 years

65 years

66 years

Max value years

3 months

+ 12 days Festival

day

Day after

Festival

3 months 3 days

-1 ABCBoundary Value Analysis

Page 21: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

21

Benefits?

Page 22: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

22

Benefits

Visual tree

diagram flow Easer/faster to understand/

validate/ discuss

Initial problems

Complex Business Processes not well documented

Difficulties in the

communication:

CLIENT/ TEAM

solution Benefits

Page 23: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

23

Benefits

Less time in design

Common Steps are only written

once!

Lack of time to design

Initial problem

Reusable Steps

in the same

release/ in next

releases!

solution Benefits

Page 24: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

24

Benefits

Lack of time to re-

design

(lead to chages)

Initial problem

Easy to validate which test cases

are affected

Piece 1

Piece 2 Piece 3

Piece 5Piece 4

solutionBenefits

Page 25: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

25

Other benefits

Coverage

Perception

Using ISTQB Decision Testing and Statement Testing

(White Box Techniques) concepts …

NCT – Number of Test Cases designed

NCP – Number of paths

NTP – Number of pieces in a tree diagram (Total)

NPU – Number of pieces used

BenefitsSolution

Page 26: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

26

WhenWhere

Page 27: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

27

2012• Energy• SAP• V-Model

2013• Telco• Siebel/ Web/

Mobile• V-Model

• PSTQB TOC Session

2014• Telco• Web / Mobile• Agile

• Testing Portugal

2015• Telco• Web/Siebel/ Mobile• Agile and V-Model

• Belgium Testing Days

DIRP Use Cases

Page 28: CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015

Sara Pinhão ([email protected])

Marta Azedo ([email protected])CASE STUDY:

DIRP

TEST CASE DESIGN METHODOLOGY

Thank you!