SlideShare une entreprise Scribd logo
1  sur  40
Damian Gordon
   Component Testing
   Integration Testing
   System Testing
   Acceptance Testing
   Component Testing
   Component Testing

   Also known as Unit Testing, Module Testing,
    and Program Testing
   Component Testing

    ◦ Searching for defects in, and verifies the
      functioning of software that are separately
      testable.
    ◦ This testing can be done in isolation of other parts
      of the system, using stubs and drivers.
                  A            A          Driver




                  B           Stub          B
   Component Testing

    ◦ May include the testing of the functionality and
      specific non-functional characteristics such as
      resource behaviour, e.g. Memory leaks
    ◦ Also Robustness testing or performance testing
    ◦ Also structure testing, e.g. Decision coverage
   Integration Testing
   Integration Testing

    ◦ Testing interfaces between components, as well
      as interactions to different parts of the system,
      such as an operating system, and a file system.

    ◦ Component Integration Testing is testing
      interactions between components
    ◦ System Integration Testing is testing the
      interaction of the developed system with other
      systems
   Integration Testing

    ◦ It’s generally better to integrate components to
      each other in groups, and then test that process,
      rather than a “big bang” integration when all
      discrete components are integrated
      simultaneously.
    ◦ With the “big bang” approach, it is very difficult to
      trace the cause of failures to one specific
      component.
    ◦ The opposite approach is integrating one
      component at a time, which can often be too time
      consuming.
   Integration Testing

    ◦ This incremental approach to integration leads to
      a number of possible approaches:

      Top-Down: Test starts at the top, e.g. From the GUI
       or main menu
      Bottom-up: One component at a time
      Functional Incremental: Integration and testing on
       the basis of functionality
   System Testing
   System Testing

   Looking at the behaviour of the whole
    system as defined by the scope of a
    development project.
   It may include tests based on risks and/or
    requirements specification, business
    processes, use cases, or other high-level
    descriptions of system behaviour,
    interactions with the operating system, and
    system resources.
   System Testing

   It is most often the final testing on behalf of
    the development to verify that the system
    delivered meets the specification.
   System Testing

   It should include investigation of both the
    functional and non-functional requirements
    of the system
    ◦ Typical non-functional tests include performance
      and reliability.
    ◦ Typical functional tests include black-box testing.
   System Testing

   It must be undertaken in a controlled test
    environment, with software versions,
    testware, and test data.
   The test environment needs to match the
    live environment as much as possible.
   Acceptance Testing
   Acceptance Testing

   This is testing done by the customers/users,
    potentially as well as other stakeholders.
   The goal of this testing is to establish
    confidence in the system, focussing on
    issues such as fit-for-purpose, and
    usability.
   Acceptance Testing

   Two types of acceptance testing:
    ◦ The user acceptance test focuses mainly on
      functionality thereby validating the fitness-for-
      use of the system by the users.
    ◦ The operational acceptance test validates whether
      the system meets the requirements for operation.
   Acceptance Testing

   Other types of acceptance testing:
    ◦ Contract acceptance tests performed against a
      contract’s acceptance criteria for producing the
      software.
    ◦ Compliance acceptance tests are preformed
      against regulations such as governmental, legal or
      safety regulations.
   Acceptance Testing

   If the software is intended for the mass market,
    customer testing is impractical, but feedback is
    needed, so it’s often done in a two stage
    process
    ◦ The first is Alpha Testing, this takes place at the
      developers site, a cross-section of potential users are
      invited to use the system, and developers observe the
      users and note problems.
    ◦ The second is Beta Testing, sends the system out to a
      cross-section of the users, who install it, and use it
      under real-world conditions. The users send records of
      incidents with the system to the development
      organisation where the defects are repaired.
   Functional Testing
   Non-functional Testing
   Structural Testing
   Confirmation and Regression Testing
   Functional Testing
   Functional Testing

   The function of a system is “what it does”.
   Typically described in requirements
    document, or in use cases.
   Can be based on ISO 9124, but focusing on
    suitability, interoperability, security,
    accuracy, and compliance.
   ISO is an international
    standard-setting body
    composed of
    representatives from
    various national
    standards
    organizations.
    Founded on February
    23, 1947, the
    organization
    promulgates
    worldwide proprietary,
    industrial and
    commercial standards.
    It has its headquarters
    in Geneva,
    Switzerland.
   Functional Testing

   Two types, Requirements-based testing and
    Business-process-based testing
    ◦ Requirements-based testing use the functional
      specification to develop tests.
    ◦ Business-process-based testing uses the
      knowledge of business processes.
   Non-Functional Testing
   Non-Functional Testing

   Looking at quality characteristics, looking at
    how well something is being done, or how
    fast.
   Includes things like, performance testing,
    load testing, stress testing, usability testing,
    maintainability testing, reliability testing,
    and portability testing.
   Non-Functional Testing

   Can be based on ISO 9124, but focusing on
    reliability, usability, efficiency,
    maintainability, and portability.
   Structural Testing
   Structural Testing

   Looking at the system architecture or
    structure of the system or component.
   Often used as a way of measuring the
    thoroughness of the testing through
    coverage of a set of structural elements of
    coverage items.
START




                    Read in A




                    Does A/2
Print “It’s   Yes     give a    No   Print “It’s
  Odd”              remainder          Even”
                         ?




                      END
START




                Read in A and
                      B




          Yes                   No
Print A            A>B?              Print B




                    END
START



                       Read in A, B
                          and C




Yes              Yes                  No                Yes
         A>C?             A>B?             B>C?


            No                               No




      Print A            Print C              Print B




                          END
START


A=1


             A=A+1

  Is    No
             Print A
A==6?



Yes

 END
   Confirmation and Regression Testing
   Confirmation and Regression Testing

   Testing changes to software, two general
    types:
    ◦ Confirmation Testing
    ◦ Regression Testing
   Confirmation and Regression Testing

   Confirmation Testing
   When a test fails and we determine the
    cause of the failure, once that defect is
    fixed, we need to rerun the test again to
    confirm that the error has been corrected.
   It is important to rerun the test in the exact
    same way – same input, same data, and
    same environment.
   Confirmation and Regression Testing

   Regression Testing
   Testing to check if there hasn’t been any
    “unexpected side-effects” as a result of
    some change.

Contenu connexe

Tendances

Integration in component based technology
Integration in component based technologyIntegration in component based technology
Integration in component based technology
Saransh Garg
 
Software Testing Tecniques
Software Testing TecniquesSoftware Testing Tecniques
Software Testing Tecniques
ersanbilik
 

Tendances (20)

Testing
TestingTesting
Testing
 
Test levels
Test levelsTest levels
Test levels
 
Test cases
Test casesTest cases
Test cases
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
 
7 stages of unit testing
7 stages of unit testing7 stages of unit testing
7 stages of unit testing
 
Taxonomy for bugs
Taxonomy for bugsTaxonomy for bugs
Taxonomy for bugs
 
Integration in component based technology
Integration in component based technologyIntegration in component based technology
Integration in component based technology
 
Stm unit1
Stm unit1Stm unit1
Stm unit1
 
Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)
 
Seminar on Software Testing
Seminar on Software TestingSeminar on Software Testing
Seminar on Software Testing
 
Test cases
Test casesTest cases
Test cases
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
 
Software testing
Software testingSoftware testing
Software testing
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
 
Manual testing
Manual testingManual testing
Manual testing
 
An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing
 
Testing ppt
Testing pptTesting ppt
Testing ppt
 
Software Testing Tecniques
Software Testing TecniquesSoftware Testing Tecniques
Software Testing Tecniques
 
Software testing for biginners
Software testing for biginnersSoftware testing for biginners
Software testing for biginners
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 

En vedette

Pervasive Usability for Web 2.0
Pervasive Usability for Web 2.0Pervasive Usability for Web 2.0
Pervasive Usability for Web 2.0
HAUSEN HSIEH
 
Training ime, guru
Training ime, guruTraining ime, guru
Training ime, guru
imecommunity
 
Magazine spreads
Magazine spreadsMagazine spreads
Magazine spreads
zenmariku
 
File 2 office building
File 2 office buildingFile 2 office building
File 2 office building
imecommunity
 
02 kab final report in indonesia 2007
02 kab final report in indonesia 200702 kab final report in indonesia 2007
02 kab final report in indonesia 2007
imecommunity
 
職災勞工保護法 行政院版
職災勞工保護法 行政院版職災勞工保護法 行政院版
職災勞工保護法 行政院版
Willy Chen
 
201307苦勞季刊vol.5
201307苦勞季刊vol.5201307苦勞季刊vol.5
201307苦勞季刊vol.5
Willy Chen
 
In contact presentation
In contact presentationIn contact presentation
In contact presentation
Chris May
 

En vedette (20)

Own artist
Own artistOwn artist
Own artist
 
Leadership Summit 2010 October
Leadership Summit 2010 OctoberLeadership Summit 2010 October
Leadership Summit 2010 October
 
Frenchslideshow
FrenchslideshowFrenchslideshow
Frenchslideshow
 
Pervasive Usability for Web 2.0
Pervasive Usability for Web 2.0Pervasive Usability for Web 2.0
Pervasive Usability for Web 2.0
 
Durban Outcomes Presentation Slides Only
Durban Outcomes Presentation Slides OnlyDurban Outcomes Presentation Slides Only
Durban Outcomes Presentation Slides Only
 
CCAO Presentation
CCAO PresentationCCAO Presentation
CCAO Presentation
 
Training ime, guru
Training ime, guruTraining ime, guru
Training ime, guru
 
Magazine spreads
Magazine spreadsMagazine spreads
Magazine spreads
 
File 2 office building
File 2 office buildingFile 2 office building
File 2 office building
 
02 kab final report in indonesia 2007
02 kab final report in indonesia 200702 kab final report in indonesia 2007
02 kab final report in indonesia 2007
 
Youtube Policy Primer
Youtube Policy PrimerYoutube Policy Primer
Youtube Policy Primer
 
Television Cameras puzzle
Television Cameras puzzleTelevision Cameras puzzle
Television Cameras puzzle
 
TRIZ - v2.0
TRIZ - v2.0TRIZ - v2.0
TRIZ - v2.0
 
職災勞工保護法 行政院版
職災勞工保護法 行政院版職災勞工保護法 行政院版
職災勞工保護法 行政院版
 
201307苦勞季刊vol.5
201307苦勞季刊vol.5201307苦勞季刊vol.5
201307苦勞季刊vol.5
 
Leveraging Feature Selection Within TreeNet
Leveraging Feature Selection Within TreeNetLeveraging Feature Selection Within TreeNet
Leveraging Feature Selection Within TreeNet
 
In contact presentation
In contact presentationIn contact presentation
In contact presentation
 
Superstitious Pigeons
Superstitious PigeonsSuperstitious Pigeons
Superstitious Pigeons
 
Team work opp
Team work oppTeam work opp
Team work opp
 
Six Word Stories
Six Word StoriesSix Word Stories
Six Word Stories
 

Similaire à Software Testing 3/5

Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
Abhishek Saxena
 
Non Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar MohanNon Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar Mohan
Sampath kumar Mohan
 

Similaire à Software Testing 3/5 (20)

Manual testing
Manual testingManual testing
Manual testing
 
Manual testing
Manual testingManual testing
Manual testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing - SDLC Model
Software Testing - SDLC ModelSoftware Testing - SDLC Model
Software Testing - SDLC Model
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
ST Unit-3.pptx
ST Unit-3.pptxST Unit-3.pptx
ST Unit-3.pptx
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Sftwre engg.testng
Sftwre engg.testngSftwre engg.testng
Sftwre engg.testng
 
Solution Evaluation (BA Role)
Solution Evaluation (BA Role)   Solution Evaluation (BA Role)
Solution Evaluation (BA Role)
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software Testing , levels, Techniques, Tools
Software Testing , levels, Techniques, ToolsSoftware Testing , levels, Techniques, Tools
Software Testing , levels, Techniques, Tools
 
Non Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar MohanNon Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar Mohan
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software testing career 20180929 update
Software testing career 20180929 updateSoftware testing career 20180929 update
Software testing career 20180929 update
 

Plus de Damian T. Gordon

Plus de Damian T. Gordon (20)

Universal Design for Learning, Co-Designing with Students.
Universal Design for Learning, Co-Designing with Students.Universal Design for Learning, Co-Designing with Students.
Universal Design for Learning, Co-Designing with Students.
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
REST and RESTful Services
REST and RESTful ServicesREST and RESTful Services
REST and RESTful Services
 
Serverless Computing
Serverless ComputingServerless Computing
Serverless Computing
 
Cloud Identity Management
Cloud Identity ManagementCloud Identity Management
Cloud Identity Management
 
Containers and Docker
Containers and DockerContainers and Docker
Containers and Docker
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud Computing
 
Introduction to ChatGPT
Introduction to ChatGPTIntroduction to ChatGPT
Introduction to ChatGPT
 
How to Argue Logically
How to Argue LogicallyHow to Argue Logically
How to Argue Logically
 
Evaluating Teaching: SECTIONS
Evaluating Teaching: SECTIONSEvaluating Teaching: SECTIONS
Evaluating Teaching: SECTIONS
 
Evaluating Teaching: MERLOT
Evaluating Teaching: MERLOTEvaluating Teaching: MERLOT
Evaluating Teaching: MERLOT
 
Evaluating Teaching: Anstey and Watson Rubric
Evaluating Teaching: Anstey and Watson RubricEvaluating Teaching: Anstey and Watson Rubric
Evaluating Teaching: Anstey and Watson Rubric
 
Evaluating Teaching: LORI
Evaluating Teaching: LORIEvaluating Teaching: LORI
Evaluating Teaching: LORI
 
Designing Teaching: Pause Procedure
Designing Teaching: Pause ProcedureDesigning Teaching: Pause Procedure
Designing Teaching: Pause Procedure
 
Designing Teaching: ADDIE
Designing Teaching: ADDIEDesigning Teaching: ADDIE
Designing Teaching: ADDIE
 
Designing Teaching: ASSURE
Designing Teaching: ASSUREDesigning Teaching: ASSURE
Designing Teaching: ASSURE
 
Designing Teaching: Laurilliard's Learning Types
Designing Teaching: Laurilliard's Learning TypesDesigning Teaching: Laurilliard's Learning Types
Designing Teaching: Laurilliard's Learning Types
 
Designing Teaching: Gagne's Nine Events of Instruction
Designing Teaching: Gagne's Nine Events of InstructionDesigning Teaching: Gagne's Nine Events of Instruction
Designing Teaching: Gagne's Nine Events of Instruction
 
Designing Teaching: Elaboration Theory
Designing Teaching: Elaboration TheoryDesigning Teaching: Elaboration Theory
Designing Teaching: Elaboration Theory
 
Universally Designed Learning Spaces: Some Considerations
Universally Designed Learning Spaces: Some ConsiderationsUniversally Designed Learning Spaces: Some Considerations
Universally Designed Learning Spaces: Some Considerations
 

Dernier

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 

Dernier (20)

Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 

Software Testing 3/5

  • 2.
  • 3. Component Testing  Integration Testing  System Testing  Acceptance Testing
  • 4. Component Testing
  • 5. Component Testing  Also known as Unit Testing, Module Testing, and Program Testing
  • 6. Component Testing ◦ Searching for defects in, and verifies the functioning of software that are separately testable. ◦ This testing can be done in isolation of other parts of the system, using stubs and drivers. A A Driver B Stub B
  • 7. Component Testing ◦ May include the testing of the functionality and specific non-functional characteristics such as resource behaviour, e.g. Memory leaks ◦ Also Robustness testing or performance testing ◦ Also structure testing, e.g. Decision coverage
  • 8. Integration Testing
  • 9. Integration Testing ◦ Testing interfaces between components, as well as interactions to different parts of the system, such as an operating system, and a file system. ◦ Component Integration Testing is testing interactions between components ◦ System Integration Testing is testing the interaction of the developed system with other systems
  • 10. Integration Testing ◦ It’s generally better to integrate components to each other in groups, and then test that process, rather than a “big bang” integration when all discrete components are integrated simultaneously. ◦ With the “big bang” approach, it is very difficult to trace the cause of failures to one specific component. ◦ The opposite approach is integrating one component at a time, which can often be too time consuming.
  • 11. Integration Testing ◦ This incremental approach to integration leads to a number of possible approaches:  Top-Down: Test starts at the top, e.g. From the GUI or main menu  Bottom-up: One component at a time  Functional Incremental: Integration and testing on the basis of functionality
  • 12. System Testing
  • 13. System Testing  Looking at the behaviour of the whole system as defined by the scope of a development project.  It may include tests based on risks and/or requirements specification, business processes, use cases, or other high-level descriptions of system behaviour, interactions with the operating system, and system resources.
  • 14. System Testing  It is most often the final testing on behalf of the development to verify that the system delivered meets the specification.
  • 15. System Testing  It should include investigation of both the functional and non-functional requirements of the system ◦ Typical non-functional tests include performance and reliability. ◦ Typical functional tests include black-box testing.
  • 16. System Testing  It must be undertaken in a controlled test environment, with software versions, testware, and test data.  The test environment needs to match the live environment as much as possible.
  • 17. Acceptance Testing
  • 18. Acceptance Testing  This is testing done by the customers/users, potentially as well as other stakeholders.  The goal of this testing is to establish confidence in the system, focussing on issues such as fit-for-purpose, and usability.
  • 19. Acceptance Testing  Two types of acceptance testing: ◦ The user acceptance test focuses mainly on functionality thereby validating the fitness-for- use of the system by the users. ◦ The operational acceptance test validates whether the system meets the requirements for operation.
  • 20. Acceptance Testing  Other types of acceptance testing: ◦ Contract acceptance tests performed against a contract’s acceptance criteria for producing the software. ◦ Compliance acceptance tests are preformed against regulations such as governmental, legal or safety regulations.
  • 21. Acceptance Testing  If the software is intended for the mass market, customer testing is impractical, but feedback is needed, so it’s often done in a two stage process ◦ The first is Alpha Testing, this takes place at the developers site, a cross-section of potential users are invited to use the system, and developers observe the users and note problems. ◦ The second is Beta Testing, sends the system out to a cross-section of the users, who install it, and use it under real-world conditions. The users send records of incidents with the system to the development organisation where the defects are repaired.
  • 22.
  • 23. Functional Testing  Non-functional Testing  Structural Testing  Confirmation and Regression Testing
  • 24. Functional Testing
  • 25. Functional Testing  The function of a system is “what it does”.  Typically described in requirements document, or in use cases.  Can be based on ISO 9124, but focusing on suitability, interoperability, security, accuracy, and compliance.
  • 26. ISO is an international standard-setting body composed of representatives from various national standards organizations. Founded on February 23, 1947, the organization promulgates worldwide proprietary, industrial and commercial standards. It has its headquarters in Geneva, Switzerland.
  • 27. Functional Testing  Two types, Requirements-based testing and Business-process-based testing ◦ Requirements-based testing use the functional specification to develop tests. ◦ Business-process-based testing uses the knowledge of business processes.
  • 28. Non-Functional Testing
  • 29. Non-Functional Testing  Looking at quality characteristics, looking at how well something is being done, or how fast.  Includes things like, performance testing, load testing, stress testing, usability testing, maintainability testing, reliability testing, and portability testing.
  • 30. Non-Functional Testing  Can be based on ISO 9124, but focusing on reliability, usability, efficiency, maintainability, and portability.
  • 31. Structural Testing
  • 32. Structural Testing  Looking at the system architecture or structure of the system or component.  Often used as a way of measuring the thoroughness of the testing through coverage of a set of structural elements of coverage items.
  • 33. START Read in A Does A/2 Print “It’s Yes give a No Print “It’s Odd” remainder Even” ? END
  • 34. START Read in A and B Yes No Print A A>B? Print B END
  • 35. START Read in A, B and C Yes Yes No Yes A>C? A>B? B>C? No No Print A Print C Print B END
  • 36. START A=1 A=A+1 Is No Print A A==6? Yes END
  • 37. Confirmation and Regression Testing
  • 38. Confirmation and Regression Testing  Testing changes to software, two general types: ◦ Confirmation Testing ◦ Regression Testing
  • 39. Confirmation and Regression Testing  Confirmation Testing  When a test fails and we determine the cause of the failure, once that defect is fixed, we need to rerun the test again to confirm that the error has been corrected.  It is important to rerun the test in the exact same way – same input, same data, and same environment.
  • 40. Confirmation and Regression Testing  Regression Testing  Testing to check if there hasn’t been any “unexpected side-effects” as a result of some change.