CASE STUDY: DIRP TEST CASE DESIGN METHODOLOGY Marta Azedo & Sara Pinhão 21 st May 2015.
-
Upload
conrad-day -
Category
Documents
-
view
216 -
download
1
Transcript of 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
DIRPDesenho Iterativo Reutilizável em Puzzle
Iterative Reusable Test Cases Design in Puzzle
3
4
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
6
Complex
Business
Processes not
well documented
Lack of
knowledge
Difficulties in the communication
World Quality Report 2014-15
7
8
Business Processes
Test Steps
9
How?
10
Read Spec/User Stories
Think about the possibilities Write Test Cases
Design without DIRP
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
12
Slipting in smaller parts …
Connexion coherency
Complexity
Extention
13
Designing the Tree Diagram …
User Action
User input
ConditionsPiece 1
Piece 2 Piece 3
Piece 5Piece 4
14
Designing the Tree Diagram …
User input
Boundary Value Analysis
Equivalence
Partitioning
Black Box Techniques
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 …
16
Test
Case 1
Test
Case 2
Test
Case 3
Building the Test Cases …
Piece 1
Piece 2 Piece 3
Piece 5Piece 4
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
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
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
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
21
Benefits?
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
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
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
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
26
WhenWhere
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
Sara Pinhão ([email protected])
Marta Azedo ([email protected])CASE STUDY:
DIRP
TEST CASE DESIGN METHODOLOGY
Thank you!