際際滷

際際滷Share a Scribd company logo
Chapters
Chapter IV
Software Testing
Software Testing Techniques
Software Testing Strategies
1
Software Testing
2
Testing Objectives
 Testing is a process of executing a program with the
intent of finding an error.
 A successful test is one that uncovers an as-yet-
undiscovered error.
Software Testing
3
Attributes of a good test
 A good test has a high probability of finding an error.
 A good test is not redundant.
 A good test should be best of breed.
 A good test should be neither too simple nor too
complex.
Software Testing Principles
4
Testing Principles
 All tests should be traceable to customer
requirements.
 Tests should be planned long before testing begins.
 The Pareto principle applies to software testing.
 Testing should begin in the small and progress
toward testing in the large.
 Exhaustive testing is not possible.
 To be most effective, testing should be conducted by
an independent third party.
Software Testing Techniques
5
Test Case Design Methods
 Black-Box Testing: Knowing the specified function that
a product has been designed to perform, tests can be
conducted that demonstrate each function is fully
operational while at the same time searching for errors
in each function.
 White-Box Testing: Knowing the internal workings of a
product, tests can be conducted to ensure that internal
operations are performed according to specifications
and all internal components have been adequately
exercised.
White-Box Testing
6
White-box testing (glass-box testing) uses the control
structure of the procedural design to derive test cases, in
such a way that
 guarantee that all independent paths within a module
have been exercised at least once,
 exercise all logical decisions on their true and false
sides,
 execute all loops at their boundaries and within their
operational bounds,
 exercise internal data structures to ensure their
validity.
White-Box Testing Techniques
7
Basis Path Testing (Tom McCabe)
 enables the test case designer to derive a logical
complexity measure of a procedural design and use
this measure as a guide for defining a basis set of
execution paths.
White-Box Testing Techniques
8
Basis Path Testing (cont.)
White-Box Testing Techniques
9
Basis Path Testing (cont.)
Black-Box Testing
10
Black-box testing (behavioral testing) focuses on the
functional requirements of the software, enables the
software engineer to derive sets of input conditions that
will fully exercise all functional requirements for a
program.
Black-box testing attempts to find errors in the following
categories:
 incorrect or missing functions,
 interface errors,
 errors in data structures or external database access,
 behavior or performance errors,
 initialization and termination errors.
Black-Box Testing
11
Graph-Based Testing Methods
 the first step is to understand the objects that are
modeled in software and the relationships that connect
these objects.
 next step is to define a series of tests that verify all
objects have the expected relationship to one another
(1) creating a graph of important objects and their
relationships
(2) devising a series of tests that will cover the graph
so that each object and relationship is exercised and
errors are uncovered.
Black-Box Testing
12
Graph-Based Testing Methods
 A graph is a collection of
 nodes that represent objects;
 links that represent the relationships between
objects;
 node weights that describe the properties of a node
(e.g., a specific data value or state behavior);
 link weights that describe some characteristic of a
link.
Black-Box Testing
13
Graph-Based Testing Methods
Black-Box Testing
14
Graph-Based Testing Methods

More Related Content

What's hot (20)

Bai giang-spm-16jan14
Bai giang-spm-16jan14Bai giang-spm-16jan14
Bai giang-spm-16jan14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bai giang-spm-11mar14
Bai giang-spm-11mar14Bai giang-spm-11mar14
Bai giang-spm-11mar14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Software Project management
Software Project managementSoftware Project management
Software Project management
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bai giang-se-13jan14
Bai giang-se-13jan14Bai giang-se-13jan14
Bai giang-se-13jan14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bai giang-se-16jan14
Bai giang-se-16jan14Bai giang-se-16jan14
Bai giang-se-16jan14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bai giang-spm-13feb14
Bai giang-spm-13feb14Bai giang-spm-13feb14
Bai giang-spm-13feb14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bai giang-se-20feb14
Bai giang-se-20feb14Bai giang-se-20feb14
Bai giang-se-20feb14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bai giang-se-24feb14
Bai giang-se-24feb14Bai giang-se-24feb14
Bai giang-se-24feb14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bai giang-se-27feb14
Bai giang-se-27feb14Bai giang-se-27feb14
Bai giang-se-27feb14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Unit 1 sepm the generic process model
Unit 1 sepm the generic process modelUnit 1 sepm the generic process model
Unit 1 sepm the generic process model
KanchanPatil34
Software project scheduling
Software project schedulingSoftware project scheduling
Software project scheduling
lokareminakshi
Testing Software
Testing SoftwareTesting Software
Testing Software
Sibel Kuzgun AKIN
V and v model
V and v modelV and v model
V and v model
lokareminakshi
R Studio (Report)
R Studio (Report)R Studio (Report)
R Studio (Report)
Adeel Rasheed
Bai giang-uml-14jan14
Bai giang-uml-14jan14Bai giang-uml-14jan14
Bai giang-uml-14jan14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
User Interface and User Experience
User Interface and User ExperienceUser Interface and User Experience
User Interface and User Experience
Sibel Kuzgun AKIN
Phased life cycle model
Phased life cycle modelPhased life cycle model
Phased life cycle model
Stephennancy
Idea-Product
Idea-ProductIdea-Product
Idea-Product
Sanjay Sahni
1. The Software Development Process - Analysis
1. The Software Development Process - Analysis1. The Software Development Process - Analysis
1. The Software Development Process - Analysis
Forrester High School
Defining the Problem - Goals and requirements
Defining the Problem - Goals and requirementsDefining the Problem - Goals and requirements
Defining the Problem - Goals and requirements
Stephennancy
Unit 1 sepm the generic process model
Unit 1 sepm the generic process modelUnit 1 sepm the generic process model
Unit 1 sepm the generic process model
KanchanPatil34
Software project scheduling
Software project schedulingSoftware project scheduling
Software project scheduling
lokareminakshi
R Studio (Report)
R Studio (Report)R Studio (Report)
R Studio (Report)
Adeel Rasheed
User Interface and User Experience
User Interface and User ExperienceUser Interface and User Experience
User Interface and User Experience
Sibel Kuzgun AKIN
Phased life cycle model
Phased life cycle modelPhased life cycle model
Phased life cycle model
Stephennancy
1. The Software Development Process - Analysis
1. The Software Development Process - Analysis1. The Software Development Process - Analysis
1. The Software Development Process - Analysis
Forrester High School
Defining the Problem - Goals and requirements
Defining the Problem - Goals and requirementsDefining the Problem - Goals and requirements
Defining the Problem - Goals and requirements
Stephennancy

Similar to Bai giang-se-03mar14 (20)

CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
SIMONTHOMAS S
Blackbox
BlackboxBlackbox
Blackbox
GuruKrishnaTeja
Software_Testing_Techniques_undergraduate.pptx
Software_Testing_Techniques_undergraduate.pptxSoftware_Testing_Techniques_undergraduate.pptx
Software_Testing_Techniques_undergraduate.pptx
MrittikaMahbub1
White box & black box testing
White box & black box testingWhite box & black box testing
White box & black box testing
Saket Khopkar
white box and black box testing in software engineering
white box and black box testing in software engineeringwhite box and black box testing in software engineering
white box and black box testing in software engineering
NabeelRehman21
Testing
TestingTesting
Testing
Mohammed
Software Testing and Debugging
Software Testing and DebuggingSoftware Testing and Debugging
Software Testing and Debugging
university of education,Lahore
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdf
FarjanaParvin5
Testing
TestingTesting
Testing
Sonali Chauhan
Testing chapter updated (1)
Testing chapter updated (1)Testing chapter updated (1)
Testing chapter updated (1)
abdullah619
Software Testing Tecniques
Software Testing TecniquesSoftware Testing Tecniques
Software Testing Tecniques
ersanbilik
S440999102
S440999102S440999102
S440999102
IJERA Editor
SOFTWARE TESTING PRESENTATION .pptx
SOFTWARE TESTING PRESENTATION .pptxSOFTWARE TESTING PRESENTATION .pptx
SOFTWARE TESTING PRESENTATION .pptx
Hassan Rasool
software quality Assurance-lecture26.ppt
software quality Assurance-lecture26.pptsoftware quality Assurance-lecture26.ppt
software quality Assurance-lecture26.ppt
ZainabShahzad9
Unit 6
Unit 6Unit 6
Unit 6
anuragmbst
Block 1 ms-034 unit-1
Block 1 ms-034 unit-1Block 1 ms-034 unit-1
Block 1 ms-034 unit-1
Nirmal Jasmatiya
Software testing part
Software testing partSoftware testing part
Software testing part
Preeti Mishra
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technology
Hasam Panezai
oose ppt white box testing and black box
oose ppt white box testing and black boxoose ppt white box testing and black box
oose ppt white box testing and black box
SUJALArora15
STesting (Unit-II).ppt
STesting (Unit-II).pptSTesting (Unit-II).ppt
STesting (Unit-II).ppt
SouravMohanty43
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
SIMONTHOMAS S
Software_Testing_Techniques_undergraduate.pptx
Software_Testing_Techniques_undergraduate.pptxSoftware_Testing_Techniques_undergraduate.pptx
Software_Testing_Techniques_undergraduate.pptx
MrittikaMahbub1
White box & black box testing
White box & black box testingWhite box & black box testing
White box & black box testing
Saket Khopkar
white box and black box testing in software engineering
white box and black box testing in software engineeringwhite box and black box testing in software engineering
white box and black box testing in software engineering
NabeelRehman21
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdf
FarjanaParvin5
Testing chapter updated (1)
Testing chapter updated (1)Testing chapter updated (1)
Testing chapter updated (1)
abdullah619
Software Testing Tecniques
Software Testing TecniquesSoftware Testing Tecniques
Software Testing Tecniques
ersanbilik
SOFTWARE TESTING PRESENTATION .pptx
SOFTWARE TESTING PRESENTATION .pptxSOFTWARE TESTING PRESENTATION .pptx
SOFTWARE TESTING PRESENTATION .pptx
Hassan Rasool
software quality Assurance-lecture26.ppt
software quality Assurance-lecture26.pptsoftware quality Assurance-lecture26.ppt
software quality Assurance-lecture26.ppt
ZainabShahzad9
Software testing part
Software testing partSoftware testing part
Software testing part
Preeti Mishra
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technology
Hasam Panezai
oose ppt white box testing and black box
oose ppt white box testing and black boxoose ppt white box testing and black box
oose ppt white box testing and black box
SUJALArora15
STesting (Unit-II).ppt
STesting (Unit-II).pptSTesting (Unit-II).ppt
STesting (Unit-II).ppt
SouravMohanty43

More from TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng (6)

Unified Modelling Language
Unified Modelling Language Unified Modelling Language
Unified Modelling Language
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bao tri-phan-mem-for-56 pm
Bao tri-phan-mem-for-56 pmBao tri-phan-mem-for-56 pm
Bao tri-phan-mem-for-56 pm
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bai giang-uml-25-27feb14
Bai giang-uml-25-27feb14Bai giang-uml-25-27feb14
Bai giang-uml-25-27feb14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bai giang-uml-18feb14
Bai giang-uml-18feb14Bai giang-uml-18feb14
Bai giang-uml-18feb14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bai giang-uml-11feb14
Bai giang-uml-11feb14Bai giang-uml-11feb14
Bai giang-uml-11feb14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng
Bai giang-uml-21jan14
Bai giang-uml-21jan14Bai giang-uml-21jan14
Bai giang-uml-21jan14
TRAN Khanh Dung, Khoa CNTT, 畉i H畛c X但y D畛ng

Recently uploaded (20)

Stewart Butler - OECD - How to design and deliver higher technical education ...
Stewart Butler - OECD - How to design and deliver higher technical education ...Stewart Butler - OECD - How to design and deliver higher technical education ...
Stewart Butler - OECD - How to design and deliver higher technical education ...
EduSkills OECD
"Dictyoptera: The Order of Cockroaches and Mantises" Or, more specifically: ...
"Dictyoptera: The Order of Cockroaches and Mantises"  Or, more specifically: ..."Dictyoptera: The Order of Cockroaches and Mantises"  Or, more specifically: ...
"Dictyoptera: The Order of Cockroaches and Mantises" Or, more specifically: ...
Arshad Shaikh
Cloud Computing ..PPT ( Faizan ALTAF )..
Cloud Computing ..PPT ( Faizan ALTAF )..Cloud Computing ..PPT ( Faizan ALTAF )..
Cloud Computing ..PPT ( Faizan ALTAF )..
faizanaltaf231
"Hymenoptera: A Diverse and Fascinating Order".pptx
"Hymenoptera: A Diverse and Fascinating Order".pptx"Hymenoptera: A Diverse and Fascinating Order".pptx
"Hymenoptera: A Diverse and Fascinating Order".pptx
Arshad Shaikh
LDMMIA About me 2025 Edition 3 College Volume
LDMMIA About me 2025 Edition 3 College VolumeLDMMIA About me 2025 Edition 3 College Volume
LDMMIA About me 2025 Edition 3 College Volume
LDM & Mia eStudios
Coleoptera: The Largest Insect Order.pptx
Coleoptera: The Largest Insect Order.pptxColeoptera: The Largest Insect Order.pptx
Coleoptera: The Largest Insect Order.pptx
Arshad Shaikh
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdfTechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup
Writing Research Papers: Guidance for Research Community
Writing Research Papers: Guidance for Research CommunityWriting Research Papers: Guidance for Research Community
Writing Research Papers: Guidance for Research Community
Rishi Bankim Chandra Evening College, Naihati, North 24 Parganas, West Bengal, India
Order Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptxOrder Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptx
Arshad Shaikh
K-Circle-Weekly-Quiz-May2025_12345678910
K-Circle-Weekly-Quiz-May2025_12345678910K-Circle-Weekly-Quiz-May2025_12345678910
K-Circle-Weekly-Quiz-May2025_12345678910
PankajRodey1
POS Reporting in Odoo 18 - Odoo 18 際際滷s
POS Reporting in Odoo 18 - Odoo 18 際際滷sPOS Reporting in Odoo 18 - Odoo 18 際際滷s
POS Reporting in Odoo 18 - Odoo 18 際際滷s
Celine George
QUIZ-O-FORCE FINAL SET BY SUDIPTA & SUBHAM.pptx
QUIZ-O-FORCE FINAL SET BY SUDIPTA & SUBHAM.pptxQUIZ-O-FORCE FINAL SET BY SUDIPTA & SUBHAM.pptx
QUIZ-O-FORCE FINAL SET BY SUDIPTA & SUBHAM.pptx
Sourav Kr Podder
Multicultural approach in education - B.Ed
Multicultural approach in education - B.EdMulticultural approach in education - B.Ed
Multicultural approach in education - B.Ed
prathimagowda443
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
wygalkelceqg
STUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANASTUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANA
Kweku Zurek
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
SweetytamannaMohapat
Search Engine Optimization (SEO) for Website Success
Search Engine Optimization (SEO) for Website SuccessSearch Engine Optimization (SEO) for Website Success
Search Engine Optimization (SEO) for Website Success
muneebrana3215
0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx
0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx
0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx
Juli叩n Jes炭s P辿rez Fern叩ndez
How to Setup Lunch in Odoo 18 - Odoo guides
How to Setup Lunch in Odoo 18 - Odoo guidesHow to Setup Lunch in Odoo 18 - Odoo guides
How to Setup Lunch in Odoo 18 - Odoo guides
Celine George
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
RVSPSOA
Stewart Butler - OECD - How to design and deliver higher technical education ...
Stewart Butler - OECD - How to design and deliver higher technical education ...Stewart Butler - OECD - How to design and deliver higher technical education ...
Stewart Butler - OECD - How to design and deliver higher technical education ...
EduSkills OECD
"Dictyoptera: The Order of Cockroaches and Mantises" Or, more specifically: ...
"Dictyoptera: The Order of Cockroaches and Mantises"  Or, more specifically: ..."Dictyoptera: The Order of Cockroaches and Mantises"  Or, more specifically: ...
"Dictyoptera: The Order of Cockroaches and Mantises" Or, more specifically: ...
Arshad Shaikh
Cloud Computing ..PPT ( Faizan ALTAF )..
Cloud Computing ..PPT ( Faizan ALTAF )..Cloud Computing ..PPT ( Faizan ALTAF )..
Cloud Computing ..PPT ( Faizan ALTAF )..
faizanaltaf231
"Hymenoptera: A Diverse and Fascinating Order".pptx
"Hymenoptera: A Diverse and Fascinating Order".pptx"Hymenoptera: A Diverse and Fascinating Order".pptx
"Hymenoptera: A Diverse and Fascinating Order".pptx
Arshad Shaikh
LDMMIA About me 2025 Edition 3 College Volume
LDMMIA About me 2025 Edition 3 College VolumeLDMMIA About me 2025 Edition 3 College Volume
LDMMIA About me 2025 Edition 3 College Volume
LDM & Mia eStudios
Coleoptera: The Largest Insect Order.pptx
Coleoptera: The Largest Insect Order.pptxColeoptera: The Largest Insect Order.pptx
Coleoptera: The Largest Insect Order.pptx
Arshad Shaikh
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdfTechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdf
TechSoup
Order Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptxOrder Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptx
Arshad Shaikh
K-Circle-Weekly-Quiz-May2025_12345678910
K-Circle-Weekly-Quiz-May2025_12345678910K-Circle-Weekly-Quiz-May2025_12345678910
K-Circle-Weekly-Quiz-May2025_12345678910
PankajRodey1
POS Reporting in Odoo 18 - Odoo 18 際際滷s
POS Reporting in Odoo 18 - Odoo 18 際際滷sPOS Reporting in Odoo 18 - Odoo 18 際際滷s
POS Reporting in Odoo 18 - Odoo 18 際際滷s
Celine George
QUIZ-O-FORCE FINAL SET BY SUDIPTA & SUBHAM.pptx
QUIZ-O-FORCE FINAL SET BY SUDIPTA & SUBHAM.pptxQUIZ-O-FORCE FINAL SET BY SUDIPTA & SUBHAM.pptx
QUIZ-O-FORCE FINAL SET BY SUDIPTA & SUBHAM.pptx
Sourav Kr Podder
Multicultural approach in education - B.Ed
Multicultural approach in education - B.EdMulticultural approach in education - B.Ed
Multicultural approach in education - B.Ed
prathimagowda443
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...
wygalkelceqg
STUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANASTUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANA
Kweku Zurek
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
SweetytamannaMohapat
Search Engine Optimization (SEO) for Website Success
Search Engine Optimization (SEO) for Website SuccessSearch Engine Optimization (SEO) for Website Success
Search Engine Optimization (SEO) for Website Success
muneebrana3215
How to Setup Lunch in Odoo 18 - Odoo guides
How to Setup Lunch in Odoo 18 - Odoo guidesHow to Setup Lunch in Odoo 18 - Odoo guides
How to Setup Lunch in Odoo 18 - Odoo guides
Celine George
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
SEM II 3202 STRUCTURAL MECHANICS, B ARCH, REGULATION 2021, ANNA UNIVERSITY, R...
RVSPSOA

Bai giang-se-03mar14

  • 1. Chapters Chapter IV Software Testing Software Testing Techniques Software Testing Strategies 1
  • 2. Software Testing 2 Testing Objectives Testing is a process of executing a program with the intent of finding an error. A successful test is one that uncovers an as-yet- undiscovered error.
  • 3. Software Testing 3 Attributes of a good test A good test has a high probability of finding an error. A good test is not redundant. A good test should be best of breed. A good test should be neither too simple nor too complex.
  • 4. Software Testing Principles 4 Testing Principles All tests should be traceable to customer requirements. Tests should be planned long before testing begins. The Pareto principle applies to software testing. Testing should begin in the small and progress toward testing in the large. Exhaustive testing is not possible. To be most effective, testing should be conducted by an independent third party.
  • 5. Software Testing Techniques 5 Test Case Design Methods Black-Box Testing: Knowing the specified function that a product has been designed to perform, tests can be conducted that demonstrate each function is fully operational while at the same time searching for errors in each function. White-Box Testing: Knowing the internal workings of a product, tests can be conducted to ensure that internal operations are performed according to specifications and all internal components have been adequately exercised.
  • 6. White-Box Testing 6 White-box testing (glass-box testing) uses the control structure of the procedural design to derive test cases, in such a way that guarantee that all independent paths within a module have been exercised at least once, exercise all logical decisions on their true and false sides, execute all loops at their boundaries and within their operational bounds, exercise internal data structures to ensure their validity.
  • 7. White-Box Testing Techniques 7 Basis Path Testing (Tom McCabe) enables the test case designer to derive a logical complexity measure of a procedural design and use this measure as a guide for defining a basis set of execution paths.
  • 10. Black-Box Testing 10 Black-box testing (behavioral testing) focuses on the functional requirements of the software, enables the software engineer to derive sets of input conditions that will fully exercise all functional requirements for a program. Black-box testing attempts to find errors in the following categories: incorrect or missing functions, interface errors, errors in data structures or external database access, behavior or performance errors, initialization and termination errors.
  • 11. Black-Box Testing 11 Graph-Based Testing Methods the first step is to understand the objects that are modeled in software and the relationships that connect these objects. next step is to define a series of tests that verify all objects have the expected relationship to one another (1) creating a graph of important objects and their relationships (2) devising a series of tests that will cover the graph so that each object and relationship is exercised and errors are uncovered.
  • 12. Black-Box Testing 12 Graph-Based Testing Methods A graph is a collection of nodes that represent objects; links that represent the relationships between objects; node weights that describe the properties of a node (e.g., a specific data value or state behavior); link weights that describe some characteristic of a link.