SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Software Testing Strategy




 What kind of testing approach we should take to apply
                      the already developed test cases ?




13 January 2012   Made By Utpal Ray                        1
Software Testing Strategy

  Strategic Approach
    It is about applying designed test cases strategically to uncover
    more number of errors in a shorter span of time.
    Deciding a suitable test strategy calls for a suitable test plan and a
    test procedure document.
    Testing should begin at the component level ( unit level ) and move
    ‘outward’ towards integration of the entire computer based system.
    Different testing techniques are required at different point of
    testing span.
    Testing should be performed by an Independent Test Group, who
    did not contribute towards the design and development of the
    software.
    Any testing strategy must incorporate test planning, test case
    design, test execution, test result collection, test result evaluation
    etc.


13 January 2012     Made By Utpal Ray                                        2
Software Testing Strategy

  A typical Software Test Strategy
    Considering the fact that testing is a big task, the entire
    testing cycle can be divided into four different phase where
    different test strategy is employed in different phase; also,
    different test techniques are used in different phase.
    The test target and the test focus also changes along this
    four different phases of testing cycles.
    The most interesting part is how error finding rate changes
    as testing progresses along this four different phases and so
    as the cost associated with fixing all those errors.
    It is to be noted that test strategy for a newly developed
    software ( which was developed from scratch ) will be
    different than the test strategy for a moderately modified
    software.



13 January 2012    Made By Utpal Ray                                3
Software Testing Strategy


       A typical Software Test Strategy for a newly developed software


                  Test Phase   Early Phase          Integration      Validation        Final Phase
                               ( Phase – I )           Phase           Phase           ( Phase – IV )
         Scenario                                   ( Phase – II )   ( Phase – III )

          Test                 Unit                 Integration      Validation        System
          Strategy             Testing              Testing          Testing           Testing

          Test                 Mainly White         White Box        Black Box         Black Box
          Technique            Box                  And Black        Testing           Testing
                               Testing              Box Testing
          Test                 Individual           A group of       The Whole         The entire
          Target               Module               Closely          Software          s/w in the
                                                    related                            operational
                                                    Module                             environment


13 January 2012                          Made By Utpal Ray                                              4
Software Testing Strategy

        A typical Software Test Strategy for a newly developed software
          ( Contd. )
                  Test Phase   Early Phase Integration      Validation      Final Phase
            Scenario           ( Phase – I )    Phase         Phase         ( Phase–IV )
                                             ( Phase – II ) ( Phase-III )
            Testing            Coding          Design and     Functional  The s/w along
            Focus                              the s/w        Requirement with the other
                                               architecture   and other   system elements
                                                              requirement




            Error Finding
            Rate



13 January 2012                      Made By Utpal Ray                                      5
Software Testing Strategy


       A typical Software Test Strategy for a newly developed software             (
         Contd. )
             Test Phase Early Phase     Integration      Validation      Final Phase
      Scenario          ( Phase – I )      Phase           Phase         ( Phase–IV )
                                        ( Phase – II )   ( Phase-III )




       Difficulty and
       cost of fixing
       those errors

       The
       responsible
       persons for      Individual      Project Team     The whole       The whole
       the errors                                        Department      Organization


13 January 2012                  Made By Utpal Ray                                      6
Software Testing Strategy


  Unit Testing
         It is done on the individual module level.
         Component level design is used as a guide.
         It is important to fix the scope of the unit testing.
         The module interface needs to be examined and tested.
         The boundary conditions need to be examined ( some sort of
         black box testing ).
         The basis path testing ( white box testing ) need to be
         performed.
         The error conditions, the error handlings and the error
         messages – all these criteria need to be tested.



13 January 2012     Made By Utpal Ray                                 7
Software Testing Strategy


  Unit Testing ( contd. )
 If it is necessary driver and suitable stubs need to be
    developed and integrated with the modules ( illustrated
    below ).
                                              DRIVER

             Test Cases                                             Test Results



                                              Module To be
                                                Tested



                                 STUB                        STUB


13 January 2012           Made By Utpal Ray                                        8
Software Testing Strategy

   Integration Testing
     This is the testing phase after unit testing. This phase
     deals with the combination of different modules.
     Unless each of the module is unit tested
     satisfactorily, one cannot enter this testing phase.
     The best approach for integration testing is the
     incremental integration; where modules are added one
     after another. Integration testing is performed every
     time after each of the module is added. This process of
     testing is good enough to find out which module is
     causing the error.
     There are two distinct methods of incremental
     integration – Top-Down integration and Bottom-Up
     integration.


13 January 2012   Made By Utpal Ray                         9
Software Testing Strategy


  Top-Down Integration
    Modules are added by moving downward through the
    control hierarchy, beginning with the main control
    module ( top most executive module ) first.
    The subordinate modules ( to the main module ) can
    be added either in a breadth-first manner or in a
    depth-first manner.
    For the Top-Down integration, you may need stub to
    effectively test the effect of module addition.




13 January 2012   Made By Utpal Ray                      10
Software Testing Strategy


  Top-Down Integration ( contd. )
                        Breadth-First

                       M1

         M2            M3             M4


  M5              M6   M7                   Sequence of Module Addition :-

                                            M1, M2, M3, M4, M5, M6, M7, M8
  M8




13 January 2012         Made By Utpal Ray                                    11
Software Testing Strategy


  Top-Down Integration ( contd. )
                  Depth-First

                  M1

        M2        M3               M4


M5          M6    M7
                                         Sequence of Module Addition :-
                                        M1, M2, M5, M8, M6, M3, M7, M4
M8




13 January 2012    Made By Utpal Ray                                      12
Software Testing Strategy

  Bottom-Up Integration
    Modules are added from the bottom; which means
    modules from the lower most level of the ‘call and
    return’ architecture are added first. Then the addition
    process moves upwards.
    The low level components are combined into multiple
    clusters and each of this cluster is tested first using a
    driver. While testing each of the cluster; modules are
    added from the lower most level for each of this
    cluster.
    Once the clusters have been successfully tested; the
    clusters are attached to the main branch ( after
    removing the drivers ) and addition of modules
    process continues. This way the integration testing is
    performed on the whole ‘call and return’ arch.

13 January 2012   Made By Utpal Ray                             13
Software Testing Strategy

  Bottom-Up Integration ( contd. )
     An example of a ‘Call and Return’ Architecture

                                          MA

                  MB                      MC                MD

       M11              M12        M21          M22         M31


                  M13              M23          M24         M32


                  M14                         M25   M26

       CLUSTER 1                       CLUSTER 2          CLUSTER 3

13 January 2012           Made By Utpal Ray                           14
Software Testing Strategy


  Bottom-Up Integration ( contd. )
                    Testing Cluster 1



                    DRIVER1

                                           Sequence of Module Addition :-
                                           M14, M13, M12, M11
              M11                M12


                     M13


                     M14

13 January 2012        Made By Utpal Ray                                15
Software Testing Strategy


  Bottom-Up Integration ( contd. )
                        Testing Cluster 2



                    DRIVER2

                                               Sequence of Module Addition :-
                                               M26, M25, M24, M22, M23, M21
                  M21             M22


                  M23             M24


                             M25         M26


13 January 2012           Made By Utpal Ray                                16
Software Testing Strategy


  Bottom-Up Integration ( contd. )
                  Testing Cluster 3



                  DRIVER3

                                        Sequence of Module Addition :-
                                        M32, M31
                   M31


                   M32




13 January 2012     Made By Utpal Ray                                17
Software Testing Strategy


  Validation Testing
    This phase is entered after the successful completion
    of the integration testing.
    The software validation is achieved through a series of
    black box tests that demonstrate conformity with the
    requirements.
    One needs a test plan to identify a series of tests which
    need to be used as a validation test. One needs a valid
    test procedure also, regarding executing all those
    individual tests.



13 January 2012   Made By Utpal Ray                         18
Software Testing Strategy

  Validation Testing ( contd. )
 The validation test ensures that the following criteria are
    satisfied successfully :-
      - All Functional Requirements
      - All Behavioral characteristics
      - All Performance Requirements
      - All Documentation Correctness
      - All Other Requirements ( Transportability,
         Compatibility, Error Recoverability,
                    Maintainability etc. )
 If some of the criteria mentioned above do not meet the
    requirements, a deficiency list need to be prepared
    identifying which one is deviating from the normal
    reference.
13 January 2012   Made By Utpal Ray                        19
Software Testing Strategy


  System Testing
     It is the final phase of the testing cycle.
     It is about integrating the software with hardware,
     people and information.
     The primary purpose of the system testing is to fully
     exercise the computer based system.
     The system test is really effective if it can be done in the
     customer’s premises. Otherwise the customer’s
     environment is re-created in-house.




13 January 2012   Made By Utpal Ray                                 20
Software Testing Strategy


  System Testing ( contd. )
 There are quite a few varieties of system testing as
  described below :-
   - Recovery Testing [ How system recovers
                                from Faults? ]
   - Security Testing [ How secure the system is? ]
   - Stress Testing [ How much load the system can
                                         take? ]
   - Performance Testing [ How system performs in
              normal condition and stresses condition ]

13 January 2012   Made By Utpal Ray                       21
Software Testing Strategy



  Verification & Validation ( V&V )
    One has to Validate the software to ensure that all the
    functional requirements are met by the software.
    One has to verify that one particular functionality has
    been correctly implemented in the software.
    Verification : Are we building the product right ?
    Validation : Are we building the right product ?
    Validation comes nearly at the end of the testing cycle
    Verification may come throughout the testing cycle.



13 January 2012   Made By Utpal Ray                           22
Software Testing Strategy


  Entry and Exit Criteria for testing
    When to exit testing from the current test phase and
    enter the next testing phase ?
    Since the quote ‘You are never done with testing, the
    burden simply shifts from the engineer to the
    customer’, is always true; the decision to end testing
    mainly depends upon the resources available and also
    depends upon the confidence of the testing personnel.
    Usually, the rate of finding errors drops as testing
    progresses. When one cannot find any more errors;
    that could be the time to exit the current phase and
    enter the next phase.


13 January 2012   Made By Utpal Ray                      23
Software Testing Strategy

       Sample Test Plan Template
 1. Document Control
     - Distribution
     - Approvers/Reviewers
     - Change History
 2. Overview
     - Project Summary
     - Overall Test Goals and Objectives
 3. Test Environment
     - Hardware and Software Configuration
 4. Test Tools To Be Used
 5. Administration
     - Test Assumptions and Dependencies
     - Entry and Exit Criteria
     - Status Tracking Approach
     - Problem Reporting and Tracking Approach
     - Maintenance Strategy
     - Deliverables
 6. Schedules
 7. Test Matrices and Scenario




13 January 2012       Made By Utpal Ray               24
Software Testing Strategy

  Test plan template, IEEE 829 format

 1.0 References
 2.0 Introduction
 3.0 Test Items
 4.0 Features to be Tested
 5.0 Features not to be Tested
 6.0 Approach
 7.0 Item Pass/Fail Criteria
 8.0 Suspension Criteria and Resumption Requirements
 9.0 Test Deliverables
 10.0 Remaining Test Tasks
 11.0 Environmental Needs
 12.0 Staffing and Training Needs
 13.0 Responsibilities
 14.0 Schedule
 15.0 Planning Risks and Contingencies
 16.0 Approvals
 17.0 Glossary



13 January 2012       Made By Utpal Ray                25
Software Testing Strategy


   Other Types of Testing Scenario
 1. Alpha Testing
 2. Beta Testing
 3. Gamma Testing
 4. Smoke Testing
 5. Regression Testing
 6. Automated Testing
 7. Fuzz Testing
 8. Static Testing




13 January 2012   Made By Utpal Ray               26
Software Testing Strategy


  Other Types of Testing Scenario ( contd. )
               Alpha Testing
 Different Software Organization has a different view
  regarding definition of this test. This may be also
  called ‘Engineering’ Test. Usually this test is attempted
  after the integration testing is over. This test is
  conducted in-house. This is a some kind of validation
  test in which different in-house department may take
  participation.




13 January 2012   Made By Utpal Ray                       27
Software Testing Strategy


  Other Types of Testing Scenario ( contd. )
               Beta Testing
 This testing is attempted after the alpha testing is over.
  This test is always conducted in the customer
  premises; that’s why it is a case of ‘live’ testing. Usually
  developers are not present during this kind of testing.
  The customer records all problems that were
  encountered during beta testing and reports this to
  the developers at regular intervals.




13 January 2012   Made By Utpal Ray                              28
Software Testing Strategy


  Other Types of Testing Scenario ( contd. )
                 Gamma Testing
 Gamma testing is a little-known informal phrase that
  refers derisively to the release of "buggy" (defect-
  ridden) software. It is not a term of art among
  testers, but rather an example of referential humor.
  Cynics have referred to all software releases as "gamma
  testing" since defects are always found in the customer
  premises.




13 January 2012   Made By Utpal Ray                     29
Software Testing Strategy


  Other Types of Testing Scenario ( contd. )
                 Smoke Testing
    It is a ritual of daily testing.
    It need not be an exhaustive testing rather it is an end
    to end testing.
    The test cases are designed keeping the frequently
    performing functions in mind.
    This is a one type of integration testing, where the
    entire software is smoke tested daily.




13 January 2012   Made By Utpal Ray                            30
Software Testing Strategy


  Other Types of Testing Scenario ( contd. )
                  Regression Testing
    It is about running a subset of old test suite, to
    make sure that the newly added changes did not
    break the earlier functionality.
    This is very much necessary when software moves
    from one version to another version upwardly.
    One has to run a regression test suite to make sure
    the functionality of the earlier version did not
    change even if the new functions has been added.



13 January 2012     Made By Utpal Ray                     31
Software Testing Strategy


  Other Types of Testing Scenario ( contd. )
                       Automated Testing
    Considering the fact that testing is a repetitive
    process, most of the testing execution process can be
    automated.
    In it’s simplest form, an automated test suite does not wait
    for user’s input; rather it takes the input from a already
    prepared file. At the same time it does not leave the test
    results for user’s interpretation but compares it with an
    already prepared sample output file.
    It is comparatively easier to write automated test suite
    when input/output involves with keyboard and monitor. In
    case of GUI testing, a different method of automated
    testing should be employed.

13 January 2012   Made By Utpal Ray                            32
Software Testing Strategy


  Other Types of Testing Scenario ( contd. )
                     Fuzz Testing
 The basic idea is to attach the inputs of a program to a
  source of random data ("fuzz"). If the program fails
  (for example, by crashing, or by failing built-in code
  assertions), then there are defects to correct.




13 January 2012   Made By Utpal Ray                         33
Software Testing Strategy


  Other Types of Testing Scenario ( contd. )
                   Static Testing
 Static Testing (also known as "Dry Run Testing") is a
   form of software testing where the software isn't
   actually used. Syntax checking and manually reading
   the code to find errors are methods of static testing.
   This type of testing is mostly used by the developer
   himself (who designed or code the module). Static
   testing is usually the first type of testing done on any
   system.




13 January 2012   Made By Utpal Ray                           34
Software Testing Strategy

                         Still More Varieties of Testing

         Proposal Testing; Requirement Testing; Design Testing;
         Big Bang Testing; Sandwich Testing; Complexity Testing;
         Compatibility Testing; Security Testing; Performance Testing;
         Volume Testing; Stress Testing; Recovery Testing; Installation Testing;
         Error Handling Testing; Manual Support Testing; Intersystem Testing;
         Control Testing; Sanity Testing; Adhoc Testing (Monkey Testing,
         Exploratory Testing, Random Testing); Execution Testing;
         Operations Testing; Compliance Testing; Usability Testing;
         Decision Table Testing (Axiom Testing); Documentation Testing;
         Training Testing; Rapid Testing; ‘COTS’ Testing; Client-Server Testing;
         Web Application Testing; Mobile Application Testing;
         eBusiness/eCommerce Testing; Agile Development Testing;
         Data Warehouse Testing;

         [ Courtesy; Software Testing – M G Limaye; McGraw-Hill




13 January 2012         Made By Utpal Ray                                          35
Software Testing Strategy


       Home Task
 1.     Why is a highly coupled module difficult to unit test
        ?
 2.     Develop an integration testing strategy for the
        problems which you have already got the
        architectural design.
 3.     Who should perform the validation test – the
        software developer, an independent tester or the
        software user ? Justify your answer.




13 January 2012    Made By Utpal Ray                            36

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
COCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. MohiteCOCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. Mohite
 
Scrum ppt
Scrum pptScrum ppt
Scrum ppt
 
Chapter 4 software project planning
Chapter 4 software project planningChapter 4 software project planning
Chapter 4 software project planning
 
Quality & Reliability in Software Engineering
Quality & Reliability in Software EngineeringQuality & Reliability in Software Engineering
Quality & Reliability in Software Engineering
 
Agile Methodology ppt
Agile Methodology pptAgile Methodology ppt
Agile Methodology ppt
 
Chapter 09 classification advanced
Chapter 09 classification advancedChapter 09 classification advanced
Chapter 09 classification advanced
 
Stochastic Gradient Decent (SGD).pptx
Stochastic Gradient Decent (SGD).pptxStochastic Gradient Decent (SGD).pptx
Stochastic Gradient Decent (SGD).pptx
 
Analysis and Design of Algorithms
Analysis and Design of AlgorithmsAnalysis and Design of Algorithms
Analysis and Design of Algorithms
 
Software Reliability
Software ReliabilitySoftware Reliability
Software Reliability
 
Extreme programming (xp)
Extreme programming (xp)Extreme programming (xp)
Extreme programming (xp)
 
K-means and GMM
K-means and GMMK-means and GMM
K-means and GMM
 
Software testing
Software testing Software testing
Software testing
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Chapter 4 : SOUND
Chapter 4 : SOUNDChapter 4 : SOUND
Chapter 4 : SOUND
 
Software reliability
Software reliabilitySoftware reliability
Software reliability
 
Bakus naur form
Bakus naur formBakus naur form
Bakus naur form
 
Agile Methodology - Software Engineering
Agile Methodology - Software EngineeringAgile Methodology - Software Engineering
Agile Methodology - Software Engineering
 
Testing Metrics
Testing MetricsTesting Metrics
Testing Metrics
 
Transpilers(Source-to-Source Compilers)
Transpilers(Source-to-Source Compilers)Transpilers(Source-to-Source Compilers)
Transpilers(Source-to-Source Compilers)
 

Andere mochten auch

software testing strategies
software testing strategiessoftware testing strategies
software testing strategiesHemanth Gajula
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing FundamentalsChankey Pathak
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts pptRathna Priya
 
Test plan on iit website
Test plan on iit websiteTest plan on iit website
Test plan on iit websiteSamsuddoha Sams
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testingpingkapil
 
Isibor oses MSc research NEW1 ppt
Isibor oses MSc research NEW1 pptIsibor oses MSc research NEW1 ppt
Isibor oses MSc research NEW1 pptOsebor Isibor
 
Testing of Object-Oriented Software
Testing of Object-Oriented SoftwareTesting of Object-Oriented Software
Testing of Object-Oriented SoftwarePraveen Penumathsa
 
Spring batch for large enterprises operations
Spring batch for large enterprises operations Spring batch for large enterprises operations
Spring batch for large enterprises operations Ignasi González
 
Cloud intrusion detection System
Cloud intrusion detection SystemCloud intrusion detection System
Cloud intrusion detection Systemsadegh salehi
 
Enterprise Integration and Batch Processing on Cloud Foundry
Enterprise Integration and Batch Processing on Cloud FoundryEnterprise Integration and Batch Processing on Cloud Foundry
Enterprise Integration and Batch Processing on Cloud FoundryJoshua Long
 
4.2.1 test plan (proposed testing)
4.2.1 test plan (proposed testing)4.2.1 test plan (proposed testing)
4.2.1 test plan (proposed testing)Vlad Puten
 
System Test Plan for Accounts Payable System
System Test Plan for Accounts Payable SystemSystem Test Plan for Accounts Payable System
System Test Plan for Accounts Payable SystemJenny Dandan Cai
 
Software engineering- system testing
Software engineering- system testingSoftware engineering- system testing
Software engineering- system testingTejas Mhaske
 
How to create a 'Master Test Plan'
How to create a 'Master Test Plan'How to create a 'Master Test Plan'
How to create a 'Master Test Plan'PractiTest
 

Andere mochten auch (17)

software testing strategies
software testing strategiessoftware testing strategies
software testing strategies
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
 
Test strategies ppt
Test strategies pptTest strategies ppt
Test strategies ppt
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Test plan on iit website
Test plan on iit websiteTest plan on iit website
Test plan on iit website
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testing
 
Isibor oses MSc research NEW1 ppt
Isibor oses MSc research NEW1 pptIsibor oses MSc research NEW1 ppt
Isibor oses MSc research NEW1 ppt
 
Testing of Object-Oriented Software
Testing of Object-Oriented SoftwareTesting of Object-Oriented Software
Testing of Object-Oriented Software
 
Spring batch for large enterprises operations
Spring batch for large enterprises operations Spring batch for large enterprises operations
Spring batch for large enterprises operations
 
Cloud intrusion detection System
Cloud intrusion detection SystemCloud intrusion detection System
Cloud intrusion detection System
 
Enterprise Integration and Batch Processing on Cloud Foundry
Enterprise Integration and Batch Processing on Cloud FoundryEnterprise Integration and Batch Processing on Cloud Foundry
Enterprise Integration and Batch Processing on Cloud Foundry
 
4.2.1 test plan (proposed testing)
4.2.1 test plan (proposed testing)4.2.1 test plan (proposed testing)
4.2.1 test plan (proposed testing)
 
System Test Plan for Accounts Payable System
System Test Plan for Accounts Payable SystemSystem Test Plan for Accounts Payable System
System Test Plan for Accounts Payable System
 
Software engineering- system testing
Software engineering- system testingSoftware engineering- system testing
Software engineering- system testing
 
How to create a 'Master Test Plan'
How to create a 'Master Test Plan'How to create a 'Master Test Plan'
How to create a 'Master Test Plan'
 

Ähnlich wie 11 software testing_strategy

Ähnlich wie 11 software testing_strategy (20)

Higher Order Testing
Higher Order TestingHigher Order Testing
Higher Order Testing
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
 
Different Software Testing Levels for Detecting Errors
Different Software Testing Levels for Detecting ErrorsDifferent Software Testing Levels for Detecting Errors
Different Software Testing Levels for Detecting Errors
 
Software Testing Techniques
Software Testing TechniquesSoftware Testing Techniques
Software Testing Techniques
 
Testing ppt
Testing pptTesting ppt
Testing ppt
 
08 fse verification
08 fse verification08 fse verification
08 fse verification
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
softwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdfsoftwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdf
 
CurrieTesting.ppt
CurrieTesting.pptCurrieTesting.ppt
CurrieTesting.ppt
 
CurrieTesting.ppt
CurrieTesting.pptCurrieTesting.ppt
CurrieTesting.ppt
 
test_567.ppt
test_567.ppttest_567.ppt
test_567.ppt
 
CurrieTesting.ppt
CurrieTesting.pptCurrieTesting.ppt
CurrieTesting.ppt
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
 
Software engg unit 4
Software engg unit 4 Software engg unit 4
Software engg unit 4
 
software testing.pptx
software testing.pptxsoftware testing.pptx
software testing.pptx
 
Software testing
Software testingSoftware testing
Software testing
 
Testing
TestingTesting
Testing
 
Testing chapter updated (1)
Testing chapter updated (1)Testing chapter updated (1)
Testing chapter updated (1)
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software Engineering unit 4
Software Engineering unit 4Software Engineering unit 4
Software Engineering unit 4
 

Mehr von University of Computer Science and Technology

Mehr von University of Computer Science and Technology (20)

Real time-embedded-system-lec-02
Real time-embedded-system-lec-02Real time-embedded-system-lec-02
Real time-embedded-system-lec-02
 
Real time-embedded-system-lec-06
Real time-embedded-system-lec-06Real time-embedded-system-lec-06
Real time-embedded-system-lec-06
 
Real time-embedded-system-lec-05
Real time-embedded-system-lec-05Real time-embedded-system-lec-05
Real time-embedded-system-lec-05
 
Real time-embedded-system-lec-04
Real time-embedded-system-lec-04Real time-embedded-system-lec-04
Real time-embedded-system-lec-04
 
Real time-embedded-system-lec-03
Real time-embedded-system-lec-03Real time-embedded-system-lec-03
Real time-embedded-system-lec-03
 
Real time-embedded-system-lec-02
Real time-embedded-system-lec-02Real time-embedded-system-lec-02
Real time-embedded-system-lec-02
 
Real time-embedded-system-lec-07
Real time-embedded-system-lec-07Real time-embedded-system-lec-07
Real time-embedded-system-lec-07
 
12 software maintenance
12 software maintenance12 software maintenance
12 software maintenance
 
10 software testing_technique
10 software testing_technique10 software testing_technique
10 software testing_technique
 
09 coding standards_n_guidelines
09 coding standards_n_guidelines09 coding standards_n_guidelines
09 coding standards_n_guidelines
 
08 component level_design
08 component level_design08 component level_design
08 component level_design
 
07 interface design
07 interface design07 interface design
07 interface design
 
06 architectural design_workout
06 architectural design_workout06 architectural design_workout
06 architectural design_workout
 
05 architectural design
05 architectural design05 architectural design
05 architectural design
 
04 design concepts_n_principles
04 design concepts_n_principles04 design concepts_n_principles
04 design concepts_n_principles
 
03 requirement engineering_process
03 requirement engineering_process03 requirement engineering_process
03 requirement engineering_process
 
02 software process_models
02 software process_models02 software process_models
02 software process_models
 
01 software engineering_aspects
01 software engineering_aspects01 software engineering_aspects
01 software engineering_aspects
 
14 software technical_metrics
14 software technical_metrics14 software technical_metrics
14 software technical_metrics
 
13 software metrics
13 software metrics13 software metrics
13 software metrics
 

Kürzlich hochgeladen

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 

Kürzlich hochgeladen (20)

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 

11 software testing_strategy

  • 1. Software Testing Strategy What kind of testing approach we should take to apply the already developed test cases ? 13 January 2012 Made By Utpal Ray 1
  • 2. Software Testing Strategy  Strategic Approach It is about applying designed test cases strategically to uncover more number of errors in a shorter span of time. Deciding a suitable test strategy calls for a suitable test plan and a test procedure document. Testing should begin at the component level ( unit level ) and move ‘outward’ towards integration of the entire computer based system. Different testing techniques are required at different point of testing span. Testing should be performed by an Independent Test Group, who did not contribute towards the design and development of the software. Any testing strategy must incorporate test planning, test case design, test execution, test result collection, test result evaluation etc. 13 January 2012 Made By Utpal Ray 2
  • 3. Software Testing Strategy  A typical Software Test Strategy Considering the fact that testing is a big task, the entire testing cycle can be divided into four different phase where different test strategy is employed in different phase; also, different test techniques are used in different phase. The test target and the test focus also changes along this four different phases of testing cycles. The most interesting part is how error finding rate changes as testing progresses along this four different phases and so as the cost associated with fixing all those errors. It is to be noted that test strategy for a newly developed software ( which was developed from scratch ) will be different than the test strategy for a moderately modified software. 13 January 2012 Made By Utpal Ray 3
  • 4. Software Testing Strategy  A typical Software Test Strategy for a newly developed software Test Phase Early Phase Integration Validation Final Phase ( Phase – I ) Phase Phase ( Phase – IV ) Scenario ( Phase – II ) ( Phase – III ) Test Unit Integration Validation System Strategy Testing Testing Testing Testing Test Mainly White White Box Black Box Black Box Technique Box And Black Testing Testing Testing Box Testing Test Individual A group of The Whole The entire Target Module Closely Software s/w in the related operational Module environment 13 January 2012 Made By Utpal Ray 4
  • 5. Software Testing Strategy  A typical Software Test Strategy for a newly developed software ( Contd. ) Test Phase Early Phase Integration Validation Final Phase Scenario ( Phase – I ) Phase Phase ( Phase–IV ) ( Phase – II ) ( Phase-III ) Testing Coding Design and Functional The s/w along Focus the s/w Requirement with the other architecture and other system elements requirement Error Finding Rate 13 January 2012 Made By Utpal Ray 5
  • 6. Software Testing Strategy  A typical Software Test Strategy for a newly developed software ( Contd. ) Test Phase Early Phase Integration Validation Final Phase Scenario ( Phase – I ) Phase Phase ( Phase–IV ) ( Phase – II ) ( Phase-III ) Difficulty and cost of fixing those errors The responsible persons for Individual Project Team The whole The whole the errors Department Organization 13 January 2012 Made By Utpal Ray 6
  • 7. Software Testing Strategy  Unit Testing It is done on the individual module level. Component level design is used as a guide. It is important to fix the scope of the unit testing. The module interface needs to be examined and tested. The boundary conditions need to be examined ( some sort of black box testing ). The basis path testing ( white box testing ) need to be performed. The error conditions, the error handlings and the error messages – all these criteria need to be tested. 13 January 2012 Made By Utpal Ray 7
  • 8. Software Testing Strategy  Unit Testing ( contd. ) If it is necessary driver and suitable stubs need to be developed and integrated with the modules ( illustrated below ). DRIVER Test Cases Test Results Module To be Tested STUB STUB 13 January 2012 Made By Utpal Ray 8
  • 9. Software Testing Strategy  Integration Testing This is the testing phase after unit testing. This phase deals with the combination of different modules. Unless each of the module is unit tested satisfactorily, one cannot enter this testing phase. The best approach for integration testing is the incremental integration; where modules are added one after another. Integration testing is performed every time after each of the module is added. This process of testing is good enough to find out which module is causing the error. There are two distinct methods of incremental integration – Top-Down integration and Bottom-Up integration. 13 January 2012 Made By Utpal Ray 9
  • 10. Software Testing Strategy  Top-Down Integration Modules are added by moving downward through the control hierarchy, beginning with the main control module ( top most executive module ) first. The subordinate modules ( to the main module ) can be added either in a breadth-first manner or in a depth-first manner. For the Top-Down integration, you may need stub to effectively test the effect of module addition. 13 January 2012 Made By Utpal Ray 10
  • 11. Software Testing Strategy  Top-Down Integration ( contd. ) Breadth-First M1 M2 M3 M4 M5 M6 M7 Sequence of Module Addition :- M1, M2, M3, M4, M5, M6, M7, M8 M8 13 January 2012 Made By Utpal Ray 11
  • 12. Software Testing Strategy  Top-Down Integration ( contd. ) Depth-First M1 M2 M3 M4 M5 M6 M7 Sequence of Module Addition :- M1, M2, M5, M8, M6, M3, M7, M4 M8 13 January 2012 Made By Utpal Ray 12
  • 13. Software Testing Strategy  Bottom-Up Integration Modules are added from the bottom; which means modules from the lower most level of the ‘call and return’ architecture are added first. Then the addition process moves upwards. The low level components are combined into multiple clusters and each of this cluster is tested first using a driver. While testing each of the cluster; modules are added from the lower most level for each of this cluster. Once the clusters have been successfully tested; the clusters are attached to the main branch ( after removing the drivers ) and addition of modules process continues. This way the integration testing is performed on the whole ‘call and return’ arch. 13 January 2012 Made By Utpal Ray 13
  • 14. Software Testing Strategy  Bottom-Up Integration ( contd. ) An example of a ‘Call and Return’ Architecture MA MB MC MD M11 M12 M21 M22 M31 M13 M23 M24 M32 M14 M25 M26 CLUSTER 1 CLUSTER 2 CLUSTER 3 13 January 2012 Made By Utpal Ray 14
  • 15. Software Testing Strategy  Bottom-Up Integration ( contd. ) Testing Cluster 1 DRIVER1 Sequence of Module Addition :- M14, M13, M12, M11 M11 M12 M13 M14 13 January 2012 Made By Utpal Ray 15
  • 16. Software Testing Strategy  Bottom-Up Integration ( contd. ) Testing Cluster 2 DRIVER2 Sequence of Module Addition :- M26, M25, M24, M22, M23, M21 M21 M22 M23 M24 M25 M26 13 January 2012 Made By Utpal Ray 16
  • 17. Software Testing Strategy  Bottom-Up Integration ( contd. ) Testing Cluster 3 DRIVER3 Sequence of Module Addition :- M32, M31 M31 M32 13 January 2012 Made By Utpal Ray 17
  • 18. Software Testing Strategy  Validation Testing This phase is entered after the successful completion of the integration testing. The software validation is achieved through a series of black box tests that demonstrate conformity with the requirements. One needs a test plan to identify a series of tests which need to be used as a validation test. One needs a valid test procedure also, regarding executing all those individual tests. 13 January 2012 Made By Utpal Ray 18
  • 19. Software Testing Strategy  Validation Testing ( contd. ) The validation test ensures that the following criteria are satisfied successfully :- - All Functional Requirements - All Behavioral characteristics - All Performance Requirements - All Documentation Correctness - All Other Requirements ( Transportability, Compatibility, Error Recoverability, Maintainability etc. ) If some of the criteria mentioned above do not meet the requirements, a deficiency list need to be prepared identifying which one is deviating from the normal reference. 13 January 2012 Made By Utpal Ray 19
  • 20. Software Testing Strategy  System Testing It is the final phase of the testing cycle. It is about integrating the software with hardware, people and information. The primary purpose of the system testing is to fully exercise the computer based system. The system test is really effective if it can be done in the customer’s premises. Otherwise the customer’s environment is re-created in-house. 13 January 2012 Made By Utpal Ray 20
  • 21. Software Testing Strategy  System Testing ( contd. ) There are quite a few varieties of system testing as described below :- - Recovery Testing [ How system recovers from Faults? ] - Security Testing [ How secure the system is? ] - Stress Testing [ How much load the system can take? ] - Performance Testing [ How system performs in normal condition and stresses condition ] 13 January 2012 Made By Utpal Ray 21
  • 22. Software Testing Strategy  Verification & Validation ( V&V ) One has to Validate the software to ensure that all the functional requirements are met by the software. One has to verify that one particular functionality has been correctly implemented in the software. Verification : Are we building the product right ? Validation : Are we building the right product ? Validation comes nearly at the end of the testing cycle Verification may come throughout the testing cycle. 13 January 2012 Made By Utpal Ray 22
  • 23. Software Testing Strategy  Entry and Exit Criteria for testing When to exit testing from the current test phase and enter the next testing phase ? Since the quote ‘You are never done with testing, the burden simply shifts from the engineer to the customer’, is always true; the decision to end testing mainly depends upon the resources available and also depends upon the confidence of the testing personnel. Usually, the rate of finding errors drops as testing progresses. When one cannot find any more errors; that could be the time to exit the current phase and enter the next phase. 13 January 2012 Made By Utpal Ray 23
  • 24. Software Testing Strategy  Sample Test Plan Template 1. Document Control - Distribution - Approvers/Reviewers - Change History 2. Overview - Project Summary - Overall Test Goals and Objectives 3. Test Environment - Hardware and Software Configuration 4. Test Tools To Be Used 5. Administration - Test Assumptions and Dependencies - Entry and Exit Criteria - Status Tracking Approach - Problem Reporting and Tracking Approach - Maintenance Strategy - Deliverables 6. Schedules 7. Test Matrices and Scenario 13 January 2012 Made By Utpal Ray 24
  • 25. Software Testing Strategy  Test plan template, IEEE 829 format 1.0 References 2.0 Introduction 3.0 Test Items 4.0 Features to be Tested 5.0 Features not to be Tested 6.0 Approach 7.0 Item Pass/Fail Criteria 8.0 Suspension Criteria and Resumption Requirements 9.0 Test Deliverables 10.0 Remaining Test Tasks 11.0 Environmental Needs 12.0 Staffing and Training Needs 13.0 Responsibilities 14.0 Schedule 15.0 Planning Risks and Contingencies 16.0 Approvals 17.0 Glossary 13 January 2012 Made By Utpal Ray 25
  • 26. Software Testing Strategy  Other Types of Testing Scenario 1. Alpha Testing 2. Beta Testing 3. Gamma Testing 4. Smoke Testing 5. Regression Testing 6. Automated Testing 7. Fuzz Testing 8. Static Testing 13 January 2012 Made By Utpal Ray 26
  • 27. Software Testing Strategy  Other Types of Testing Scenario ( contd. ) Alpha Testing Different Software Organization has a different view regarding definition of this test. This may be also called ‘Engineering’ Test. Usually this test is attempted after the integration testing is over. This test is conducted in-house. This is a some kind of validation test in which different in-house department may take participation. 13 January 2012 Made By Utpal Ray 27
  • 28. Software Testing Strategy  Other Types of Testing Scenario ( contd. ) Beta Testing This testing is attempted after the alpha testing is over. This test is always conducted in the customer premises; that’s why it is a case of ‘live’ testing. Usually developers are not present during this kind of testing. The customer records all problems that were encountered during beta testing and reports this to the developers at regular intervals. 13 January 2012 Made By Utpal Ray 28
  • 29. Software Testing Strategy  Other Types of Testing Scenario ( contd. ) Gamma Testing Gamma testing is a little-known informal phrase that refers derisively to the release of "buggy" (defect- ridden) software. It is not a term of art among testers, but rather an example of referential humor. Cynics have referred to all software releases as "gamma testing" since defects are always found in the customer premises. 13 January 2012 Made By Utpal Ray 29
  • 30. Software Testing Strategy  Other Types of Testing Scenario ( contd. ) Smoke Testing It is a ritual of daily testing. It need not be an exhaustive testing rather it is an end to end testing. The test cases are designed keeping the frequently performing functions in mind. This is a one type of integration testing, where the entire software is smoke tested daily. 13 January 2012 Made By Utpal Ray 30
  • 31. Software Testing Strategy  Other Types of Testing Scenario ( contd. ) Regression Testing It is about running a subset of old test suite, to make sure that the newly added changes did not break the earlier functionality. This is very much necessary when software moves from one version to another version upwardly. One has to run a regression test suite to make sure the functionality of the earlier version did not change even if the new functions has been added. 13 January 2012 Made By Utpal Ray 31
  • 32. Software Testing Strategy  Other Types of Testing Scenario ( contd. ) Automated Testing Considering the fact that testing is a repetitive process, most of the testing execution process can be automated. In it’s simplest form, an automated test suite does not wait for user’s input; rather it takes the input from a already prepared file. At the same time it does not leave the test results for user’s interpretation but compares it with an already prepared sample output file. It is comparatively easier to write automated test suite when input/output involves with keyboard and monitor. In case of GUI testing, a different method of automated testing should be employed. 13 January 2012 Made By Utpal Ray 32
  • 33. Software Testing Strategy  Other Types of Testing Scenario ( contd. ) Fuzz Testing The basic idea is to attach the inputs of a program to a source of random data ("fuzz"). If the program fails (for example, by crashing, or by failing built-in code assertions), then there are defects to correct. 13 January 2012 Made By Utpal Ray 33
  • 34. Software Testing Strategy  Other Types of Testing Scenario ( contd. ) Static Testing Static Testing (also known as "Dry Run Testing") is a form of software testing where the software isn't actually used. Syntax checking and manually reading the code to find errors are methods of static testing. This type of testing is mostly used by the developer himself (who designed or code the module). Static testing is usually the first type of testing done on any system. 13 January 2012 Made By Utpal Ray 34
  • 35. Software Testing Strategy Still More Varieties of Testing Proposal Testing; Requirement Testing; Design Testing; Big Bang Testing; Sandwich Testing; Complexity Testing; Compatibility Testing; Security Testing; Performance Testing; Volume Testing; Stress Testing; Recovery Testing; Installation Testing; Error Handling Testing; Manual Support Testing; Intersystem Testing; Control Testing; Sanity Testing; Adhoc Testing (Monkey Testing, Exploratory Testing, Random Testing); Execution Testing; Operations Testing; Compliance Testing; Usability Testing; Decision Table Testing (Axiom Testing); Documentation Testing; Training Testing; Rapid Testing; ‘COTS’ Testing; Client-Server Testing; Web Application Testing; Mobile Application Testing; eBusiness/eCommerce Testing; Agile Development Testing; Data Warehouse Testing; [ Courtesy; Software Testing – M G Limaye; McGraw-Hill 13 January 2012 Made By Utpal Ray 35
  • 36. Software Testing Strategy  Home Task 1. Why is a highly coupled module difficult to unit test ? 2. Develop an integration testing strategy for the problems which you have already got the architectural design. 3. Who should perform the validation test – the software developer, an independent tester or the software user ? Justify your answer. 13 January 2012 Made By Utpal Ray 36