0% found this document useful (0 votes)
10 views

Chapter 6

Uploaded by

amgadalinasser00
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Chapter 6

Uploaded by

amgadalinasser00
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 30

Chapter 6

Software Testing

Chapter6 Dr. Ali Al-Hamdi 1


Objectives
 Understand the stages of testing from testing during
development to acceptance testing by system customers;
 Have been introduced to techniques that help you choose
test cases that are geared to discovering program defects;
 Understand test-first development, where you design tests
before writing code and run these tests automatically;
 Know about three distinct types of testing—component
testing, system testing, and release testing;
 Understand the distinctions between development testing
andChapter6
user testing. Dr. Ali Al-Hamdi 2
Contents

 Development testing
 Test-driven development
 Release testing
 User testing .

Chapter6 Dr. Ali Al-Hamdi 3


6.1 Introduction

 Definition
 Testing types
 Verification & validation
 Edsger Dijksra

 Goal of V&V
 S/W Confidence levels
Chapter6 Dr. Ali Al-Hamdi 4
6.1 Introduction

 V&V and S/W inspection and review

 Advantages and disadvantages of inspection


Chapter6 Dr. Ali Al-Hamdi 5
6.1 Introduction

 S/W testing process in which development


approach?
 What can be automated?

Chapter6 Dr. Ali Al-Hamdi 6


6.1 Introduction

 Test plan

 Commercially S/W testing stages


 Development testing
 Release testing
 User testing
 Practical testing types, comparison,
applicability
Chapter6 Dr. Ali Al-Hamdi 7
6.2 Development Testing

 Testing team

 Stages of development testing

 Aim

Chapter6 Dr. Ali Al-Hamdi 8


6.2.1 Unit Testing

 Unit testing scope

 Testing approaches

 What testing

 Unit level testing

Chapter6 Dr. Ali Al-Hamdi 9


6.2.1 Unit Testing

 Testing types

 Automatic testing and its parts

 Testing data and objects types

Chapter6 Dr. Ali Al-Hamdi 10


6.2.2 Choosing Unit Testing Cases

 Testing issues

 Solution

 Cases effectiveness meaning

 Strategies of effective test cases


Chapter6 Dr. Ali Al-Hamdi 11
6.2.2 Choosing Unit Testing Cases

 Equivalence partitioning

Chapter6 Dr. Ali Al-Hamdi 12


6.2.2 Choosing Unit Testing Cases

 Equivalence partitions (domains)

Chapter6 Dr. Ali Al-Hamdi 13


6.2.2 Choosing Unit Testing Cases

 Partitions identification

 Testing types for system specification

 Testing guidelines

Chapter6 Dr. Ali Al-Hamdi 14


6.2.3 Component Testing

 Definition

 What testing

 Types of interfaces

 Interface errors classes


Chapter6 Dr. Ali Al-Hamdi 15
6.2.3 Component Testing

 Interface testing problems

 Interface testing guidelines

 Inspection & review for interface testing

Chapter6 Dr. Ali Al-Hamdi 16


6.2.4 System Testing

 Definition

 System and component testing relationship

 Managing emergent behaviour

Chapter6 Dr. Ali Al-Hamdi 17


6.2.4 System Testing

 Use case-based testing


 Sequences diagram benefits

Chapter6 Dr. Ali Al-Hamdi 18


6.2.4 System Testing

 Exhaustive system testing?

 Solution?

 Subset choosing policies?

 Automated system testing compared to UT


and CT?
Chapter6 Dr. Ali Al-Hamdi 19
6.3 Test-driven development

 Definition

 TDD process testing

Chapter6 Dr. Ali Al-Hamdi 20


6.3 Test-driven development

 Automated tool?

 Advantages and disadvantages of TDD

 TDD applicability

Chapter6 Dr. Ali Al-Hamdi 21


6.4 Release Testing

 Definition

 Release and system testing distinction

 Goal

 Testing type
Chapter6 Dr. Ali Al-Hamdi 22
6.4.1 Requirement-based Testing

 Testing condition

 Testing nature

 Example

 Conclusion
Chapter6 Dr. Ali Al-Hamdi 23
6.4.1 Scenario-based Testing

 Definition

 Testing conditions

Chapter6 Dr. Ali Al-Hamdi 24


6.4.1 Scenario-based Testing

 Example

 Conclusion
Chapter6 Dr. Ali Al-Hamdi 25
6.4.3 Performance Testing

 Definition

 Goal

 Stress testing
 Functions
 Applicability
 Advantage
Chapter6 Dr. Ali Al-Hamdi 26
6.4.5 User Testing

 Definition

 Types

 Importance

 Types

Chapter6 Dr. Ali Al-Hamdi 27


6.4.5 User Testing

 Alpha testing process

 Alpha testing advantages

 Beta testing process

 Beta testing advantages

Chapter6 Dr. Ali Al-Hamdi 28


6.4.5 User Testing

 Acceptance testing process

Chapter6 Dr. Ali Al-Hamdi 29


6.4.5 User Testing

 Acceptance testing in Agile development


 Nature
 User roles
 Problem
 Solution

Chapter6 Dr. Ali Al-Hamdi 30

You might also like