SlideShare a Scribd company logo
1 of 26
Efficient Test Suite Management
cont
…
11/19/2022 1
Prof. Durga Prasad Mohapatra
Professor
Dept. of CSE, NIT Rourkela
Overview of last class
• Discussed a technique for prioritizing system
test cases based on requirements, proposed
by Srikanth et. al.
• This technique is known as PORT
(prioritization of requirements for test).
• They have considered the following four factors
for analyzing and measuring the criticality of
requirements.
11/19/2022 2
Overview of last class cont …
 Customer-assigned priority of requirements: Based on priority, the
customer assigns a weight (on scale of 1 to 10) to each requirement.
 Requirement volatility: This is a rating based on the frequency of
change of a requirement.
 Developer-perceived implementation complexity: The developer
gives more weight to a requirement which he thinks is more difficult to
implement.
 Fault proneness of requirements: This factor is identified based on the
previous versions of system. If a requirement in an earlier version of the system
has more bugs, i.e. it is error-prone , then this requirement in the current version is
given more weight. This factor cannot be considered for a new software.
11/19/2022 3
Overview of last class cont …
 Based on these four factor values, a
prioritization factor value (PFV) is computed as
given below.
PFVi = ∑(FVij × FWj)
where FVij = Factor value is the value of factor
j corresponding to requirement I, and FWj =
Factor weight is the weight given to factor j.
 PFV is then used to produce a prioritized list
of system test cases.
An Approach for Prioritization of
Regression Test Cases
Kavitha & Kumar proposed an approach for prioritization of
regression test cases by considering the following factors:
1. Customer-assigned priority of requirements
2. Changes in requirements
3. Developer-perceived code implementation complexity
4. Fault impact of requirements
5. Completeness
6. Traceability
7. Execution time
Based on these factors, a weightage is assigned to each test
case and the test cases are prioritized according to the
Another Approach for Test Case
Prioritization Based on Requirements
Kumar & Chauhan proposed a hierarchical
test case prioritization approach, where
prioritization is performed at three levels:
 Prioritize the requirements on the basis of 12
factors by assigning a weightage to each
requirement.
 Map the prioritized requirements to their
corresponding modules to get the prioritized
modules.
 Rank (prioritize) the test cases of the prioritized
modules for execution.
Prioritization of requirements
 The process of prioritization of requirements is
performed on the basis of 12 factors.
 These factors are in accordance with every
phase of SDLC.
 All these factors have been assigned a priority
value between 0 and 10.
 These priority values are assigned by various
stakeholders of the project.
 Table in next slide shows these factors.
Factors considered for requirement
prioritization
S.NO Factors Phase of SDLC
Priority Value
Assigned by
1 Requirement volatility
Requirement
analysis
Customer
2 Customer assigned priority
Requirement
analysis
Customer
3 Implementation complexity Design Developer
4 Fault proneness of requirements Design Developer
5 Developer assigned priority
Requirement
analysis
Developer
6 Show stopper requirements Design Developer
7
Frequency of execution of
requirements
Requirement
analysis
Developer
8 Expected faults Coding Developer
9 Cost
Requirement
Analyst
Requirement Prioritization Factor
Value
 For each requirement, based on these 12 factors, a
Requirement Prioritization Factor Value (RPFV) is
calculated using below Eq.
 i represents the number of requirements, & j
represents the number of factors
 RPFV represents the prioritization factor value for a
requirement which is the summation of the product
of priority value of a factor and the project factor
1
( )
n
ij j
j
RPFV pfvalue Xpfweight

 
Requirement Prioritization Factor Value
cont …
 pfvalue is the value of factor for the ith requirement
 pfweight is the factor weight for the jth factor for a
particular project.
 By using the previous Eq. the weight prioritization
factor RPFV for every requirement can be
calculated.
 The table in next slide shows the prioritization of 4
sample requirements on the basis of RPFV for
each requirement.
Requirements
prioritization
Factor R1 R2 R3 R4 Weight factor
Customer assigned
priority
8 10 9 9 0.02
Developer assigned
priority
8 9 9 8 0.08
Requirements volatility 3 0 0 2 0.1
Fault proneness 0 0 0 0 0.15
Expected faults 2 3 4 2 0.10
Implementation
complexity
3 4 5 3 0.10
Execution frequency 5 10 9 6 0.05
Traceability 0 0 0 0 0.05
Show stopper
requirements
0 9 6 0 0.2
Penalty 1 4 3 3 0.05
Time 3 6 5 4 0.05
Cost 4 7 6 6 0.05
RPFV 2.25 4.77 4.15 2.47 1.0
Inference
 In this table, R2 has the highest RPFV
among all requirements.
 So, the prioritization order of these
requirements is R2, R3, R4, and R1.
 The value of RPFV depends on the values
of pfvalue and pfweight.
Prioritization of modules
 It is a process of mapping between
prioritized requirements and their
corresponding modules.
 If there is more than one module then the
modules are prioritized.
 It uses criteria like Cyclometic complexity
and non-dc path.
Prioritization of modules cont …
 Definition-clear path (dc-path): A dc-path
with respect to a variable v is a path
between the definition node and the usage
node s.t. no other node in the path is a
defining node of variable v. Non-dc paths
are more error prone.
 The test cases of higher priority modules are
prioritized first and executed.
 For each module, a module prioritize value
(MPV) is calculated by adding cyclometic
complexity and the number of non-dc paths.
Example
Factors M1 M2 M3 M4
Cyclomatic
complexity
8 4 4 5
Non-dc path 7 5 6 3
MPV 15 9 10 8
Example
 The table shows the prioritization of 4
sample modules on the basis of MPV for
each module.
 The order of prioritization of modules on the
basis of MPV is M1, M3, M2 and M4.
Test case prioritization process
 It is used to prioritize and schedule the test
cases corresponding to prioritized modules.
 Some weight factors are used for test case
prioritization such as
o test case complexity,
o requirements coverage,
o dependency of the test cases and
o test impact.
Test Case Complexity
 It shows how difficult it is to execute a test
case.
 It also shows how much effort is required to
execute the test case.
 This factor is assigned a value between 1 and
10.
Requirements Coverage
 It shows how many requirements are
covered by executing the test case.
 This factor is scaled between 1 to 10.
 A higher value shows maximum
requirements are covered by the test case.
 Higher the number of requirements
coverage, higher is the priority of the test
case to be executed first.
Dependency
 It shows the dependency of test cases on
some pre-requisities.
 It shows how many pre-requisites are
required for each test case before execution
of the test case.
 This factor is assigned a value between 1 and
10.
Test Impact
 It is the most critical factor in test case
prioritization.
 It shows the impact of test case on a system if
it is not executed.
 This factor assesses importance of the test
case.
 This factor is assigned a value between 1 and
10.
Test Case Weight Prioritization
 TCWP is calculated as follows
where,
 TCWP = weight prioritization for each test case
calculated from the four factors.
 fvalue = value assigned to each test case.
 fweight = weight assigned to each factor.
Test Case Weight Prioritization cont …
 After calculating the value of each test case,
test cases are ordered by TCWP such that
maximum TCWP gives a test case the highest
priority and executed.
 Suppose, a set of four test cases
TC1,TC2,TC3, and TC4 are to be prioritized.
For these test cases TCWP is calculated by
using the above equation and are prioritized on
the basis of values of TCWP.
Example
S. No. Factor TC1 TC2 TC3 TC4 Weight
1 Test impact 4 8 7 9 0.4
2 Test case
complexity
8 7 5 9 0.3
3 Requirement
coverage
6 2 4 4 0.2
4 Dependency 7 6 6 8 0.1
TCWP 5.90 6.30 5.70 7.90 1.0
So, the final prioritized order of test cases is TC4, TC2,
Reference
1. Naresh Chauhan, Software Testing:
Principles and Practices, Second Edition,
(Chapter 12), Oxford Univerity Press,
2018.
Thank you

More Related Content

Similar to Lect23-Efficient test suite mgt - III.pptx

Testing documents
Testing documentsTesting documents
Testing documentsHari Tiru
 
Michael Felderer - Leveraging Defect Taxonomies for Testing - EuroSTAR 2012
Michael Felderer - Leveraging Defect Taxonomies for Testing - EuroSTAR 2012Michael Felderer - Leveraging Defect Taxonomies for Testing - EuroSTAR 2012
Michael Felderer - Leveraging Defect Taxonomies for Testing - EuroSTAR 2012TEST Huddle
 
Testing documents
Testing documentsTesting documents
Testing documentssuhasreddy1
 
20050314 specification based regression test selection with risk analysis
20050314 specification based regression test selection with risk analysis20050314 specification based regression test selection with risk analysis
20050314 specification based regression test selection with risk analysisWill Shen
 
Effectiveness of test case
Effectiveness of test caseEffectiveness of test case
Effectiveness of test caseijseajournal
 
Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)KMS Technology
 
Target-based test path prioritization for UML activity diagram using weight a...
Target-based test path prioritization for UML activity diagram using weight a...Target-based test path prioritization for UML activity diagram using weight a...
Target-based test path prioritization for UML activity diagram using weight a...IJECEIAES
 
КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...GoQA
 
Lect24-Efficient test suite mgt - IV.pptx
Lect24-Efficient test suite mgt - IV.pptxLect24-Efficient test suite mgt - IV.pptx
Lect24-Efficient test suite mgt - IV.pptxvijay518229
 
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...Muhammad Jazman
 
AN APPROACH FOR TEST CASE PRIORITIZATION BASED UPON VARYING REQUIREMENTS
AN APPROACH FOR TEST CASE PRIORITIZATION BASED UPON VARYING REQUIREMENTS AN APPROACH FOR TEST CASE PRIORITIZATION BASED UPON VARYING REQUIREMENTS
AN APPROACH FOR TEST CASE PRIORITIZATION BASED UPON VARYING REQUIREMENTS IJCSEA Journal
 
A comparative on test case generation on concurrent
A comparative on test case generation on concurrentA comparative on test case generation on concurrent
A comparative on test case generation on concurrentSoumyaRanjanBehera40
 
SE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.pptSE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.pptvishal choudhary
 
Supplier Classification and Selecetion With Artificial Neural Network
Supplier Classification and Selecetion With Artificial Neural NetworkSupplier Classification and Selecetion With Artificial Neural Network
Supplier Classification and Selecetion With Artificial Neural NetworkVOLKAN YILDIRIM
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycleNikhil Sharma
 
SE UNIT 5 part 2 (1).pptx
SE UNIT 5 part 2 (1).pptxSE UNIT 5 part 2 (1).pptx
SE UNIT 5 part 2 (1).pptxPraneethBhai1
 
DRONE: Predicting Priority of Reported Bugs by Multi-Factor Analysis
DRONE: Predicting Priority of Reported Bugs by Multi-Factor AnalysisDRONE: Predicting Priority of Reported Bugs by Multi-Factor Analysis
DRONE: Predicting Priority of Reported Bugs by Multi-Factor AnalysisYuan Tian
 

Similar to Lect23-Efficient test suite mgt - III.pptx (20)

Testing documents
Testing documentsTesting documents
Testing documents
 
Michael Felderer - Leveraging Defect Taxonomies for Testing - EuroSTAR 2012
Michael Felderer - Leveraging Defect Taxonomies for Testing - EuroSTAR 2012Michael Felderer - Leveraging Defect Taxonomies for Testing - EuroSTAR 2012
Michael Felderer - Leveraging Defect Taxonomies for Testing - EuroSTAR 2012
 
Testing documents
Testing documentsTesting documents
Testing documents
 
20050314 specification based regression test selection with risk analysis
20050314 specification based regression test selection with risk analysis20050314 specification based regression test selection with risk analysis
20050314 specification based regression test selection with risk analysis
 
Effectiveness of test case
Effectiveness of test caseEffectiveness of test case
Effectiveness of test case
 
Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)
 
Target-based test path prioritization for UML activity diagram using weight a...
Target-based test path prioritization for UML activity diagram using weight a...Target-based test path prioritization for UML activity diagram using weight a...
Target-based test path prioritization for UML activity diagram using weight a...
 
КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
 
Lect24-Efficient test suite mgt - IV.pptx
Lect24-Efficient test suite mgt - IV.pptxLect24-Efficient test suite mgt - IV.pptx
Lect24-Efficient test suite mgt - IV.pptx
 
[Vu Van Nguyen] Test Estimation in Practice
[Vu Van Nguyen]  Test Estimation in Practice[Vu Van Nguyen]  Test Estimation in Practice
[Vu Van Nguyen] Test Estimation in Practice
 
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
 
AN APPROACH FOR TEST CASE PRIORITIZATION BASED UPON VARYING REQUIREMENTS
AN APPROACH FOR TEST CASE PRIORITIZATION BASED UPON VARYING REQUIREMENTS AN APPROACH FOR TEST CASE PRIORITIZATION BASED UPON VARYING REQUIREMENTS
AN APPROACH FOR TEST CASE PRIORITIZATION BASED UPON VARYING REQUIREMENTS
 
A comparative on test case generation on concurrent
A comparative on test case generation on concurrentA comparative on test case generation on concurrent
A comparative on test case generation on concurrent
 
SE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.pptSE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.ppt
 
Supplier Classification and Selecetion With Artificial Neural Network
Supplier Classification and Selecetion With Artificial Neural NetworkSupplier Classification and Selecetion With Artificial Neural Network
Supplier Classification and Selecetion With Artificial Neural Network
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
SE UNIT 5 part 2 (1).pptx
SE UNIT 5 part 2 (1).pptxSE UNIT 5 part 2 (1).pptx
SE UNIT 5 part 2 (1).pptx
 
Gaur11428
Gaur11428Gaur11428
Gaur11428
 
DRONE: Predicting Priority of Reported Bugs by Multi-Factor Analysis
DRONE: Predicting Priority of Reported Bugs by Multi-Factor AnalysisDRONE: Predicting Priority of Reported Bugs by Multi-Factor Analysis
DRONE: Predicting Priority of Reported Bugs by Multi-Factor Analysis
 
Ijsea04031006
Ijsea04031006Ijsea04031006
Ijsea04031006
 

More from vijay518229

1-s2.0-S0747563204000810-main.pdf
1-s2.0-S0747563204000810-main.pdf1-s2.0-S0747563204000810-main.pdf
1-s2.0-S0747563204000810-main.pdfvijay518229
 
ppt_nano_computing.pptx
ppt_nano_computing.pptxppt_nano_computing.pptx
ppt_nano_computing.pptxvijay518229
 
Automatic car parking system (1).pptx
Automatic car parking system (1).pptxAutomatic car parking system (1).pptx
Automatic car parking system (1).pptxvijay518229
 
207952_VIJAY_MCA.ppt
207952_VIJAY_MCA.ppt207952_VIJAY_MCA.ppt
207952_VIJAY_MCA.pptvijay518229
 
ppt_nano_computing.pptx
ppt_nano_computing.pptxppt_nano_computing.pptx
ppt_nano_computing.pptxvijay518229
 
Automatic car parking system (1).pptx
Automatic car parking system (1).pptxAutomatic car parking system (1).pptx
Automatic car parking system (1).pptxvijay518229
 
1-s2.0-S0747563204000810-main.pdf
1-s2.0-S0747563204000810-main.pdf1-s2.0-S0747563204000810-main.pdf
1-s2.0-S0747563204000810-main.pdfvijay518229
 

More from vijay518229 (9)

smart home.pdf
smart home.pdfsmart home.pdf
smart home.pdf
 
1-s2.0-S0747563204000810-main.pdf
1-s2.0-S0747563204000810-main.pdf1-s2.0-S0747563204000810-main.pdf
1-s2.0-S0747563204000810-main.pdf
 
ppt_nano_computing.pptx
ppt_nano_computing.pptxppt_nano_computing.pptx
ppt_nano_computing.pptx
 
Automatic car parking system (1).pptx
Automatic car parking system (1).pptxAutomatic car parking system (1).pptx
Automatic car parking system (1).pptx
 
207952_VIJAY_MCA.ppt
207952_VIJAY_MCA.ppt207952_VIJAY_MCA.ppt
207952_VIJAY_MCA.ppt
 
ppt_nano_computing.pptx
ppt_nano_computing.pptxppt_nano_computing.pptx
ppt_nano_computing.pptx
 
Automatic car parking system (1).pptx
Automatic car parking system (1).pptxAutomatic car parking system (1).pptx
Automatic car parking system (1).pptx
 
smart home.pdf
smart home.pdfsmart home.pdf
smart home.pdf
 
1-s2.0-S0747563204000810-main.pdf
1-s2.0-S0747563204000810-main.pdf1-s2.0-S0747563204000810-main.pdf
1-s2.0-S0747563204000810-main.pdf
 

Recently uploaded

Dubai Call girls Service 0524076003 Call girls services in Dubai
Dubai Call girls Service 0524076003 Call girls services in DubaiDubai Call girls Service 0524076003 Call girls services in Dubai
Dubai Call girls Service 0524076003 Call girls services in DubaiMonica Sydney
 
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...call girls kolkata
 
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...Nitya salvi
 
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book now
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book nowUnnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book now
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book nowNitya salvi
 
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...call girls kolkata
 
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...DipikaDelhi
 
Book ☎️ 8617370543 Call Girls in Bharuch and escort services 24x7
Book ☎️ 8617370543 Call Girls in Bharuch and escort services 24x7Book ☎️ 8617370543 Call Girls in Bharuch and escort services 24x7
Book ☎️ 8617370543 Call Girls in Bharuch and escort services 24x7Nitya salvi
 
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdfTop IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdfXtreame HDTV
 
Call Girls Surat Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Surat Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Surat Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Surat Just Call 8617370543 Top Class Call Girl Service AvailableNitya salvi
 
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service BhubaneswarCall Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service BhubaneswarCall Girls Mumbai
 
Ghansoli Escorts Services 09167354423 Ghansoli Call Girls,Call Girls In Ghan...
Ghansoli Escorts Services 09167354423  Ghansoli Call Girls,Call Girls In Ghan...Ghansoli Escorts Services 09167354423  Ghansoli Call Girls,Call Girls In Ghan...
Ghansoli Escorts Services 09167354423 Ghansoli Call Girls,Call Girls In Ghan...Priya Reddy
 
Bhubaneswar🌹Call Girls Patia ❤Komal 9777949614 💟 Full Trusted CALL GIRLS IN b...
Bhubaneswar🌹Call Girls Patia ❤Komal 9777949614 💟 Full Trusted CALL GIRLS IN b...Bhubaneswar🌹Call Girls Patia ❤Komal 9777949614 💟 Full Trusted CALL GIRLS IN b...
Bhubaneswar🌹Call Girls Patia ❤Komal 9777949614 💟 Full Trusted CALL GIRLS IN b...Call Girls Mumbai
 
Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Nitya salvi
 
Hire 💕 8617370543 Lunawada Call Girls Service Call Girls Agency
Hire 💕 8617370543 Lunawada Call Girls Service Call Girls AgencyHire 💕 8617370543 Lunawada Call Girls Service Call Girls Agency
Hire 💕 8617370543 Lunawada Call Girls Service Call Girls AgencyNitya salvi
 
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...Call Girls Mumbai
 
🌹Bhubaneswar🌹Ravi Tailkes ❤CALL GIRL 9777949614 ❤CALL GIRLS IN bhubaneswar E...
🌹Bhubaneswar🌹Ravi Tailkes  ❤CALL GIRL 9777949614 ❤CALL GIRLS IN bhubaneswar E...🌹Bhubaneswar🌹Ravi Tailkes  ❤CALL GIRL 9777949614 ❤CALL GIRLS IN bhubaneswar E...
🌹Bhubaneswar🌹Ravi Tailkes ❤CALL GIRL 9777949614 ❤CALL GIRLS IN bhubaneswar E...Call Girls Mumbai
 
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls Agency
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls AgencyHire 💕 8617370543 Dhalai Call Girls Service Call Girls Agency
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls AgencyNitya salvi
 
Dubai Call girls Service 0524076003 Call girls in Dubai
Dubai Call girls Service 0524076003 Call girls in DubaiDubai Call girls Service 0524076003 Call girls in Dubai
Dubai Call girls Service 0524076003 Call girls in DubaiMonica Sydney
 
Exclusive Ahmedabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class Call Girl...
Exclusive  Ahmedabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class Call Girl...Exclusive  Ahmedabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class Call Girl...
Exclusive Ahmedabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class Call Girl...vershagrag
 
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service AvailableNitya salvi
 

Recently uploaded (20)

Dubai Call girls Service 0524076003 Call girls services in Dubai
Dubai Call girls Service 0524076003 Call girls services in DubaiDubai Call girls Service 0524076003 Call girls services in Dubai
Dubai Call girls Service 0524076003 Call girls services in Dubai
 
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...
 
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
 
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book now
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book nowUnnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book now
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book now
 
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
 
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
 
Book ☎️ 8617370543 Call Girls in Bharuch and escort services 24x7
Book ☎️ 8617370543 Call Girls in Bharuch and escort services 24x7Book ☎️ 8617370543 Call Girls in Bharuch and escort services 24x7
Book ☎️ 8617370543 Call Girls in Bharuch and escort services 24x7
 
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdfTop IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
 
Call Girls Surat Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Surat Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Surat Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Surat Just Call 8617370543 Top Class Call Girl Service Available
 
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service BhubaneswarCall Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
 
Ghansoli Escorts Services 09167354423 Ghansoli Call Girls,Call Girls In Ghan...
Ghansoli Escorts Services 09167354423  Ghansoli Call Girls,Call Girls In Ghan...Ghansoli Escorts Services 09167354423  Ghansoli Call Girls,Call Girls In Ghan...
Ghansoli Escorts Services 09167354423 Ghansoli Call Girls,Call Girls In Ghan...
 
Bhubaneswar🌹Call Girls Patia ❤Komal 9777949614 💟 Full Trusted CALL GIRLS IN b...
Bhubaneswar🌹Call Girls Patia ❤Komal 9777949614 💟 Full Trusted CALL GIRLS IN b...Bhubaneswar🌹Call Girls Patia ❤Komal 9777949614 💟 Full Trusted CALL GIRLS IN b...
Bhubaneswar🌹Call Girls Patia ❤Komal 9777949614 💟 Full Trusted CALL GIRLS IN b...
 
Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
 
Hire 💕 8617370543 Lunawada Call Girls Service Call Girls Agency
Hire 💕 8617370543 Lunawada Call Girls Service Call Girls AgencyHire 💕 8617370543 Lunawada Call Girls Service Call Girls Agency
Hire 💕 8617370543 Lunawada Call Girls Service Call Girls Agency
 
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
 
🌹Bhubaneswar🌹Ravi Tailkes ❤CALL GIRL 9777949614 ❤CALL GIRLS IN bhubaneswar E...
🌹Bhubaneswar🌹Ravi Tailkes  ❤CALL GIRL 9777949614 ❤CALL GIRLS IN bhubaneswar E...🌹Bhubaneswar🌹Ravi Tailkes  ❤CALL GIRL 9777949614 ❤CALL GIRLS IN bhubaneswar E...
🌹Bhubaneswar🌹Ravi Tailkes ❤CALL GIRL 9777949614 ❤CALL GIRLS IN bhubaneswar E...
 
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls Agency
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls AgencyHire 💕 8617370543 Dhalai Call Girls Service Call Girls Agency
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls Agency
 
Dubai Call girls Service 0524076003 Call girls in Dubai
Dubai Call girls Service 0524076003 Call girls in DubaiDubai Call girls Service 0524076003 Call girls in Dubai
Dubai Call girls Service 0524076003 Call girls in Dubai
 
Exclusive Ahmedabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class Call Girl...
Exclusive  Ahmedabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class Call Girl...Exclusive  Ahmedabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class Call Girl...
Exclusive Ahmedabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class Call Girl...
 
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
 

Lect23-Efficient test suite mgt - III.pptx

  • 1. Efficient Test Suite Management cont … 11/19/2022 1 Prof. Durga Prasad Mohapatra Professor Dept. of CSE, NIT Rourkela
  • 2. Overview of last class • Discussed a technique for prioritizing system test cases based on requirements, proposed by Srikanth et. al. • This technique is known as PORT (prioritization of requirements for test). • They have considered the following four factors for analyzing and measuring the criticality of requirements. 11/19/2022 2
  • 3. Overview of last class cont …  Customer-assigned priority of requirements: Based on priority, the customer assigns a weight (on scale of 1 to 10) to each requirement.  Requirement volatility: This is a rating based on the frequency of change of a requirement.  Developer-perceived implementation complexity: The developer gives more weight to a requirement which he thinks is more difficult to implement.  Fault proneness of requirements: This factor is identified based on the previous versions of system. If a requirement in an earlier version of the system has more bugs, i.e. it is error-prone , then this requirement in the current version is given more weight. This factor cannot be considered for a new software. 11/19/2022 3
  • 4. Overview of last class cont …  Based on these four factor values, a prioritization factor value (PFV) is computed as given below. PFVi = ∑(FVij × FWj) where FVij = Factor value is the value of factor j corresponding to requirement I, and FWj = Factor weight is the weight given to factor j.  PFV is then used to produce a prioritized list of system test cases.
  • 5. An Approach for Prioritization of Regression Test Cases Kavitha & Kumar proposed an approach for prioritization of regression test cases by considering the following factors: 1. Customer-assigned priority of requirements 2. Changes in requirements 3. Developer-perceived code implementation complexity 4. Fault impact of requirements 5. Completeness 6. Traceability 7. Execution time Based on these factors, a weightage is assigned to each test case and the test cases are prioritized according to the
  • 6. Another Approach for Test Case Prioritization Based on Requirements Kumar & Chauhan proposed a hierarchical test case prioritization approach, where prioritization is performed at three levels:  Prioritize the requirements on the basis of 12 factors by assigning a weightage to each requirement.  Map the prioritized requirements to their corresponding modules to get the prioritized modules.  Rank (prioritize) the test cases of the prioritized modules for execution.
  • 7. Prioritization of requirements  The process of prioritization of requirements is performed on the basis of 12 factors.  These factors are in accordance with every phase of SDLC.  All these factors have been assigned a priority value between 0 and 10.  These priority values are assigned by various stakeholders of the project.  Table in next slide shows these factors.
  • 8. Factors considered for requirement prioritization S.NO Factors Phase of SDLC Priority Value Assigned by 1 Requirement volatility Requirement analysis Customer 2 Customer assigned priority Requirement analysis Customer 3 Implementation complexity Design Developer 4 Fault proneness of requirements Design Developer 5 Developer assigned priority Requirement analysis Developer 6 Show stopper requirements Design Developer 7 Frequency of execution of requirements Requirement analysis Developer 8 Expected faults Coding Developer 9 Cost Requirement Analyst
  • 9. Requirement Prioritization Factor Value  For each requirement, based on these 12 factors, a Requirement Prioritization Factor Value (RPFV) is calculated using below Eq.  i represents the number of requirements, & j represents the number of factors  RPFV represents the prioritization factor value for a requirement which is the summation of the product of priority value of a factor and the project factor 1 ( ) n ij j j RPFV pfvalue Xpfweight   
  • 10. Requirement Prioritization Factor Value cont …  pfvalue is the value of factor for the ith requirement  pfweight is the factor weight for the jth factor for a particular project.  By using the previous Eq. the weight prioritization factor RPFV for every requirement can be calculated.  The table in next slide shows the prioritization of 4 sample requirements on the basis of RPFV for each requirement.
  • 11. Requirements prioritization Factor R1 R2 R3 R4 Weight factor Customer assigned priority 8 10 9 9 0.02 Developer assigned priority 8 9 9 8 0.08 Requirements volatility 3 0 0 2 0.1 Fault proneness 0 0 0 0 0.15 Expected faults 2 3 4 2 0.10 Implementation complexity 3 4 5 3 0.10 Execution frequency 5 10 9 6 0.05 Traceability 0 0 0 0 0.05 Show stopper requirements 0 9 6 0 0.2 Penalty 1 4 3 3 0.05 Time 3 6 5 4 0.05 Cost 4 7 6 6 0.05 RPFV 2.25 4.77 4.15 2.47 1.0
  • 12. Inference  In this table, R2 has the highest RPFV among all requirements.  So, the prioritization order of these requirements is R2, R3, R4, and R1.  The value of RPFV depends on the values of pfvalue and pfweight.
  • 13. Prioritization of modules  It is a process of mapping between prioritized requirements and their corresponding modules.  If there is more than one module then the modules are prioritized.  It uses criteria like Cyclometic complexity and non-dc path.
  • 14. Prioritization of modules cont …  Definition-clear path (dc-path): A dc-path with respect to a variable v is a path between the definition node and the usage node s.t. no other node in the path is a defining node of variable v. Non-dc paths are more error prone.  The test cases of higher priority modules are prioritized first and executed.  For each module, a module prioritize value (MPV) is calculated by adding cyclometic complexity and the number of non-dc paths.
  • 15. Example Factors M1 M2 M3 M4 Cyclomatic complexity 8 4 4 5 Non-dc path 7 5 6 3 MPV 15 9 10 8
  • 16. Example  The table shows the prioritization of 4 sample modules on the basis of MPV for each module.  The order of prioritization of modules on the basis of MPV is M1, M3, M2 and M4.
  • 17. Test case prioritization process  It is used to prioritize and schedule the test cases corresponding to prioritized modules.  Some weight factors are used for test case prioritization such as o test case complexity, o requirements coverage, o dependency of the test cases and o test impact.
  • 18. Test Case Complexity  It shows how difficult it is to execute a test case.  It also shows how much effort is required to execute the test case.  This factor is assigned a value between 1 and 10.
  • 19. Requirements Coverage  It shows how many requirements are covered by executing the test case.  This factor is scaled between 1 to 10.  A higher value shows maximum requirements are covered by the test case.  Higher the number of requirements coverage, higher is the priority of the test case to be executed first.
  • 20. Dependency  It shows the dependency of test cases on some pre-requisities.  It shows how many pre-requisites are required for each test case before execution of the test case.  This factor is assigned a value between 1 and 10.
  • 21. Test Impact  It is the most critical factor in test case prioritization.  It shows the impact of test case on a system if it is not executed.  This factor assesses importance of the test case.  This factor is assigned a value between 1 and 10.
  • 22. Test Case Weight Prioritization  TCWP is calculated as follows where,  TCWP = weight prioritization for each test case calculated from the four factors.  fvalue = value assigned to each test case.  fweight = weight assigned to each factor.
  • 23. Test Case Weight Prioritization cont …  After calculating the value of each test case, test cases are ordered by TCWP such that maximum TCWP gives a test case the highest priority and executed.  Suppose, a set of four test cases TC1,TC2,TC3, and TC4 are to be prioritized. For these test cases TCWP is calculated by using the above equation and are prioritized on the basis of values of TCWP.
  • 24. Example S. No. Factor TC1 TC2 TC3 TC4 Weight 1 Test impact 4 8 7 9 0.4 2 Test case complexity 8 7 5 9 0.3 3 Requirement coverage 6 2 4 4 0.2 4 Dependency 7 6 6 8 0.1 TCWP 5.90 6.30 5.70 7.90 1.0 So, the final prioritized order of test cases is TC4, TC2,
  • 25. Reference 1. Naresh Chauhan, Software Testing: Principles and Practices, Second Edition, (Chapter 12), Oxford Univerity Press, 2018.