SlideShare a Scribd company logo
4
Most read
5
Most read
7
Most read
Equivalence Partition
Hello!
I am Swornim
1.
What is Equivalence
Partition?
“Equivalence partitioning/
Equivalence Class Partitioning is a software
testing technique that divides the input data
of a software unit
into partitions of equivalent data from which
test cases can be derived. In which, test
cases are designed to cover each partition at
least once.
Literally
▧ It is a Software test design technique similar
to Boundary Value Analysis
▧ It is a black box technique*
▧ It can be applied to all levels of testing like
unit, integration, system, etc.
Advantages
1. Saves time in testing.
2. Allows to fin more defects tha inputing random values to
your code
3. It can be used in bot white box and black box testing
Equivalence
Partition
It is a Black Box Testing
Technique that divides the
input domain into classes of
data from which test cases
can be derived.
Diffefence between Equivalence Partition and
Boundary Value Analysis
Boundary Value
Analysis
This is also a Black Box
Testing Technique which
concentrates on the
Corner cases or the
boundaries of the input
domain rather than its
center.
Equivalence
Partition
If we want to test a field which
accepts values from 1 to 9, we
will write test cases with the
following test data.
1. Test case with test data less
than 1
2. Test case with test data
greater than 9
3. Test case with test data
between 1 and 9
Diffefence between Equivalence Partition and
Boundary Value Analysis
Boundary Value
Analysis
If we want to test a field from
1 to 9 boundary values will be
0,1,2,and 8,9,10
The left hand value is called
the lower boundary i.e 1 here
in this example and the Right
side value 9 is called the
Upper boundary and hence
the selection of values is
a. Upper boundaries +1,-1
b. Lower boundaries +1,-1
How??
How is Equivalence
Partitioning done ?
Process
Input a Range Divide Input
range to
partitions
Test each
partition once
Invalid
Partition
0
-1
-2
. . .
Valid Partiton
1
2
. . .
31
Invalid
Partition
32
33
. . .
Date (1-31)
1. The range is divided.
2. The system picks one value from
Invalid table and rejects it.
3. The system picks another value
from Valid table and accept it.
4. The system picks a new value from
invalid table and rejects it.
5. If one data is rejected the lot is
rejected.
Which is !!
Input range
Divide
into
partitions
Test
each
partition
CORE
Thanks!
Any questions?
github.com/nepalswornim/Equivalence-
Partition.git
Credits
Special thanks to
▧ Presentation template by SlidesCarnival
▧ www.guru99.com
▧ www.youtube.com/user/SoftwareTestingSp
ace
▧ Mr Mohan Maharjan

More Related Content

PPT
Equivalence partitions analysis
Vadym Muliavka
 
PPTX
Equivalence partinioning and boundary value analysis
niharika5412
 
PPTX
Test case techniques
Pina Parmar
 
PPT
Boundary value analysis
Vadym Muliavka
 
PPTX
Equivalence class testing
Mani Kanth
 
PPTX
White Box Testing
MariamKhan120
 
PPT
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
priyasoundar
 
PPS
Boundary and equivalnce systematic test design
Ian McDonald
 
Equivalence partitions analysis
Vadym Muliavka
 
Equivalence partinioning and boundary value analysis
niharika5412
 
Test case techniques
Pina Parmar
 
Boundary value analysis
Vadym Muliavka
 
Equivalence class testing
Mani Kanth
 
White Box Testing
MariamKhan120
 
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
priyasoundar
 
Boundary and equivalnce systematic test design
Ian McDonald
 

What's hot (20)

PPTX
Introduction to White box testing
Aliaa Monier Ismaail
 
PPTX
input buffering in lexical analysis in CD
HeadOfDepartmentComp1
 
PPTX
Se (techniques for black box testing ppt)
Mani Kanth
 
PDF
Maximum Matching in General Graphs
Ahmad Khayyat
 
PDF
Syntax directed translation
Akshaya Arunan
 
PPT
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Ryan Tran
 
PPTX
Pairwise testing technique-Made easy
Samee Ahmed Indikar
 
PPTX
Parity bits
mrhaken
 
PPTX
Moore Mealy Machine Conversion
Aiman Hafeez
 
PPTX
Black box software testing
Rana Muhammad Asif
 
PPTX
The role of the parser and Error recovery strategies ppt in compiler design
Sadia Akter
 
PPTX
Testing ppt
kiran theja
 
PPTX
Sql joins
Gaurav Dhanwant
 
PPTX
STM-UNIT-1.pptx
nischal55
 
PPTX
Levels Of Testing.pptx
SunilNagaraj10
 
PPTX
Bayesian network
Rafsan Siddiqui
 
PPTX
Machine learning clisification algorthims
Mohammed Abdalla Youssif
 
PDF
[Hoang nguyen] The Psychology in Software Testing
Ho Chi Minh City Software Testing Club
 
PDF
Test Case, Use Case and Test Scenario
Lokesh Agrawal
 
PPTX
boundary value analysis and equivalence partition
Simran Bhatia
 
Introduction to White box testing
Aliaa Monier Ismaail
 
input buffering in lexical analysis in CD
HeadOfDepartmentComp1
 
Se (techniques for black box testing ppt)
Mani Kanth
 
Maximum Matching in General Graphs
Ahmad Khayyat
 
Syntax directed translation
Akshaya Arunan
 
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Ryan Tran
 
Pairwise testing technique-Made easy
Samee Ahmed Indikar
 
Parity bits
mrhaken
 
Moore Mealy Machine Conversion
Aiman Hafeez
 
Black box software testing
Rana Muhammad Asif
 
The role of the parser and Error recovery strategies ppt in compiler design
Sadia Akter
 
Testing ppt
kiran theja
 
Sql joins
Gaurav Dhanwant
 
STM-UNIT-1.pptx
nischal55
 
Levels Of Testing.pptx
SunilNagaraj10
 
Bayesian network
Rafsan Siddiqui
 
Machine learning clisification algorthims
Mohammed Abdalla Youssif
 
[Hoang nguyen] The Psychology in Software Testing
Ho Chi Minh City Software Testing Club
 
Test Case, Use Case and Test Scenario
Lokesh Agrawal
 
boundary value analysis and equivalence partition
Simran Bhatia
 
Ad

Viewers also liked (20)

PPTX
Software testing ppt
Heritage Institute Of Tech,India
 
PPTX
Software configuration items
ashok kumar
 
PPTX
Boundary value analysis and equivalence partitioning
Sneha Singh
 
PDF
Black box testing (an introduction to)
Henry Muccini
 
PPTX
Software Configuration Management
Arunnima B S
 
PPTX
Software configuration management
fizamustanser
 
DOC
The importance of quality software
Egrove Systems Corporation
 
PPTX
Structural testing
Slideshare
 
PPTX
Structural and functional testing
Himanshu
 
PDF
Equivalence partitioning
Sarjana Muda
 
PPT
Decision table
jeebala
 
PPT
Code coverage
Return on Intelligence
 
PPT
Software Configuration Management
elliando dias
 
PPTX
Aims, goals and objectives
Mohamed Benhima
 
PPT
Software Testing Techniques
Kiran Kumar
 
PPTX
Ch8.testing
software-engineering-book
 
ZIP
Software Configuration Management
guy_davis
 
PPT
Black box & white-box testing technique
SivaprasanthRentala1975
 
PPTX
Black & White Box testing
Mohamed Zeinelabdeen Abdelgader Farh jber
 
PPT
Types of Software Testing
Nishant Worah
 
Software testing ppt
Heritage Institute Of Tech,India
 
Software configuration items
ashok kumar
 
Boundary value analysis and equivalence partitioning
Sneha Singh
 
Black box testing (an introduction to)
Henry Muccini
 
Software Configuration Management
Arunnima B S
 
Software configuration management
fizamustanser
 
The importance of quality software
Egrove Systems Corporation
 
Structural testing
Slideshare
 
Structural and functional testing
Himanshu
 
Equivalence partitioning
Sarjana Muda
 
Decision table
jeebala
 
Code coverage
Return on Intelligence
 
Software Configuration Management
elliando dias
 
Aims, goals and objectives
Mohamed Benhima
 
Software Testing Techniques
Kiran Kumar
 
Software Configuration Management
guy_davis
 
Black box & white-box testing technique
SivaprasanthRentala1975
 
Types of Software Testing
Nishant Worah
 
Ad

Similar to EquivalencePartition (20)

PPTX
Black Box Testing
Mustafa Sherazi
 
PPTX
SE 09 (test design techs).pptx
ZohairMughal1
 
PPTX
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptx
Khayal Abbas Akhtar
 
PDF
black-box-1.pdf
SupunLakshan4
 
PPT
Dynamic analysis in Software Testing
Sagar Pednekar
 
PDF
Software Testing Techniques with Test Case Design Examples.pdf
NguytPhanMinh
 
PPTX
SE%200-Testing%20(2).pptx
200723KarthikeyanD
 
PPTX
Boundary Value Analysis & Equivalence Partitioning with Examples (1) (2).pptx
ANSHIKANIGAMRA201103
 
PPTX
CTFL Module 04
Davis Thomas
 
PPS
Lesson 2....PPT 1
bhushan Nehete
 
PPTX
Fundamentals of Software Engineering
Madhar Khan Pathan
 
PDF
КАТЕРИНА АБЗЯТОВА - Tехніки тест дизайну в дії: розбір задач та корисні порад...
QADay
 
PPT
provoora
lmscollaborative2
 
PPT
finalelocale
lmscollaborative2
 
PPT
domenica2
lmscollaborative2
 
PPT
provacompleta3
lmscollaborative2
 
PPT
domenica1
lmscollaborative2
 
PPT
testsfw5
lmscollaborative2
 
PPT
provacompleta4
lmscollaborative2
 
Black Box Testing
Mustafa Sherazi
 
SE 09 (test design techs).pptx
ZohairMughal1
 
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptx
Khayal Abbas Akhtar
 
black-box-1.pdf
SupunLakshan4
 
Dynamic analysis in Software Testing
Sagar Pednekar
 
Software Testing Techniques with Test Case Design Examples.pdf
NguytPhanMinh
 
SE%200-Testing%20(2).pptx
200723KarthikeyanD
 
Boundary Value Analysis & Equivalence Partitioning with Examples (1) (2).pptx
ANSHIKANIGAMRA201103
 
CTFL Module 04
Davis Thomas
 
Lesson 2....PPT 1
bhushan Nehete
 
Fundamentals of Software Engineering
Madhar Khan Pathan
 
КАТЕРИНА АБЗЯТОВА - Tехніки тест дизайну в дії: розбір задач та корисні порад...
QADay
 
finalelocale
lmscollaborative2
 
provacompleta3
lmscollaborative2
 
provacompleta4
lmscollaborative2
 

EquivalencePartition

  • 4. “Equivalence partitioning/ Equivalence Class Partitioning is a software testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived. In which, test cases are designed to cover each partition at least once.
  • 5. Literally ▧ It is a Software test design technique similar to Boundary Value Analysis ▧ It is a black box technique* ▧ It can be applied to all levels of testing like unit, integration, system, etc.
  • 6. Advantages 1. Saves time in testing. 2. Allows to fin more defects tha inputing random values to your code 3. It can be used in bot white box and black box testing
  • 7. Equivalence Partition It is a Black Box Testing Technique that divides the input domain into classes of data from which test cases can be derived. Diffefence between Equivalence Partition and Boundary Value Analysis Boundary Value Analysis This is also a Black Box Testing Technique which concentrates on the Corner cases or the boundaries of the input domain rather than its center.
  • 8. Equivalence Partition If we want to test a field which accepts values from 1 to 9, we will write test cases with the following test data. 1. Test case with test data less than 1 2. Test case with test data greater than 9 3. Test case with test data between 1 and 9 Diffefence between Equivalence Partition and Boundary Value Analysis Boundary Value Analysis If we want to test a field from 1 to 9 boundary values will be 0,1,2,and 8,9,10 The left hand value is called the lower boundary i.e 1 here in this example and the Right side value 9 is called the Upper boundary and hence the selection of values is a. Upper boundaries +1,-1 b. Lower boundaries +1,-1
  • 10. Process Input a Range Divide Input range to partitions Test each partition once
  • 11. Invalid Partition 0 -1 -2 . . . Valid Partiton 1 2 . . . 31 Invalid Partition 32 33 . . . Date (1-31)
  • 12. 1. The range is divided. 2. The system picks one value from Invalid table and rejects it. 3. The system picks another value from Valid table and accept it. 4. The system picks a new value from invalid table and rejects it. 5. If one data is rejected the lot is rejected.
  • 13. Which is !! Input range Divide into partitions Test each partition
  • 14. CORE
  • 16. Credits Special thanks to ▧ Presentation template by SlidesCarnival ▧ www.guru99.com ▧ www.youtube.com/user/SoftwareTestingSp ace ▧ Mr Mohan Maharjan