SlideShare uma empresa Scribd logo
1 de 33
Agenda

•   Objectives
•   Background and Motivation
•   Existing Estimation Methods
•   Test Case Point Analysis
•   Effort Estimation Methods using TCP
•   Conclusion and Future Work




                                          2
Objectives

• Discuss importance of software estimation,
  especially for testing projects
• Discuss existing methods for estimating testing
  activities
• Introduce an approach to estimating testing
  projects
   – Test Case Point Analysis
   – Effort Estimation using TCP




                                                    3
Agenda

•   Objectives
•   Background and Motivation
•   Existing Estimation Methods
•   Test Case Point Analysis
•   Effort Estimation Methods using TCP
•   Conclusion and Future Work




                                          4
Software Estimation and Its Importance

• Software estimation
   – process of determining the cost, time, staff, and other related
     attributes of software projects, often before work is performed
• Estimation is important for the success or failure of software
  projects
• Provides inputs for
   –   Making investment decisions
   –   Budget and staff allocation
   –   Tradeoff and risk analysis
   –   Project planning
   –   Stakeholder negotiation
   –   etc.



                                                                       5
Popular Software Estimation Methods

• Sizing Methods
   – Source Lines of Code (SLOC)
   – Function Points Analysis
   – Use Case Points
• Effort Estimation Methods
   – Expert judgment/experience
   – Productivity index
   – COCOMO, SEER-SIM, SLIM models
• Software testing estimation methods
   – Using a test distribution percentage
   – Test Case Points Analysis (by Cognizant Technology Solutions) [2]
       • Mainly based on the number of steps




                                                                         6
Motivation

• Testing accounts for up to 50% of project effort [1]
• Current problems
   – estimates are done for the whole project rather than
     testing specific
   – lack of reliable methods designed for estimating size and
     effort of software testing
   – vague definitions of testing productivity
      • due to the lack of a size measure for software testing
• There are needs of
   – accurately estimating effort of testing activities
   – measuring size and productivity of testing activities
   – measuring effectiveness and efficiency of software
     testing
                                                                 7
Motivation (cont’d)

• Our aim to
  – Defining a method for estimating the size of testing
    activities
  – Defining methods to estimate testing effort, schedule,
    and staff accurately using this size measure
  – Using this size measure as a basis for measuring
     • productivity
     • effectiveness
     • other testing metrics




                                                             8
Agenda

•   Objectives
•   Background and Motivation
•   Existing Estimation Methods
•   Test Case Point Analysis
•   Effort Estimation Methods using TCP
•   Conclusion and Future Work




                                          9
Test Case Point Analysis

• Principles
   –   Size must reflect the mass and complexity of the testing project
   –   Size should correlate with testing effort
   –   Test case point is measured using test cases as main input
   –   Test case complexity is based on
        •   Checkpoints
        •   Precondition
        •   Test Data
        •   Type of test case




                                                                          10
Test Case Point Analysis (cont’d)

• Process overview

                                          Project
                                         Attributes




                             Test Case   Estimate     Estimated
Test Case     Test Case
                              Points      Testing       Effort
            Point Analysis
                                           Effort




                                                            11
Test Case Point Analysis (cont’d)

• TCPA estimates the size of testing projects using test
  cases as input
• Steps
   1. Measure test case complexity
      •   Count checkpoints
      •   Measure the complexity of precondition
      •   Measure the complexity of data
   2. Adjust Test Case Point by type of test
      •   Consider 11 types of test case
           o   Each type has a weight
           o   Adjust TCP using the weight
      •   Use functional test cases as baseline with the weight of 1.0



                                                                         12
Checkpoint

• Checkpoint
  – Is the condition in which the tester verifies whether the
    result produced by the target function matches the
    expected criterion
  – One test case consists of one or many checkpoints
• Counting rule 1

     One checkpoint is counted as one Test Case Point




                                                                13
Test Case Precondition

• Precondition
   – specifies the condition to execute the test case
   – mainly affects the cost to execute the test case
   – may be related to data prepared for the test case
• Four levels of complexity
   –   None
   –   Low
   –   Medium
   –   High




                                                         14
Test Case Precondition (cont’d)

• None
   – The precondition is not applicable or important to execute the test case
   – Or, the precondition is just reused from the previous test case to continue
     the current test case
• Low
   – The condition for executing the test case is available with some simple
     modifications required
   – Or, some simple set-up steps are needed
• Medium
   – Some explicit preparation is needed to execute the test case
   – The condition for executing is available with some additional modifications
     required
   – Or, some additional set-up steps are needed
• High
   – Heavy hardware and/or software configurations are needed to execute the
     test case

                                                                                   15
Test Case Precondition (cont’d)

• Counting rule 2A: Counting Unadjusted Test Case Points for
  Precondition:
    Each complexity level of precondition is assigned a
    number of Test Case Points




            Based on our survey of 18 senior QA engineers


                                                               16
Test Data

• Test Data
   – used to execute the test case
   – can be generated at the test case execution time, sourced from
     previous tests, or generated by test scripts
   – Test data is test case specific, or general to a group of test cases, or
     for the whole system
• Four levels of complexity
   –   None
   –   Low
   –   Medium
   –   High




                                                                                17
Test Data (cont’d)

• None
   – No test data preparation is needed
• Low
   – Simple test data is needed and can be created during the test case execution time
   – Or, the test case uses a slightly modified version of existing test data and requires little
     or no effort to modify the test data
• Medium
   – Test data is deliberately prepared in advance with extra effort to ensure its
     completeness, comprehensiveness, and consistency
• High
   – Test data is prepared in advance with considerable effort to ensure its completeness,
     comprehensiveness, and consistency
   – This could include using support tools to generate data and a database to store and
     manage test data
   – Scripts may be required to generate test data




                                                                                               18
Test Data (cont’d)

• Counting rule 2B: Counting Unadjusted Test Case Points for
  Test Data:
    Each complexity level of Test Data is assigned a
    number of Test Case Points




            Based on our survey of 18 senior QA engineers


                                                               19
Adjust Test Case Point

• Test Case Point counted till this point is considered
  Unadjusted Test Case Point (UTCP)
• UTCP is adjusted by considering types of test case
   – Each type of test case is assigned a weight
   – Adjusted Test Case Point (ATCP):
               n

       ATCP = ∑UTCPi * Wi
               i=1

       • UTCPi - the number of UTCP counted for the test case ith.
       • Wi - the weight of the test case ith, taking into account its test type




                                                                                   20
Weight by Type of Test




        Based on our survey of 18 senior QA engineers
                                                        21
Weight by Type of Test (cont’d)




                                  22
Test Case Point Analysis - Summary

• Process overview

              Count
            Checkpoints


             Determine
Test Case                  UTCP   Adjust with   TCP
            Precondition
                                   Test Type
             Complexity


            Determine
             Test Data
            Complexity




                                                  23
Agenda

•   Objectives
•   Background and Motivation
•   Existing Estimation Methods
•   Test Case Point Analysis
•   Effort Estimation Methods using TCP
•   Conclusion and Future Work




                                          24
Estimate Testing Effort

• Estimate testing effort using TCP
• Test effort distribution, four phases
   –   Test Planning
   –   Test Analysis and Design      Each of these phases may be
                                     performed multiple times
   –   Test Execution
   –   Test Tracking and Reporting
• Effort estimation methods
   – Productivity index
   – Regression




                                                                   25
Estimate Testing Effort (cont’d)

• When estimating TCP, assume that each phase is
  performed ONCE
• Effort is estimated dependent on how many times a
  phase is performed




                                                  26
Productivity Index

• Effort is computed using productivity index of
  completed project
• Productivity index is measured as person-month per
  TCP

  Effort = TCP * Productivity Index

          Simple method




                                                   27
Regression

• Estimate effort of new projects using size and effort
  of completed projects
                   100


                       90
                                                                                                Regression
                       80
                                                                                                formula
                       70
                                                      y = 0.072x + 1.640
         Effort (PM)




                       60


                       50


                       40


                       30


                       20


                       10


                       0
                            0   100   200   300      400   500   600   700   800   900   1000
                                                  Adjusted TCP


                                                                                                        28
Tools Support by QASymphony [3]

       • qTest – Quality Management Suite
          –   Manage requirements and test cases
          –   Plan testing activities and resources
          –   Monitor and control testing activities
          –   Perform measurement, analysis, and reporting
               • Test case point analysis
               • Effort estimation
       • qTrace – defect and scenario recording tool
          – Record defect
          – Record user scenarios



                                                         29
Conclusion and Future Work

• It is important to estimate size and effort of testing
  projects
• Test Case Point Analysis (TCPA) was proposed to
  estimate size. Elements include
   –   Checkpoints
   –   Precondition
   –   Test Data
   –   Test Type
• Simple two methods for estimating effort were
  introduced
   – Productivity index
   – Regression

                                                           30
Conclusion and Future Work

• Advantages of TCPA
  – Easy to implement
  – Reflecting real complexity of test cases
  – Independent with the number of steps
• Limitations and future work
  –   Need empirical validations
  –   Recalibrate constants used in the method
  –   Support only manual testing
  –   Lack of support for performance testing




                                                 31
Thank You
References

•   [1] Y. Yang, Q. Li, M. Li, Q. Wang, An empirical analysis on distribution patterns of software
    maintenance effort, International Conference on Software Maintenance, 2008, pp. 456-459
•   [2] N. Patel, M. Govindrajan, S. Maharana, S. Ramdas, “Test Case Point Analysis”, Cognizant
    Technology Solutions, White Paper, 2001
•   [3] QASymphony: www.qasymphony.com

Mais conteúdo relacionado

Mais procurados

Manual Testing Interview Questions | Edureka
Manual Testing Interview Questions | EdurekaManual Testing Interview Questions | Edureka
Manual Testing Interview Questions | EdurekaEdureka!
 
Testing Centre of Excellence Model 2016
Testing Centre of Excellence Model 2016Testing Centre of Excellence Model 2016
Testing Centre of Excellence Model 2016Tony Barber
 
Software Testing Services
Software Testing ServicesSoftware Testing Services
Software Testing ServicesFuad Mak
 
Test Automation Strategy
Test Automation StrategyTest Automation Strategy
Test Automation StrategyMartin Ruddy
 
SQiP2016発表資料_プロセス改善の黒歴史(slideshare共有版)
SQiP2016発表資料_プロセス改善の黒歴史(slideshare共有版)SQiP2016発表資料_プロセス改善の黒歴史(slideshare共有版)
SQiP2016発表資料_プロセス改善の黒歴史(slideshare共有版)Adachi Kenji
 
Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8a34sharm
 
Software Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s GuideSoftware Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s GuideSyed Hassan Raza
 
Agile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterDeclan Whelan
 
Finding Success with Test Process Improvement
Finding Success with Test Process ImprovementFinding Success with Test Process Improvement
Finding Success with Test Process ImprovementJosiah Renaudin
 
Agile QA presentation
Agile QA presentationAgile QA presentation
Agile QA presentationCarl Bruiners
 
User Acceptance Testing in the Testing Center of Excellence
User Acceptance Testing in the Testing Center of ExcellenceUser Acceptance Testing in the Testing Center of Excellence
User Acceptance Testing in the Testing Center of ExcellenceTechWell
 
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFLINTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFLRahul R Pandya
 
テスト自動化とアーキテクチャ
テスト自動化とアーキテクチャテスト自動化とアーキテクチャ
テスト自動化とアーキテクチャToru Koido
 
Software testing
Software testingSoftware testing
Software testingmkn3009
 
Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”Postman
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessLee Barnes
 
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Scrum gathering Paris 2013 -  test automation strategy for Scrum ProjectsScrum gathering Paris 2013 -  test automation strategy for Scrum Projects
Scrum gathering Paris 2013 - test automation strategy for Scrum ProjectsEliane Collins
 

Mais procurados (20)

Manual Testing Interview Questions | Edureka
Manual Testing Interview Questions | EdurekaManual Testing Interview Questions | Edureka
Manual Testing Interview Questions | Edureka
 
Testing Centre of Excellence Model 2016
Testing Centre of Excellence Model 2016Testing Centre of Excellence Model 2016
Testing Centre of Excellence Model 2016
 
stlc
stlcstlc
stlc
 
Software Testing Services
Software Testing ServicesSoftware Testing Services
Software Testing Services
 
Testing in Agile Development
Testing in Agile DevelopmentTesting in Agile Development
Testing in Agile Development
 
Test Automation Strategy
Test Automation StrategyTest Automation Strategy
Test Automation Strategy
 
SQiP2016発表資料_プロセス改善の黒歴史(slideshare共有版)
SQiP2016発表資料_プロセス改善の黒歴史(slideshare共有版)SQiP2016発表資料_プロセス改善の黒歴史(slideshare共有版)
SQiP2016発表資料_プロセス改善の黒歴史(slideshare共有版)
 
Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8
 
Software Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s GuideSoftware Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s Guide
 
Agile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile Tester
 
Finding Success with Test Process Improvement
Finding Success with Test Process ImprovementFinding Success with Test Process Improvement
Finding Success with Test Process Improvement
 
Agile QA presentation
Agile QA presentationAgile QA presentation
Agile QA presentation
 
TMMi Implementation Guideline
TMMi Implementation GuidelineTMMi Implementation Guideline
TMMi Implementation Guideline
 
User Acceptance Testing in the Testing Center of Excellence
User Acceptance Testing in the Testing Center of ExcellenceUser Acceptance Testing in the Testing Center of Excellence
User Acceptance Testing in the Testing Center of Excellence
 
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFLINTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
 
テスト自動化とアーキテクチャ
テスト自動化とアーキテクチャテスト自動化とアーキテクチャ
テスト自動化とアーキテクチャ
 
Software testing
Software testingSoftware testing
Software testing
 
Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
 
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Scrum gathering Paris 2013 -  test automation strategy for Scrum ProjectsScrum gathering Paris 2013 -  test automation strategy for Scrum Projects
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
 

Destaque

Test effort estimation
Test effort estimationTest effort estimation
Test effort estimationramesh kumar
 
Test Estimation Techniques
Test Estimation TechniquesTest Estimation Techniques
Test Estimation TechniquesNishant Worah
 
Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)KMS Technology
 
Team Foundation Server 2010
Team Foundation Server 2010Team Foundation Server 2010
Team Foundation Server 2010Enterprisecoding
 
Software Estimation Technique
Software Estimation TechniqueSoftware Estimation Technique
Software Estimation TechniqueGeorge Ukkuru
 
Software estimation
Software estimationSoftware estimation
Software estimationMd Shakir
 
Introduction to Unit Testing with PHPUnit
Introduction to Unit Testing with PHPUnitIntroduction to Unit Testing with PHPUnit
Introduction to Unit Testing with PHPUnitMichelangelo van Dam
 
Estimation techniques and software metrics
Estimation techniques and software metricsEstimation techniques and software metrics
Estimation techniques and software metricsMae Abigail Banquil
 
Test Life Cycle - Manual Testing Concept.
Test Life Cycle - Manual Testing Concept.Test Life Cycle - Manual Testing Concept.
Test Life Cycle - Manual Testing Concept.guestf9bc
 
01 software test engineering (manual testing)
01 software test engineering (manual testing)01 software test engineering (manual testing)
01 software test engineering (manual testing)Siddireddy Balu
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual TestingDirecti Group
 
Software Estimation Techniques
Software Estimation TechniquesSoftware Estimation Techniques
Software Estimation Techniqueskamal
 
Software estimation techniques
Software estimation techniquesSoftware estimation techniques
Software estimation techniquesTan Tran
 
Software cost estimation
Software cost estimationSoftware cost estimation
Software cost estimationdjview
 

Destaque (18)

Test effort estimation
Test effort estimationTest effort estimation
Test effort estimation
 
Test Estimation Techniques
Test Estimation TechniquesTest Estimation Techniques
Test Estimation Techniques
 
Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)Test case-point-analysis (whitepaper)
Test case-point-analysis (whitepaper)
 
Test Complete
Test CompleteTest Complete
Test Complete
 
Test studio
Test studioTest studio
Test studio
 
Team Foundation Server 2010
Team Foundation Server 2010Team Foundation Server 2010
Team Foundation Server 2010
 
Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
 
Best software testing course
Best software testing courseBest software testing course
Best software testing course
 
Software Estimation Technique
Software Estimation TechniqueSoftware Estimation Technique
Software Estimation Technique
 
Software estimation
Software estimationSoftware estimation
Software estimation
 
Introduction to Unit Testing with PHPUnit
Introduction to Unit Testing with PHPUnitIntroduction to Unit Testing with PHPUnit
Introduction to Unit Testing with PHPUnit
 
Estimation techniques and software metrics
Estimation techniques and software metricsEstimation techniques and software metrics
Estimation techniques and software metrics
 
Test Life Cycle - Manual Testing Concept.
Test Life Cycle - Manual Testing Concept.Test Life Cycle - Manual Testing Concept.
Test Life Cycle - Manual Testing Concept.
 
01 software test engineering (manual testing)
01 software test engineering (manual testing)01 software test engineering (manual testing)
01 software test engineering (manual testing)
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
Software Estimation Techniques
Software Estimation TechniquesSoftware Estimation Techniques
Software Estimation Techniques
 
Software estimation techniques
Software estimation techniquesSoftware estimation techniques
Software estimation techniques
 
Software cost estimation
Software cost estimationSoftware cost estimation
Software cost estimation
 

Semelhante a Test Case Point Analysis

Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...RIA RUI Society
 
An Approach to estimate Software Testing
An Approach to estimate Software TestingAn Approach to estimate Software Testing
An Approach to estimate Software TestingAgile Vietnam
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfFarjanaParvin5
 
ISTQB CTAL - Test Analyst
ISTQB CTAL - Test AnalystISTQB CTAL - Test Analyst
ISTQB CTAL - Test AnalystSamer Desouky
 
Mt s11 test_design
Mt s11 test_designMt s11 test_design
Mt s11 test_designTestingGeeks
 
Ch1 preliminaries
Ch1 preliminariesCh1 preliminaries
Ch1 preliminariesRonak Patel
 
Risk based testing and random testing
Risk based testing and random testingRisk based testing and random testing
Risk based testing and random testingHimanshu
 
Multiple Dimensions of Load Testing
Multiple Dimensions of Load TestingMultiple Dimensions of Load Testing
Multiple Dimensions of Load TestingAlexander Podelko
 
Loadtesting wuc2009v2
Loadtesting wuc2009v2Loadtesting wuc2009v2
Loadtesting wuc2009v2ravneetraman
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designMaitree Patel
 
Test Management.pptx
Test Management.pptxTest Management.pptx
Test Management.pptxMAshok10
 
Mining Performance Regression Testing Repositories for Automated Performance ...
Mining Performance Regression Testing Repositories for Automated Performance ...Mining Performance Regression Testing Repositories for Automated Performance ...
Mining Performance Regression Testing Repositories for Automated Performance ...SAIL_QU
 
Software Project Management lecture 10
Software Project Management lecture 10Software Project Management lecture 10
Software Project Management lecture 10Syed Muhammad Hammad
 
QA Meetup at Signavio (Berlin, 06.06.19)
QA Meetup at Signavio (Berlin, 06.06.19)QA Meetup at Signavio (Berlin, 06.06.19)
QA Meetup at Signavio (Berlin, 06.06.19)Anesthezia
 
Context-Driven Performance Testing
Context-Driven Performance TestingContext-Driven Performance Testing
Context-Driven Performance TestingAlexander Podelko
 
20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptx20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptxMinh Nguyen
 
Software quality assurance industry best practices
Software quality assurance industry best practices Software quality assurance industry best practices
Software quality assurance industry best practices Nadun De Silva
 

Semelhante a Test Case Point Analysis (20)

Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
 
An Approach to estimate Software Testing
An Approach to estimate Software TestingAn Approach to estimate Software Testing
An Approach to estimate Software Testing
 
[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
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdf
 
ISTQB CTAL - Test Analyst
ISTQB CTAL - Test AnalystISTQB CTAL - Test Analyst
ISTQB CTAL - Test Analyst
 
Mt s11 test_design
Mt s11 test_designMt s11 test_design
Mt s11 test_design
 
Unit 6
Unit 6Unit 6
Unit 6
 
Ch1 preliminaries
Ch1 preliminariesCh1 preliminaries
Ch1 preliminaries
 
Risk based testing and random testing
Risk based testing and random testingRisk based testing and random testing
Risk based testing and random testing
 
Multiple Dimensions of Load Testing
Multiple Dimensions of Load TestingMultiple Dimensions of Load Testing
Multiple Dimensions of Load Testing
 
Loadtesting wuc2009v2
Loadtesting wuc2009v2Loadtesting wuc2009v2
Loadtesting wuc2009v2
 
UNIT IV.ppt
UNIT IV.pptUNIT IV.ppt
UNIT IV.ppt
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit design
 
Test Management.pptx
Test Management.pptxTest Management.pptx
Test Management.pptx
 
Mining Performance Regression Testing Repositories for Automated Performance ...
Mining Performance Regression Testing Repositories for Automated Performance ...Mining Performance Regression Testing Repositories for Automated Performance ...
Mining Performance Regression Testing Repositories for Automated Performance ...
 
Software Project Management lecture 10
Software Project Management lecture 10Software Project Management lecture 10
Software Project Management lecture 10
 
QA Meetup at Signavio (Berlin, 06.06.19)
QA Meetup at Signavio (Berlin, 06.06.19)QA Meetup at Signavio (Berlin, 06.06.19)
QA Meetup at Signavio (Berlin, 06.06.19)
 
Context-Driven Performance Testing
Context-Driven Performance TestingContext-Driven Performance Testing
Context-Driven Performance Testing
 
20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptx20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptx
 
Software quality assurance industry best practices
Software quality assurance industry best practices Software quality assurance industry best practices
Software quality assurance industry best practices
 

Último

John deere 425 445 455 Maitenance Manual
John deere 425 445 455 Maitenance ManualJohn deere 425 445 455 Maitenance Manual
John deere 425 445 455 Maitenance ManualExcavator
 
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...Delhi Call girls
 
How To Troubleshoot Mercedes Blind Spot Assist Inoperative Error
How To Troubleshoot Mercedes Blind Spot Assist Inoperative ErrorHow To Troubleshoot Mercedes Blind Spot Assist Inoperative Error
How To Troubleshoot Mercedes Blind Spot Assist Inoperative ErrorAndres Auto Service
 
Business Bay Escorts $#$ O56521286O $#$ Escort Service In Business Bay Dubai
Business Bay Escorts $#$ O56521286O $#$ Escort Service In Business Bay DubaiBusiness Bay Escorts $#$ O56521286O $#$ Escort Service In Business Bay Dubai
Business Bay Escorts $#$ O56521286O $#$ Escort Service In Business Bay DubaiAroojKhan71
 
Top Rated Call Girls Mumbai Central : 9920725232 We offer Beautiful and sexy ...
Top Rated Call Girls Mumbai Central : 9920725232 We offer Beautiful and sexy ...Top Rated Call Girls Mumbai Central : 9920725232 We offer Beautiful and sexy ...
Top Rated Call Girls Mumbai Central : 9920725232 We offer Beautiful and sexy ...amitlee9823
 
Greenery-Palette Pitch Deck by Slidesgo.pptx
Greenery-Palette Pitch Deck by Slidesgo.pptxGreenery-Palette Pitch Deck by Slidesgo.pptx
Greenery-Palette Pitch Deck by Slidesgo.pptxzohiiimughal286
 
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...amitlee9823
 
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国ezgenuh
 
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdf
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdfJohn Deere 7430 7530 Tractors Diagnostic Service Manual W.pdf
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdfExcavator
 
Call Girls In Kotla Mubarakpur Delhi ❤️8448577510 ⊹Best Escorts Service In 24...
Call Girls In Kotla Mubarakpur Delhi ❤️8448577510 ⊹Best Escorts Service In 24...Call Girls In Kotla Mubarakpur Delhi ❤️8448577510 ⊹Best Escorts Service In 24...
Call Girls In Kotla Mubarakpur Delhi ❤️8448577510 ⊹Best Escorts Service In 24...lizamodels9
 
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...nirzagarg
 
Vip Mumbai Call Girls Mumbai Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Mumbai Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Mumbai Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Mumbai Call On 9920725232 With Body to body massage wit...amitlee9823
 
Lucknow 💋 (Genuine) Escort Service Lucknow | Service-oriented sexy call girls...
Lucknow 💋 (Genuine) Escort Service Lucknow | Service-oriented sexy call girls...Lucknow 💋 (Genuine) Escort Service Lucknow | Service-oriented sexy call girls...
Lucknow 💋 (Genuine) Escort Service Lucknow | Service-oriented sexy call girls...anilsa9823
 
ENJOY Call Girls In Okhla Vihar Delhi Call 9654467111
ENJOY Call Girls In Okhla Vihar Delhi Call 9654467111ENJOY Call Girls In Okhla Vihar Delhi Call 9654467111
ENJOY Call Girls In Okhla Vihar Delhi Call 9654467111Sapana Sha
 
John Deere Tractors 6130M 6140M Diagnostic Manual
John Deere Tractors  6130M 6140M Diagnostic ManualJohn Deere Tractors  6130M 6140M Diagnostic Manual
John Deere Tractors 6130M 6140M Diagnostic ManualExcavator
 
如何办理女王大学毕业证(QU毕业证书)成绩单原版一比一
如何办理女王大学毕业证(QU毕业证书)成绩单原版一比一如何办理女王大学毕业证(QU毕业证书)成绩单原版一比一
如何办理女王大学毕业证(QU毕业证书)成绩单原版一比一opyff
 
Why Won't Your Subaru Key Come Out Of The Ignition Find Out Here!
Why Won't Your Subaru Key Come Out Of The Ignition Find Out Here!Why Won't Your Subaru Key Come Out Of The Ignition Find Out Here!
Why Won't Your Subaru Key Come Out Of The Ignition Find Out Here!AutoScandia
 
Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 

Último (20)

John deere 425 445 455 Maitenance Manual
John deere 425 445 455 Maitenance ManualJohn deere 425 445 455 Maitenance Manual
John deere 425 445 455 Maitenance Manual
 
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...
 
(INDIRA) Call Girl Nashik Call Now 8617697112 Nashik Escorts 24x7
(INDIRA) Call Girl Nashik Call Now 8617697112 Nashik Escorts 24x7(INDIRA) Call Girl Nashik Call Now 8617697112 Nashik Escorts 24x7
(INDIRA) Call Girl Nashik Call Now 8617697112 Nashik Escorts 24x7
 
How To Troubleshoot Mercedes Blind Spot Assist Inoperative Error
How To Troubleshoot Mercedes Blind Spot Assist Inoperative ErrorHow To Troubleshoot Mercedes Blind Spot Assist Inoperative Error
How To Troubleshoot Mercedes Blind Spot Assist Inoperative Error
 
Business Bay Escorts $#$ O56521286O $#$ Escort Service In Business Bay Dubai
Business Bay Escorts $#$ O56521286O $#$ Escort Service In Business Bay DubaiBusiness Bay Escorts $#$ O56521286O $#$ Escort Service In Business Bay Dubai
Business Bay Escorts $#$ O56521286O $#$ Escort Service In Business Bay Dubai
 
Top Rated Call Girls Mumbai Central : 9920725232 We offer Beautiful and sexy ...
Top Rated Call Girls Mumbai Central : 9920725232 We offer Beautiful and sexy ...Top Rated Call Girls Mumbai Central : 9920725232 We offer Beautiful and sexy ...
Top Rated Call Girls Mumbai Central : 9920725232 We offer Beautiful and sexy ...
 
Greenery-Palette Pitch Deck by Slidesgo.pptx
Greenery-Palette Pitch Deck by Slidesgo.pptxGreenery-Palette Pitch Deck by Slidesgo.pptx
Greenery-Palette Pitch Deck by Slidesgo.pptx
 
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...
 
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国
 
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdf
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdfJohn Deere 7430 7530 Tractors Diagnostic Service Manual W.pdf
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdf
 
Call Girls In Kotla Mubarakpur Delhi ❤️8448577510 ⊹Best Escorts Service In 24...
Call Girls In Kotla Mubarakpur Delhi ❤️8448577510 ⊹Best Escorts Service In 24...Call Girls In Kotla Mubarakpur Delhi ❤️8448577510 ⊹Best Escorts Service In 24...
Call Girls In Kotla Mubarakpur Delhi ❤️8448577510 ⊹Best Escorts Service In 24...
 
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
 
Vip Mumbai Call Girls Mumbai Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Mumbai Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Mumbai Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Mumbai Call On 9920725232 With Body to body massage wit...
 
Lucknow 💋 (Genuine) Escort Service Lucknow | Service-oriented sexy call girls...
Lucknow 💋 (Genuine) Escort Service Lucknow | Service-oriented sexy call girls...Lucknow 💋 (Genuine) Escort Service Lucknow | Service-oriented sexy call girls...
Lucknow 💋 (Genuine) Escort Service Lucknow | Service-oriented sexy call girls...
 
ENJOY Call Girls In Okhla Vihar Delhi Call 9654467111
ENJOY Call Girls In Okhla Vihar Delhi Call 9654467111ENJOY Call Girls In Okhla Vihar Delhi Call 9654467111
ENJOY Call Girls In Okhla Vihar Delhi Call 9654467111
 
John Deere Tractors 6130M 6140M Diagnostic Manual
John Deere Tractors  6130M 6140M Diagnostic ManualJohn Deere Tractors  6130M 6140M Diagnostic Manual
John Deere Tractors 6130M 6140M Diagnostic Manual
 
如何办理女王大学毕业证(QU毕业证书)成绩单原版一比一
如何办理女王大学毕业证(QU毕业证书)成绩单原版一比一如何办理女王大学毕业证(QU毕业证书)成绩单原版一比一
如何办理女王大学毕业证(QU毕业证书)成绩单原版一比一
 
Why Won't Your Subaru Key Come Out Of The Ignition Find Out Here!
Why Won't Your Subaru Key Come Out Of The Ignition Find Out Here!Why Won't Your Subaru Key Come Out Of The Ignition Find Out Here!
Why Won't Your Subaru Key Come Out Of The Ignition Find Out Here!
 
(ISHITA) Call Girls Service Jammu Call Now 8617697112 Jammu Escorts 24x7
(ISHITA) Call Girls Service Jammu Call Now 8617697112 Jammu Escorts 24x7(ISHITA) Call Girls Service Jammu Call Now 8617697112 Jammu Escorts 24x7
(ISHITA) Call Girls Service Jammu Call Now 8617697112 Jammu Escorts 24x7
 
Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 

Test Case Point Analysis

  • 1.
  • 2. Agenda • Objectives • Background and Motivation • Existing Estimation Methods • Test Case Point Analysis • Effort Estimation Methods using TCP • Conclusion and Future Work 2
  • 3. Objectives • Discuss importance of software estimation, especially for testing projects • Discuss existing methods for estimating testing activities • Introduce an approach to estimating testing projects – Test Case Point Analysis – Effort Estimation using TCP 3
  • 4. Agenda • Objectives • Background and Motivation • Existing Estimation Methods • Test Case Point Analysis • Effort Estimation Methods using TCP • Conclusion and Future Work 4
  • 5. Software Estimation and Its Importance • Software estimation – process of determining the cost, time, staff, and other related attributes of software projects, often before work is performed • Estimation is important for the success or failure of software projects • Provides inputs for – Making investment decisions – Budget and staff allocation – Tradeoff and risk analysis – Project planning – Stakeholder negotiation – etc. 5
  • 6. Popular Software Estimation Methods • Sizing Methods – Source Lines of Code (SLOC) – Function Points Analysis – Use Case Points • Effort Estimation Methods – Expert judgment/experience – Productivity index – COCOMO, SEER-SIM, SLIM models • Software testing estimation methods – Using a test distribution percentage – Test Case Points Analysis (by Cognizant Technology Solutions) [2] • Mainly based on the number of steps 6
  • 7. Motivation • Testing accounts for up to 50% of project effort [1] • Current problems – estimates are done for the whole project rather than testing specific – lack of reliable methods designed for estimating size and effort of software testing – vague definitions of testing productivity • due to the lack of a size measure for software testing • There are needs of – accurately estimating effort of testing activities – measuring size and productivity of testing activities – measuring effectiveness and efficiency of software testing 7
  • 8. Motivation (cont’d) • Our aim to – Defining a method for estimating the size of testing activities – Defining methods to estimate testing effort, schedule, and staff accurately using this size measure – Using this size measure as a basis for measuring • productivity • effectiveness • other testing metrics 8
  • 9. Agenda • Objectives • Background and Motivation • Existing Estimation Methods • Test Case Point Analysis • Effort Estimation Methods using TCP • Conclusion and Future Work 9
  • 10. Test Case Point Analysis • Principles – Size must reflect the mass and complexity of the testing project – Size should correlate with testing effort – Test case point is measured using test cases as main input – Test case complexity is based on • Checkpoints • Precondition • Test Data • Type of test case 10
  • 11. Test Case Point Analysis (cont’d) • Process overview Project Attributes Test Case Estimate Estimated Test Case Test Case Points Testing Effort Point Analysis Effort 11
  • 12. Test Case Point Analysis (cont’d) • TCPA estimates the size of testing projects using test cases as input • Steps 1. Measure test case complexity • Count checkpoints • Measure the complexity of precondition • Measure the complexity of data 2. Adjust Test Case Point by type of test • Consider 11 types of test case o Each type has a weight o Adjust TCP using the weight • Use functional test cases as baseline with the weight of 1.0 12
  • 13. Checkpoint • Checkpoint – Is the condition in which the tester verifies whether the result produced by the target function matches the expected criterion – One test case consists of one or many checkpoints • Counting rule 1 One checkpoint is counted as one Test Case Point 13
  • 14. Test Case Precondition • Precondition – specifies the condition to execute the test case – mainly affects the cost to execute the test case – may be related to data prepared for the test case • Four levels of complexity – None – Low – Medium – High 14
  • 15. Test Case Precondition (cont’d) • None – The precondition is not applicable or important to execute the test case – Or, the precondition is just reused from the previous test case to continue the current test case • Low – The condition for executing the test case is available with some simple modifications required – Or, some simple set-up steps are needed • Medium – Some explicit preparation is needed to execute the test case – The condition for executing is available with some additional modifications required – Or, some additional set-up steps are needed • High – Heavy hardware and/or software configurations are needed to execute the test case 15
  • 16. Test Case Precondition (cont’d) • Counting rule 2A: Counting Unadjusted Test Case Points for Precondition: Each complexity level of precondition is assigned a number of Test Case Points Based on our survey of 18 senior QA engineers 16
  • 17. Test Data • Test Data – used to execute the test case – can be generated at the test case execution time, sourced from previous tests, or generated by test scripts – Test data is test case specific, or general to a group of test cases, or for the whole system • Four levels of complexity – None – Low – Medium – High 17
  • 18. Test Data (cont’d) • None – No test data preparation is needed • Low – Simple test data is needed and can be created during the test case execution time – Or, the test case uses a slightly modified version of existing test data and requires little or no effort to modify the test data • Medium – Test data is deliberately prepared in advance with extra effort to ensure its completeness, comprehensiveness, and consistency • High – Test data is prepared in advance with considerable effort to ensure its completeness, comprehensiveness, and consistency – This could include using support tools to generate data and a database to store and manage test data – Scripts may be required to generate test data 18
  • 19. Test Data (cont’d) • Counting rule 2B: Counting Unadjusted Test Case Points for Test Data: Each complexity level of Test Data is assigned a number of Test Case Points Based on our survey of 18 senior QA engineers 19
  • 20. Adjust Test Case Point • Test Case Point counted till this point is considered Unadjusted Test Case Point (UTCP) • UTCP is adjusted by considering types of test case – Each type of test case is assigned a weight – Adjusted Test Case Point (ATCP): n ATCP = ∑UTCPi * Wi i=1 • UTCPi - the number of UTCP counted for the test case ith. • Wi - the weight of the test case ith, taking into account its test type 20
  • 21. Weight by Type of Test Based on our survey of 18 senior QA engineers 21
  • 22. Weight by Type of Test (cont’d) 22
  • 23. Test Case Point Analysis - Summary • Process overview Count Checkpoints Determine Test Case UTCP Adjust with TCP Precondition Test Type Complexity Determine Test Data Complexity 23
  • 24. Agenda • Objectives • Background and Motivation • Existing Estimation Methods • Test Case Point Analysis • Effort Estimation Methods using TCP • Conclusion and Future Work 24
  • 25. Estimate Testing Effort • Estimate testing effort using TCP • Test effort distribution, four phases – Test Planning – Test Analysis and Design Each of these phases may be performed multiple times – Test Execution – Test Tracking and Reporting • Effort estimation methods – Productivity index – Regression 25
  • 26. Estimate Testing Effort (cont’d) • When estimating TCP, assume that each phase is performed ONCE • Effort is estimated dependent on how many times a phase is performed 26
  • 27. Productivity Index • Effort is computed using productivity index of completed project • Productivity index is measured as person-month per TCP Effort = TCP * Productivity Index Simple method 27
  • 28. Regression • Estimate effort of new projects using size and effort of completed projects 100 90 Regression 80 formula 70 y = 0.072x + 1.640 Effort (PM) 60 50 40 30 20 10 0 0 100 200 300 400 500 600 700 800 900 1000 Adjusted TCP 28
  • 29. Tools Support by QASymphony [3] • qTest – Quality Management Suite – Manage requirements and test cases – Plan testing activities and resources – Monitor and control testing activities – Perform measurement, analysis, and reporting • Test case point analysis • Effort estimation • qTrace – defect and scenario recording tool – Record defect – Record user scenarios 29
  • 30. Conclusion and Future Work • It is important to estimate size and effort of testing projects • Test Case Point Analysis (TCPA) was proposed to estimate size. Elements include – Checkpoints – Precondition – Test Data – Test Type • Simple two methods for estimating effort were introduced – Productivity index – Regression 30
  • 31. Conclusion and Future Work • Advantages of TCPA – Easy to implement – Reflecting real complexity of test cases – Independent with the number of steps • Limitations and future work – Need empirical validations – Recalibrate constants used in the method – Support only manual testing – Lack of support for performance testing 31
  • 33. References • [1] Y. Yang, Q. Li, M. Li, Q. Wang, An empirical analysis on distribution patterns of software maintenance effort, International Conference on Software Maintenance, 2008, pp. 456-459 • [2] N. Patel, M. Govindrajan, S. Maharana, S. Ramdas, “Test Case Point Analysis”, Cognizant Technology Solutions, White Paper, 2001 • [3] QASymphony: www.qasymphony.com