Module 4
Module 4
Tech
Course Code: 23CSE303
SOFTWARE ENGINEERING
Module 4: Testing
Module 4
Testing
Introduction, A Model Of the Software Testing
Process, Software Types of S/W Testing –
Black Box Testing- Equivalence Partitioning,
Boundary value analysis,–White boxTesting –
BasisPath
Testing,-Regression Testing – Unit Testing –
Integration Testing – Validation Testing
SystemTesting and Debugging
Table of Content
Objective
Topics/Sections
Unit Testing
Example of A Car
Design each components of a car and
testing individually is Unit Testing
Integrating All components together is
Integration testing
Assessments
Question 1:
Which type of testing ensures that the
errors and faults are settled at the end
of the testing?
1. Recover testing
2. Regression Testing
3. Retesting
4. Unit Testing
Activities
Outcomes:
Reference Material
https://archive.nptel.ac.in/courses/106/105/106105182/
•
Contents
Introduction
Two Distinct Goals
Verification and validation
Inspections and testing
Advantages of software inspection
over testing
Development testing
Development testing at three levels
Types of S/W Testing
Black Box Testing
Ex
Test Case 2:
Test Case 3:
Test Case 4
White Box Testing
White Box Testing
Test Case 1
Test Case 2
Test Case 3
Choosing unit test cases
Strategies to choose Test cases
Equivalence Partitioning
Equivalence Partitioning
Equivalence Partitioning
Equivalence Partitioning
Ex:
Boundary value analysis
Boundary value analysis
Boundary value analysis
Boundary value analysis
Boundary value analysis
Basis Path Testing
Basis Path Testing
Basis Path Testing
Basis Path Testing
Basis Path Testing
Regression Testing
Regression Testing
Regression Testing
Regression Testing
Regression Testing
Regression Testing
Regression Testing
Unit Testing
Integration Testing
Validation Testing
System Testing and Debugging
Categories based on levels
White Box Testing /Black box testing
White Box Testing Black Box Testing
The developers can perform The test Engineers perform black box
Whitebox testing testing
What the software is supposed to What the software is supposed to do
do,also aware of how it does it but is not aware of how it does it
To perform WBT, we should have an To perform BBT, there is no need to
understanding of programming have an understanding of
languages programming languages
In this we will look into source code In this we will verify the functionality
and test the logic of the code of the application based on the
requirement specification
In this ,the developer should know In this ,there iis no need to know
about the internal design of the code about the internal design of the code
Test design techniques:Control flow Test deisgn techniques:Decision table
testing,Data flow testing,Branch testing, All pairs testing,Equivalence
testing,statement coverage,Decision partitioning,Boundary value
coverage,Path testin analysis,Cause effect graph
System Testing and Debugging
Thank
you