SlideShare a Scribd company logo
Software Quality Assurance
Software Testing Fundamentals
Slides 03
Software Testing Software Quality Assurance March 1, 2023 1 / 20
Agenda
1 Introduction
2 Some Basic Concepts
3 Software Testing Levels
4 Software Testing Methods
5 Software Testing Types
Software Testing Software Quality Assurance March 1, 2023 2 / 20
Introduction
Agenda
1 Introduction
2 Some Basic Concepts
3 Software Testing Levels
4 Software Testing Methods
5 Software Testing Types
Software Testing Software Quality Assurance March 1, 2023 3 / 20
Introduction
Software Testing
Software testing is a process, to evaluate the functionality of a
software application with an intent to find whether the developed
software met the specified requirements or not
Its purpose is to identify the defects to ensure that the product is
defect-free in order to produce a quality product
It is dynamic execution of software and the comparison of results of
that execution against a set of known, pre-determined criteria
Software Testing Software Quality Assurance March 1, 2023 4 / 20
Introduction
Software Testing life cycle
Figure: STLC
Software Testing Software Quality Assurance March 1, 2023 5 / 20
Some Basic Concepts
Agenda
1 Introduction
2 Some Basic Concepts
3 Software Testing Levels
4 Software Testing Methods
5 Software Testing Types
Software Testing Software Quality Assurance March 1, 2023 6 / 20
Some Basic Concepts
Software Testing vs Software Debugging
Software Testing Software Quality Assurance March 1, 2023 7 / 20
Some Basic Concepts
Software Testing vs Software Debugging
Software Debugging
Software Debugging is the process of finding, analyzing and removing
the causes of failures in a component or system
Software Testing Software Quality Assurance March 1, 2023 7 / 20
Some Basic Concepts
Software Testing vs Software Debugging
Debugging vs Testing
Objective
Responsibility
Automation
Knowledge
Software Testing Software Quality Assurance March 1, 2023 7 / 20
Some Basic Concepts
Some Basic Concepts
Validation vs Verification
Validation is the process of checking whether the specification captures
the customer’s needs (Are we building the right product?)
Verification is the process of checking that the software meets the
specification (Are we building the product right?)
Software Testing Software Quality Assurance March 1, 2023 8 / 20
Some Basic Concepts
Some Basic Concepts
Validation vs Verification
Validation is the process of checking whether the specification captures
the customer’s needs (Are we building the right product?)
Verification is the process of checking that the software meets the
specification (Are we building the product right?)
Software Testing Software Quality Assurance March 1, 2023 8 / 20
Some Basic Concepts
Some Basic Concepts
Test Case
A Test case is a set of actions executed to verify a particular feature or
functionality of your software application
It is a set of preconditions, inputs, actions (where applicable), expected
results and postconditions, developed based on test conditions
Software Testing Software Quality Assurance March 1, 2023 8 / 20
Some Basic Concepts
Some Basic Concepts
Test Case Template/Elements can have following elements:
Test Suite ID
Test Case ID
Test Case Summary
Related Requirement
Prerequisites
Test Data
Expected Result
Actual Result
Status (Pass, Fail, or Deferred)
Test Environment
Date and time information
Software Testing Software Quality Assurance March 1, 2023 8 / 20
Some Basic Concepts
Some Basic Concepts
Test Suite is a collection of test cases which are organized in a
logical order
Software Testing Software Quality Assurance March 1, 2023 8 / 20
Some Basic Concepts
Some Basic Concepts
Defect Life Cycle, also known as Bug Life Cycle, is the journey of a
defect from its identification to its closure
Figure: Defect Life Cycle
Software Testing Software Quality Assurance March 1, 2023 8 / 20
Some Basic Concepts
Software Testing
Level = When to test
Method/Technique = How to test
Type = What to test
Software Testing Software Quality Assurance March 1, 2023 9 / 20
Software Testing Levels
Agenda
1 Introduction
2 Some Basic Concepts
3 Software Testing Levels
4 Software Testing Methods
5 Software Testing Types
Software Testing Software Quality Assurance March 1, 2023 10 / 20
Software Testing Levels
Software Testing Levels – 1
1 Unit Testing
2 Integration Testing
3 System Testing
4 Acceptance Testing
Figure: Testing Levels
Software Testing Software Quality Assurance March 1, 2023 11 / 20
Software Testing Levels
Software Testing Levels – 2
1 Unit Testing
A level of the software testing process where individual units of a
software are tested. The purpose is to validate that each unit of the
software performs as designed.
2 Integration Testing
A level of the software testing process where individual units are
combined and tested as a group. The purpose of this level of testing is
to expose faults in the interaction between integrated units
Software Testing Software Quality Assurance March 1, 2023 12 / 20
Software Testing Levels
Software Testing Levels – 2
1 Unit Testing
A level of the software testing process where individual units of a
software are tested. The purpose is to validate that each unit of the
software performs as designed.
2 Integration Testing
A level of the software testing process where individual units are
combined and tested as a group. The purpose of this level of testing is
to expose faults in the interaction between integrated units
Software Testing Software Quality Assurance March 1, 2023 12 / 20
Software Testing Levels
Software Testing Levels – 3
3 System Testing
A level of the software testing process where a complete, integrated
system is tested. The purpose of this test is to evaluate the system’s
compliance with the specified requirements
4 Acceptance Testing
A level of the software testing process where a system is tested for
acceptability. The purpose of this test is to evaluate the system’s
compliance with the business requirements and assess whether it is
acceptable for delivery
Software Testing Software Quality Assurance March 1, 2023 13 / 20
Software Testing Levels
Software Testing Levels – 3
3 System Testing
A level of the software testing process where a complete, integrated
system is tested. The purpose of this test is to evaluate the system’s
compliance with the specified requirements
4 Acceptance Testing
A level of the software testing process where a system is tested for
acceptability. The purpose of this test is to evaluate the system’s
compliance with the business requirements and assess whether it is
acceptable for delivery
Software Testing Software Quality Assurance March 1, 2023 13 / 20
Software Testing Methods
Agenda
1 Introduction
2 Some Basic Concepts
3 Software Testing Levels
4 Software Testing Methods
5 Software Testing Types
Software Testing Software Quality Assurance March 1, 2023 14 / 20
Software Testing Methods
Software Testing Methods
Black Box Testing
White Box Testing
Gray-Box Testing
Manual Testing
Automated Testing
Software Testing Software Quality Assurance March 1, 2023 15 / 20
Software Testing Methods
Black Box Testing
Figure: Black Box Testing
Black Box , also known as Behavioral Testing, is a software testing
method in which the internal structure/design/implementation of the
item being tested is not known to the tester
Software Testing Software Quality Assurance March 1, 2023 16 / 20
Software Testing Methods
Black Box Testing
Black Box Testing method is applicable to the following levels of software
testing
Integration Testing
System Testing
Acceptance Testing
Software Testing Software Quality Assurance March 1, 2023 16 / 20
Software Testing Methods
Black Box Testing
Types of Black Box Testing
Functional Testing
Tools that can be used are: QTP, Selenium
Non-Functional Testing
Tools that can be used are: LoadRunner, Jmeter
Regression Testing
Software Testing Software Quality Assurance March 1, 2023 16 / 20
Software Testing Methods
Black Box Testing
Black Box Testing Techniques
Equivalence Partitioning
Boundary Value Analysis
Software Testing Software Quality Assurance March 1, 2023 16 / 20
Software Testing Methods
Black Box Testing
Equivalence Partitioning
Equivalence partitioning strives to define a test case that uncovers
classes of errors, thereby reducing the total number of test cases that
must be developed
An equivalence class represents a set of valid or invalid states for
input conditions
Typically, an input condition is
A specific numeric value
A range of values
A boolean condition
Software Testing Software Quality Assurance March 1, 2023 16 / 20
Software Testing Methods
Black Box Testing
Guidelines for Equivalence Classes
If an input condition specifies a range, one valid and two invalid
equivalence classes are defined
If an input condition specifies a member of a set, one valid and one
invalid equivalence class are defined
If an input condition is boolean, one valid and one invalid class are
defined
Software Testing Software Quality Assurance March 1, 2023 16 / 20
Software Testing Methods
Black Box Testing
Guidelines for Equivalence Classes
If an input condition specifies a range, one valid and two invalid
equivalence classes are defined
If an input condition specifies a member of a set, one valid and one
invalid equivalence class are defined
If an input condition is boolean, one valid and one invalid class are
defined
Software Testing Software Quality Assurance March 1, 2023 16 / 20
Software Testing Methods
Black Box Testing
Guidelines for Equivalence Classes
If an input condition specifies a range, one valid and two invalid
equivalence classes are defined
If an input condition specifies a member of a set, one valid and one
invalid equivalence class are defined
If an input condition is boolean, one valid and one invalid class are
defined
Software Testing Software Quality Assurance March 1, 2023 16 / 20
Software Testing Methods
Black Box Testing
Equivalence Partitioning (Example)
Determine absolute of an integer
Two classes are formed
1 Positive integers
2 Negative integers
If an input condition is 0 < count < max
Three classes are formed
1 Valid inputs
2 Upper bound
3 Lower bound
Software Testing Software Quality Assurance March 1, 2023 16 / 20
Software Testing Methods
Black Box Testing
Boundary Value Analysis (BVA)
Boundary value analysis (BVA) is a testing technique, which leads to
a selection of test cases that exercise bounding values
This is because, a greater number of errors tends to occur at the
boundaries of the input domain rather than in the “center”
BVA complements equivalence partitioning testing technique
Software Testing Software Quality Assurance March 1, 2023 16 / 20
Software Testing Methods
Black Box Testing
Boundary Value Analysis (Example)
If range is 0.0 < x < 1
Valid inputs are 0.1, 0.9
Invalid inputs are 0, 1
Software Testing Software Quality Assurance March 1, 2023 16 / 20
Software Testing Methods
White Box Testing
Figure: White Box Testing
White Box Testing (also known as Glass Box Testing and Structural
Testing) is a software testing method in which the internal structure/
design/ implementation of the item being tested is known to the
tester
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
White Box Testing
White Box Testing method is applicable to the following levels of software
testing
Unit Testing
Integration Testing
System Testing
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
White Box Testing
White Box Testing Techniques
Path testing
Loop testing
Condition testing
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
White Box Testing
Path testing
In this technique, control flow graphs are made from code or
flowchart and then Cyclomatic complexity is calculated which defines
the number of independent paths so that the minimal number of test
cases can be designed for each independent path
Figure: Flow Graph Notations
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
White Box Testing
Path testing – Cyclomatic Complexity
Basis path testing uses cyclomatic complexity, which is a software
metric that provides a quantitative measure of the logical complexity
of a program
When the cyclomatic complexity used in the context of the basis path
testing method, the value computed for cyclomatic complexity defines
the number of independent paths in the basis set of a program and
provides us with an upper bound for the number of tests that must be
conducted to ensure that all statements have been executed at least
once
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
White Box Testing
Path testing – Cyclomatic Complexity
Basis path testing uses cyclomatic complexity, which is a software
metric that provides a quantitative measure of the logical complexity
of a program
When the cyclomatic complexity used in the context of the basis path
testing method, the value computed for cyclomatic complexity defines
the number of independent paths in the basis set of a program and
provides us with an upper bound for the number of tests that must be
conducted to ensure that all statements have been executed at least
once
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
White Box Testing
Cyclomatic Complexity Example
1 while i < n − 1 do
2 while j < n do
3 if A[i] < A[j] then
4 swap(A[i], A[j])
5 end
6 i ← i + 1
7 end
Figure: Flow Graph
V (G) = (Number of edges)−(Number of Nodes)+2 = 9−7+2 = 4
V (G) = P + 1 = 3 + 1 = 4
P = Number of predicate nodes (node that contains condition)
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
White Box Testing
Loop testing
Loops are widely used and these are fundamental to many algorithms
hence, their testing is very important. Errors often occur at the
beginnings and ends of loops
For simple loops of size n, test cases are designed that:
Skip the loop entirely
Only one pass through the loop
2 passes
m passes, where m < n
(n − 1), n, and (n + 1) passes through the loop
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
White Box Testing
Loop testing
Loops are widely used and these are fundamental to many algorithms
hence, their testing is very important. Errors often occur at the
beginnings and ends of loops
For simple loops of size n, test cases are designed that:
Skip the loop entirely
Only one pass through the loop
2 passes
m passes, where m < n
(n − 1), n, and (n + 1) passes through the loop
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
White Box Testing
Loop testing
For nested loops, all the loops are set to their minimum count and we
start from the innermost loop. Simple loop tests are conducted for
the innermost loop and this is worked outwards till all the loops have
been tested
If the loops are independent of one another
then treat each as a simple loop
else treat as nested loops
for example, the final loop counter value of loop 1 is used to initialize
loop 2
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
White Box Testing
Loop testing
For nested loops, all the loops are set to their minimum count and we
start from the innermost loop. Simple loop tests are conducted for
the innermost loop and this is worked outwards till all the loops have
been tested
If the loops are independent of one another
then treat each as a simple loop
else treat as nested loops
for example, the final loop counter value of loop 1 is used to initialize
loop 2
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
White Box Testing
Condition testing
we will test all logical conditions for both true and false values; that
is, we will verify for both if and else condition
Software Testing Software Quality Assurance March 1, 2023 17 / 20
Software Testing Methods
Manual Testing vs Automated Testing
Manual Testing
It is a method of testing whereby software is tested manually (by a
human). The tester does not use any script or tool to assist in testing
Automated Testing
It is a method of testing whereby software is tested with the help of
scripts and tools
Software Testing Software Quality Assurance March 1, 2023 18 / 20
Software Testing Types
Agenda
1 Introduction
2 Some Basic Concepts
3 Software Testing Levels
4 Software Testing Methods
5 Software Testing Types
Software Testing Software Quality Assurance March 1, 2023 19 / 20
Software Testing Types
Software Testing Types
Functional Testing
Non-Functional Testing
Performance Testing
Usability Testing
Regression Testing
Smoke Testing
Alpha Testing
Beta Testing
Software Testing Software Quality Assurance March 1, 2023 20 / 20

More Related Content

Similar to Slides 03.pdf

SE-Testing.ppt
SE-Testing.pptSE-Testing.ppt
SE-Testing.ppt
vishal choudhary
 
Software testing
Software testingSoftware testing
Software testing
Sengu Msc
 
Software testing
Software testingSoftware testing
Software testing
Sengu Msc
 
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
BenitoSumpter862
 
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
SantosConleyha
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
Sophia Girls' College(Autonomous), Ajmer
 
Software Testing
Software TestingSoftware Testing
Software Testing
Sengu Msc
 
Validation & verification software engineering
Validation & verification software engineeringValidation & verification software engineering
Validation & verification software engineering
Sweta Kumari Barnwal
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 
Software testing
Software testingSoftware testing
Software testing
Aman Adhikari
 
The Role of Verification and Validation in System Development Life Cycle
The Role of Verification and Validation in System Development Life CycleThe Role of Verification and Validation in System Development Life Cycle
The Role of Verification and Validation in System Development Life Cycle
IOSR Journals
 
What is Software Testing Definition, Types and Benefits.pdf
What is Software Testing Definition, Types and Benefits.pdfWhat is Software Testing Definition, Types and Benefits.pdf
What is Software Testing Definition, Types and Benefits.pdf
JoeyWilliams21
 
Session 05 - Testing Concepts
Session 05 - Testing ConceptsSession 05 - Testing Concepts
Session 05 - Testing Concepts
PoojaLQA
 
S.t.
S.t.S.t.
Software testing
Software testingSoftware testing
Software testing
MrsRBoomadeviIT
 
Software Testing.pptx
Software Testing.pptxSoftware Testing.pptx
Software Testing.pptx
sonalshitole
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
FAIZALSAIYED
 
Software Testing Training in Chandigarh
Software Testing Training in ChandigarhSoftware Testing Training in Chandigarh
Software Testing Training in Chandigarh
Kreativan Technologies
 
Lesson 7...Question Part 1
Lesson 7...Question Part 1Lesson 7...Question Part 1
Lesson 7...Question Part 1
bhushan Nehete
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
Venkat Alagarsamy
 

Similar to Slides 03.pdf (20)

SE-Testing.ppt
SE-Testing.pptSE-Testing.ppt
SE-Testing.ppt
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
 
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Validation & verification software engineering
Validation & verification software engineeringValidation & verification software engineering
Validation & verification software engineering
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Software testing
Software testingSoftware testing
Software testing
 
The Role of Verification and Validation in System Development Life Cycle
The Role of Verification and Validation in System Development Life CycleThe Role of Verification and Validation in System Development Life Cycle
The Role of Verification and Validation in System Development Life Cycle
 
What is Software Testing Definition, Types and Benefits.pdf
What is Software Testing Definition, Types and Benefits.pdfWhat is Software Testing Definition, Types and Benefits.pdf
What is Software Testing Definition, Types and Benefits.pdf
 
Session 05 - Testing Concepts
Session 05 - Testing ConceptsSession 05 - Testing Concepts
Session 05 - Testing Concepts
 
S.t.
S.t.S.t.
S.t.
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing.pptx
Software Testing.pptxSoftware Testing.pptx
Software Testing.pptx
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
 
Software Testing Training in Chandigarh
Software Testing Training in ChandigarhSoftware Testing Training in Chandigarh
Software Testing Training in Chandigarh
 
Lesson 7...Question Part 1
Lesson 7...Question Part 1Lesson 7...Question Part 1
Lesson 7...Question Part 1
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 

Recently uploaded

Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 

Recently uploaded (20)

Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 

Slides 03.pdf

  • 1. Software Quality Assurance Software Testing Fundamentals Slides 03 Software Testing Software Quality Assurance March 1, 2023 1 / 20
  • 2. Agenda 1 Introduction 2 Some Basic Concepts 3 Software Testing Levels 4 Software Testing Methods 5 Software Testing Types Software Testing Software Quality Assurance March 1, 2023 2 / 20
  • 3. Introduction Agenda 1 Introduction 2 Some Basic Concepts 3 Software Testing Levels 4 Software Testing Methods 5 Software Testing Types Software Testing Software Quality Assurance March 1, 2023 3 / 20
  • 4. Introduction Software Testing Software testing is a process, to evaluate the functionality of a software application with an intent to find whether the developed software met the specified requirements or not Its purpose is to identify the defects to ensure that the product is defect-free in order to produce a quality product It is dynamic execution of software and the comparison of results of that execution against a set of known, pre-determined criteria Software Testing Software Quality Assurance March 1, 2023 4 / 20
  • 5. Introduction Software Testing life cycle Figure: STLC Software Testing Software Quality Assurance March 1, 2023 5 / 20
  • 6. Some Basic Concepts Agenda 1 Introduction 2 Some Basic Concepts 3 Software Testing Levels 4 Software Testing Methods 5 Software Testing Types Software Testing Software Quality Assurance March 1, 2023 6 / 20
  • 7. Some Basic Concepts Software Testing vs Software Debugging Software Testing Software Quality Assurance March 1, 2023 7 / 20
  • 8. Some Basic Concepts Software Testing vs Software Debugging Software Debugging Software Debugging is the process of finding, analyzing and removing the causes of failures in a component or system Software Testing Software Quality Assurance March 1, 2023 7 / 20
  • 9. Some Basic Concepts Software Testing vs Software Debugging Debugging vs Testing Objective Responsibility Automation Knowledge Software Testing Software Quality Assurance March 1, 2023 7 / 20
  • 10. Some Basic Concepts Some Basic Concepts Validation vs Verification Validation is the process of checking whether the specification captures the customer’s needs (Are we building the right product?) Verification is the process of checking that the software meets the specification (Are we building the product right?) Software Testing Software Quality Assurance March 1, 2023 8 / 20
  • 11. Some Basic Concepts Some Basic Concepts Validation vs Verification Validation is the process of checking whether the specification captures the customer’s needs (Are we building the right product?) Verification is the process of checking that the software meets the specification (Are we building the product right?) Software Testing Software Quality Assurance March 1, 2023 8 / 20
  • 12. Some Basic Concepts Some Basic Concepts Test Case A Test case is a set of actions executed to verify a particular feature or functionality of your software application It is a set of preconditions, inputs, actions (where applicable), expected results and postconditions, developed based on test conditions Software Testing Software Quality Assurance March 1, 2023 8 / 20
  • 13. Some Basic Concepts Some Basic Concepts Test Case Template/Elements can have following elements: Test Suite ID Test Case ID Test Case Summary Related Requirement Prerequisites Test Data Expected Result Actual Result Status (Pass, Fail, or Deferred) Test Environment Date and time information Software Testing Software Quality Assurance March 1, 2023 8 / 20
  • 14. Some Basic Concepts Some Basic Concepts Test Suite is a collection of test cases which are organized in a logical order Software Testing Software Quality Assurance March 1, 2023 8 / 20
  • 15. Some Basic Concepts Some Basic Concepts Defect Life Cycle, also known as Bug Life Cycle, is the journey of a defect from its identification to its closure Figure: Defect Life Cycle Software Testing Software Quality Assurance March 1, 2023 8 / 20
  • 16. Some Basic Concepts Software Testing Level = When to test Method/Technique = How to test Type = What to test Software Testing Software Quality Assurance March 1, 2023 9 / 20
  • 17. Software Testing Levels Agenda 1 Introduction 2 Some Basic Concepts 3 Software Testing Levels 4 Software Testing Methods 5 Software Testing Types Software Testing Software Quality Assurance March 1, 2023 10 / 20
  • 18. Software Testing Levels Software Testing Levels – 1 1 Unit Testing 2 Integration Testing 3 System Testing 4 Acceptance Testing Figure: Testing Levels Software Testing Software Quality Assurance March 1, 2023 11 / 20
  • 19. Software Testing Levels Software Testing Levels – 2 1 Unit Testing A level of the software testing process where individual units of a software are tested. The purpose is to validate that each unit of the software performs as designed. 2 Integration Testing A level of the software testing process where individual units are combined and tested as a group. The purpose of this level of testing is to expose faults in the interaction between integrated units Software Testing Software Quality Assurance March 1, 2023 12 / 20
  • 20. Software Testing Levels Software Testing Levels – 2 1 Unit Testing A level of the software testing process where individual units of a software are tested. The purpose is to validate that each unit of the software performs as designed. 2 Integration Testing A level of the software testing process where individual units are combined and tested as a group. The purpose of this level of testing is to expose faults in the interaction between integrated units Software Testing Software Quality Assurance March 1, 2023 12 / 20
  • 21. Software Testing Levels Software Testing Levels – 3 3 System Testing A level of the software testing process where a complete, integrated system is tested. The purpose of this test is to evaluate the system’s compliance with the specified requirements 4 Acceptance Testing A level of the software testing process where a system is tested for acceptability. The purpose of this test is to evaluate the system’s compliance with the business requirements and assess whether it is acceptable for delivery Software Testing Software Quality Assurance March 1, 2023 13 / 20
  • 22. Software Testing Levels Software Testing Levels – 3 3 System Testing A level of the software testing process where a complete, integrated system is tested. The purpose of this test is to evaluate the system’s compliance with the specified requirements 4 Acceptance Testing A level of the software testing process where a system is tested for acceptability. The purpose of this test is to evaluate the system’s compliance with the business requirements and assess whether it is acceptable for delivery Software Testing Software Quality Assurance March 1, 2023 13 / 20
  • 23. Software Testing Methods Agenda 1 Introduction 2 Some Basic Concepts 3 Software Testing Levels 4 Software Testing Methods 5 Software Testing Types Software Testing Software Quality Assurance March 1, 2023 14 / 20
  • 24. Software Testing Methods Software Testing Methods Black Box Testing White Box Testing Gray-Box Testing Manual Testing Automated Testing Software Testing Software Quality Assurance March 1, 2023 15 / 20
  • 25. Software Testing Methods Black Box Testing Figure: Black Box Testing Black Box , also known as Behavioral Testing, is a software testing method in which the internal structure/design/implementation of the item being tested is not known to the tester Software Testing Software Quality Assurance March 1, 2023 16 / 20
  • 26. Software Testing Methods Black Box Testing Black Box Testing method is applicable to the following levels of software testing Integration Testing System Testing Acceptance Testing Software Testing Software Quality Assurance March 1, 2023 16 / 20
  • 27. Software Testing Methods Black Box Testing Types of Black Box Testing Functional Testing Tools that can be used are: QTP, Selenium Non-Functional Testing Tools that can be used are: LoadRunner, Jmeter Regression Testing Software Testing Software Quality Assurance March 1, 2023 16 / 20
  • 28. Software Testing Methods Black Box Testing Black Box Testing Techniques Equivalence Partitioning Boundary Value Analysis Software Testing Software Quality Assurance March 1, 2023 16 / 20
  • 29. Software Testing Methods Black Box Testing Equivalence Partitioning Equivalence partitioning strives to define a test case that uncovers classes of errors, thereby reducing the total number of test cases that must be developed An equivalence class represents a set of valid or invalid states for input conditions Typically, an input condition is A specific numeric value A range of values A boolean condition Software Testing Software Quality Assurance March 1, 2023 16 / 20
  • 30. Software Testing Methods Black Box Testing Guidelines for Equivalence Classes If an input condition specifies a range, one valid and two invalid equivalence classes are defined If an input condition specifies a member of a set, one valid and one invalid equivalence class are defined If an input condition is boolean, one valid and one invalid class are defined Software Testing Software Quality Assurance March 1, 2023 16 / 20
  • 31. Software Testing Methods Black Box Testing Guidelines for Equivalence Classes If an input condition specifies a range, one valid and two invalid equivalence classes are defined If an input condition specifies a member of a set, one valid and one invalid equivalence class are defined If an input condition is boolean, one valid and one invalid class are defined Software Testing Software Quality Assurance March 1, 2023 16 / 20
  • 32. Software Testing Methods Black Box Testing Guidelines for Equivalence Classes If an input condition specifies a range, one valid and two invalid equivalence classes are defined If an input condition specifies a member of a set, one valid and one invalid equivalence class are defined If an input condition is boolean, one valid and one invalid class are defined Software Testing Software Quality Assurance March 1, 2023 16 / 20
  • 33. Software Testing Methods Black Box Testing Equivalence Partitioning (Example) Determine absolute of an integer Two classes are formed 1 Positive integers 2 Negative integers If an input condition is 0 < count < max Three classes are formed 1 Valid inputs 2 Upper bound 3 Lower bound Software Testing Software Quality Assurance March 1, 2023 16 / 20
  • 34. Software Testing Methods Black Box Testing Boundary Value Analysis (BVA) Boundary value analysis (BVA) is a testing technique, which leads to a selection of test cases that exercise bounding values This is because, a greater number of errors tends to occur at the boundaries of the input domain rather than in the “center” BVA complements equivalence partitioning testing technique Software Testing Software Quality Assurance March 1, 2023 16 / 20
  • 35. Software Testing Methods Black Box Testing Boundary Value Analysis (Example) If range is 0.0 < x < 1 Valid inputs are 0.1, 0.9 Invalid inputs are 0, 1 Software Testing Software Quality Assurance March 1, 2023 16 / 20
  • 36. Software Testing Methods White Box Testing Figure: White Box Testing White Box Testing (also known as Glass Box Testing and Structural Testing) is a software testing method in which the internal structure/ design/ implementation of the item being tested is known to the tester Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 37. Software Testing Methods White Box Testing White Box Testing method is applicable to the following levels of software testing Unit Testing Integration Testing System Testing Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 38. Software Testing Methods White Box Testing White Box Testing Techniques Path testing Loop testing Condition testing Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 39. Software Testing Methods White Box Testing Path testing In this technique, control flow graphs are made from code or flowchart and then Cyclomatic complexity is calculated which defines the number of independent paths so that the minimal number of test cases can be designed for each independent path Figure: Flow Graph Notations Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 40. Software Testing Methods White Box Testing Path testing – Cyclomatic Complexity Basis path testing uses cyclomatic complexity, which is a software metric that provides a quantitative measure of the logical complexity of a program When the cyclomatic complexity used in the context of the basis path testing method, the value computed for cyclomatic complexity defines the number of independent paths in the basis set of a program and provides us with an upper bound for the number of tests that must be conducted to ensure that all statements have been executed at least once Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 41. Software Testing Methods White Box Testing Path testing – Cyclomatic Complexity Basis path testing uses cyclomatic complexity, which is a software metric that provides a quantitative measure of the logical complexity of a program When the cyclomatic complexity used in the context of the basis path testing method, the value computed for cyclomatic complexity defines the number of independent paths in the basis set of a program and provides us with an upper bound for the number of tests that must be conducted to ensure that all statements have been executed at least once Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 42. Software Testing Methods White Box Testing Cyclomatic Complexity Example 1 while i < n − 1 do 2 while j < n do 3 if A[i] < A[j] then 4 swap(A[i], A[j]) 5 end 6 i ← i + 1 7 end Figure: Flow Graph V (G) = (Number of edges)−(Number of Nodes)+2 = 9−7+2 = 4 V (G) = P + 1 = 3 + 1 = 4 P = Number of predicate nodes (node that contains condition) Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 43. Software Testing Methods White Box Testing Loop testing Loops are widely used and these are fundamental to many algorithms hence, their testing is very important. Errors often occur at the beginnings and ends of loops For simple loops of size n, test cases are designed that: Skip the loop entirely Only one pass through the loop 2 passes m passes, where m < n (n − 1), n, and (n + 1) passes through the loop Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 44. Software Testing Methods White Box Testing Loop testing Loops are widely used and these are fundamental to many algorithms hence, their testing is very important. Errors often occur at the beginnings and ends of loops For simple loops of size n, test cases are designed that: Skip the loop entirely Only one pass through the loop 2 passes m passes, where m < n (n − 1), n, and (n + 1) passes through the loop Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 45. Software Testing Methods White Box Testing Loop testing For nested loops, all the loops are set to their minimum count and we start from the innermost loop. Simple loop tests are conducted for the innermost loop and this is worked outwards till all the loops have been tested If the loops are independent of one another then treat each as a simple loop else treat as nested loops for example, the final loop counter value of loop 1 is used to initialize loop 2 Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 46. Software Testing Methods White Box Testing Loop testing For nested loops, all the loops are set to their minimum count and we start from the innermost loop. Simple loop tests are conducted for the innermost loop and this is worked outwards till all the loops have been tested If the loops are independent of one another then treat each as a simple loop else treat as nested loops for example, the final loop counter value of loop 1 is used to initialize loop 2 Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 47. Software Testing Methods White Box Testing Condition testing we will test all logical conditions for both true and false values; that is, we will verify for both if and else condition Software Testing Software Quality Assurance March 1, 2023 17 / 20
  • 48. Software Testing Methods Manual Testing vs Automated Testing Manual Testing It is a method of testing whereby software is tested manually (by a human). The tester does not use any script or tool to assist in testing Automated Testing It is a method of testing whereby software is tested with the help of scripts and tools Software Testing Software Quality Assurance March 1, 2023 18 / 20
  • 49. Software Testing Types Agenda 1 Introduction 2 Some Basic Concepts 3 Software Testing Levels 4 Software Testing Methods 5 Software Testing Types Software Testing Software Quality Assurance March 1, 2023 19 / 20
  • 50. Software Testing Types Software Testing Types Functional Testing Non-Functional Testing Performance Testing Usability Testing Regression Testing Smoke Testing Alpha Testing Beta Testing Software Testing Software Quality Assurance March 1, 2023 20 / 20