SlideShare a Scribd company logo
Software Testing
Levels of Testing
 Unit Testing
 Integration Testing
 Validation Testing
 Regression Testing
 Alpha Testing
 Beta Testing
 Acceptance Testing
ch3.ppt ppt of chapter 3 software testing
Unit Testing
 Algorithms and logic
 Data structures (global and local)
 Interfaces
 Independent paths
 Boundary conditions
 Error handling
Why Integration Testing Is
Necessary
 One module can have an adverse effect
on another
 Subfunctions, when combined, may not
produce the desired major function
 Individually acceptable imprecision in
calculations may be magnified to
unacceptable levels
Why Integration Testing Is
Necessary (cont’d)
 Interfacing errors not detected in unit
testing may appear
 Timing problems (in real-time systems)
are not detectable by unit testing
 Resource contention problems are not
detectable by unit testing
Top-Down Integration
1. The main control module is used as a
driver, and stubs are substituted for all
modules directly subordinate to the
main module.
2. Depending on the integration approach
selected (depth or breadth first),
subordinate stubs are replaced by
modules one at a time.
Top-Down Integration (cont’d)
3. Tests are run as each individual
module is integrated.
4. On the successful completion of a set
of tests, another stub is replaced with a
real module
5. Regression testing is performed to
ensure that errors have not developed
as result of integrating new modules
Problems with Top-Down
Integration
 Many times, calculations are performed in the
modules at the bottom of the hierarchy
 Stubs typically do not pass data up to the
higher modules
 Delaying testing until lower-level modules are
ready usually results in integrating many
modules at the same time rather than one at a
time
 Developing stubs that can pass data up is
almost as much work as developing the actual
module
Bottom-Up Integration
 Integration begins with the lowest-level
modules, which are combined into clusters, or
builds, that perform a specific software
subfunction
 Drivers (control programs developed as stubs)
are written to coordinate test case input and
output
 The cluster is tested
 Drivers are removed and clusters are combined
moving upward in the program structure
Problems with Bottom-Up
Integration
 The whole program does not exist until
the last module is integrated
 Timing and resource contention
problems are not found until late in the
process
Validation Testing
 Determine if the software meets all of the
requirements defined in the SRS
 Having written requirements is essential
 Regression testing is performed to determine if
the software still meets all of its requirements in
light of changes and modifications to the
software
 Regression testing involves selectively
repeating existing validation tests, not
developing new tests
Alpha and Beta Testing
 It’s best to provide customers with an
outline of the things that you would like
them to focus on and specific test
scenarios for them to execute.
 Provide with customers who are actively
involved with a commitment to fix defects
that they discover.
Acceptance Testing
 Similar to validation testing except that
customers are present or directly
involved.
 Usually the tests are developed by the
customer
Test Methods
 White box or glass box testing
 Black box testing
 Top-down and bottom-up for performing
incremental integration
 ALAC (Act-like-a-customer)
Test Types
 Functional tests
 Algorithmic tests
 Positive tests
 Negative tests
 Usability tests
 Boundary tests
 Startup/shutdown tests
 Platform tests
 Load/stress tests
ch3.ppt ppt of chapter 3 software testing
ch3.ppt ppt of chapter 3 software testing
ch3.ppt ppt of chapter 3 software testing
ch3.ppt ppt of chapter 3 software testing
ch3.ppt ppt of chapter 3 software testing
ch3.ppt ppt of chapter 3 software testing
ch3.ppt ppt of chapter 3 software testing
ch3.ppt ppt of chapter 3 software testing

More Related Content

PPT
Software testing
PPT
Demo1ghjkl
PPT
Software testing
PPT
Software testing2
PPT
Software testing
PPT
Software testing
PPT
Software test proposal
PPT
Testing strategies
Software testing
Demo1ghjkl
Software testing
Software testing2
Software testing
Software testing
Software test proposal
Testing strategies

Similar to ch3.ppt ppt of chapter 3 software testing (20)

PPT
Software testing
PPT
Software testing
PPTX
Software Testing Strategies ,Validation Testing and System Testing.
DOCX
Unit 4 Software engineering deatiled notes.docx
PPTX
08 fse verification
DOCX
DOCX
Testing type
PDF
Integration testing complete overview
PPTX
PPT
Lecture18- Testing Strategy.ppt by aiman
PDF
Integration Testing in 2025: Best Practices for Reliable Software
DOC
software engineering
PDF
What is integration testing
PPTX
SE-Unit 4_software testing stretagy.pptx
PPT
software-testing-strategies888888888.ppt
PPTX
Software Testing
PPTX
Software Testing
PPT
Software Testing
PPT
Chapter 9 Testing Strategies.ppt
PPTX
Software testing.ppt
Software testing
Software testing
Software Testing Strategies ,Validation Testing and System Testing.
Unit 4 Software engineering deatiled notes.docx
08 fse verification
Testing type
Integration testing complete overview
Lecture18- Testing Strategy.ppt by aiman
Integration Testing in 2025: Best Practices for Reliable Software
software engineering
What is integration testing
SE-Unit 4_software testing stretagy.pptx
software-testing-strategies888888888.ppt
Software Testing
Software Testing
Software Testing
Chapter 9 Testing Strategies.ppt
Software testing.ppt
Ad

Recently uploaded (20)

PDF
Pre independence Education in Inndia.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Basic Mud Logging Guide for educational purpose
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
Institutional Correction lecture only . . .
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
01-Introduction-to-Information-Management.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Classroom Observation Tools for Teachers
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Pre independence Education in Inndia.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
O7-L3 Supply Chain Operations - ICLT Program
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
STATICS OF THE RIGID BODIES Hibbelers.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Basic Mud Logging Guide for educational purpose
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Institutional Correction lecture only . . .
Pharmacology of Heart Failure /Pharmacotherapy of CHF
01-Introduction-to-Information-Management.pdf
VCE English Exam - Section C Student Revision Booklet
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Classroom Observation Tools for Teachers
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Ad

ch3.ppt ppt of chapter 3 software testing

  • 2. Levels of Testing  Unit Testing  Integration Testing  Validation Testing  Regression Testing  Alpha Testing  Beta Testing  Acceptance Testing
  • 4. Unit Testing  Algorithms and logic  Data structures (global and local)  Interfaces  Independent paths  Boundary conditions  Error handling
  • 5. Why Integration Testing Is Necessary  One module can have an adverse effect on another  Subfunctions, when combined, may not produce the desired major function  Individually acceptable imprecision in calculations may be magnified to unacceptable levels
  • 6. Why Integration Testing Is Necessary (cont’d)  Interfacing errors not detected in unit testing may appear  Timing problems (in real-time systems) are not detectable by unit testing  Resource contention problems are not detectable by unit testing
  • 7. Top-Down Integration 1. The main control module is used as a driver, and stubs are substituted for all modules directly subordinate to the main module. 2. Depending on the integration approach selected (depth or breadth first), subordinate stubs are replaced by modules one at a time.
  • 8. Top-Down Integration (cont’d) 3. Tests are run as each individual module is integrated. 4. On the successful completion of a set of tests, another stub is replaced with a real module 5. Regression testing is performed to ensure that errors have not developed as result of integrating new modules
  • 9. Problems with Top-Down Integration  Many times, calculations are performed in the modules at the bottom of the hierarchy  Stubs typically do not pass data up to the higher modules  Delaying testing until lower-level modules are ready usually results in integrating many modules at the same time rather than one at a time  Developing stubs that can pass data up is almost as much work as developing the actual module
  • 10. Bottom-Up Integration  Integration begins with the lowest-level modules, which are combined into clusters, or builds, that perform a specific software subfunction  Drivers (control programs developed as stubs) are written to coordinate test case input and output  The cluster is tested  Drivers are removed and clusters are combined moving upward in the program structure
  • 11. Problems with Bottom-Up Integration  The whole program does not exist until the last module is integrated  Timing and resource contention problems are not found until late in the process
  • 12. Validation Testing  Determine if the software meets all of the requirements defined in the SRS  Having written requirements is essential  Regression testing is performed to determine if the software still meets all of its requirements in light of changes and modifications to the software  Regression testing involves selectively repeating existing validation tests, not developing new tests
  • 13. Alpha and Beta Testing  It’s best to provide customers with an outline of the things that you would like them to focus on and specific test scenarios for them to execute.  Provide with customers who are actively involved with a commitment to fix defects that they discover.
  • 14. Acceptance Testing  Similar to validation testing except that customers are present or directly involved.  Usually the tests are developed by the customer
  • 15. Test Methods  White box or glass box testing  Black box testing  Top-down and bottom-up for performing incremental integration  ALAC (Act-like-a-customer)
  • 16. Test Types  Functional tests  Algorithmic tests  Positive tests  Negative tests  Usability tests  Boundary tests  Startup/shutdown tests  Platform tests  Load/stress tests