SlideShare a Scribd company logo
1 of 14
Equivalence PartitionsEquivalence Partitions
analysis:analysis:Goals, ExamplesGoals, Examples
Vadym Muliavka
June
2014
Agenda
1.What is equivalence partitioning (EP)?
2.Coals & idea of EP
3. When tests are equivalent?
4.Test case design by EP
5.Equivalence Partitioning Examples
6.Pluses & minuses of EP technique
2/14
Equivalence Partitions analysisEquivalence Partitions analysis
Equivalence partitioning (EP) – A black box
test design technique in which test cases
are designed to execute representatives
from equivalence partitions.
The equivalence partitions are usually derived from the
requirements specification for input attributes that influence the
processing of the test object.
Idea: Dividing the test input data into a range of values and
selecting one input value from each range
3/14
Equivalence Partitions analysisEquivalence Partitions analysis
Equivalence classes
Boundary values
4/14
Input, output
values
Equivalence Partitions analysisEquivalence Partitions analysis
Coals:
• To reduce the number of test cases to a necessary minimum
• To select the right test cases to cover all possible scenarios
(of course not to be absolutely sure);
• Maintaining acceptable test coverage.
Using this technique, the tester should be remembered that:
• Too many equivalence classes increases the likelihood that
multiple tests would be superfluous (excessive);
• Too few equivalence classes increases the likelihood that the
error will be skipped product.
5/14
Equivalence Partitions analysisEquivalence Partitions analysis
Two tests are considered equivalent if:
• They test the same thing (function module, part of the system).
• If one of the test catches an error, the other is also likely to
catch her;
• If one of them does not catch the error, then the other is also
likely will not catch.
6/14
Equivalence Partitions analysisEquivalence Partitions analysis
Test case design by EP proceeds into 2 steps:
• Identify equivalence classes;
• Choose one representative from each equivalence classes;
• Define the test cases.
7/14
Equivalence Partitions analysisEquivalence Partitions analysis
Identify equivalence classes:
• Input, output:
clue from requirement;
• Valid classes: legal input values;
• Invalid classes: illegal or
unacceptable input values;
8/14
Equivalence Partitions analysisEquivalence Partitions analysis
Define the test cases:
• Create a test case for each equivalence class.
• Assign a unique number to each equivalence class
• For valid case: until all valid equivalence classes have been
covered by test case, write a new test case covering as many
uncover valid equivalence classes as possible.
• For invalid case: until all invalid equivalence classes have
been covered by test case, write a new test case that cover one,
and only one, of the uncovered invalid equivalence classes.
9/14
Equivalence Partitions analysisEquivalence Partitions analysis
Example: Requirement for ‘Password’ field from “Add users modal
window” of Admins actions menu: password field can not be shorter than 4
and longer than 28 (including) characters (numeric and alphabetic)
Define and execute the test cases:
1. Password field contain 2 characters – Fail;
2. Password field contain 15 characters – Pass;
3. Password field contain 35 characters – Fail.
10/14
Equivalance classes
2 15 35
< 4 between 4 and 28 >28
invalid valid invalid
Equivalence Partitions analysisEquivalence Partitions analysis
Example: Requirement for ‘Count’ field from “Order page” of Manager:
Count field is numeric field, only integer number (0-255), not Alphabetic
(A - Z), (a-z) and special characters.
Define and execute the test cases:
1. Enter ‘-5’ into ‘Count’ field – Fail
2. Enter ‘50’ into ‘Count’ field– Pass
3. Enter ‘330’ into ‘Count’ field– Fail
4. Enter any word into ‘Count’ field – Fail
5. Enter ‘(!@#$%^&’ into ‘Count’ field – Fail
Equivalance classes Case
less than 0 invalid
beetwen 0 and 255 valid
more than 255 invalid
string invalid
illegal characters invalid
11/14
Equivalence Partitions analysisEquivalence Partitions analysis
Example: In a system designed for postal services' payment: Letters up to
100g are called as ‘light’.Postal rates for sending the light letters up to 10g are
$25. The next 40g should be played by $35. Each next 25g up to 100g should
be played by an extra $10. Partitions should be designed for “grams”.
Equivalance classes: Price
1) 0 – 10g: 25$
2) 11-50g: 35$
3) 51-75g: 45$
4) 76-100g: 55$
5) >100g -
Define and execute the test cases:
Letter has ‘-5’ g – Fail
Letter has ‘6’ g – Pass (25$)
Letter has ‘33’ g – Pass (35$)
Letter has ‘64’ g – Pass (+10$)
Letter has ‘88’ g – Pass (+10$)
Letter has ‘105’ g – Fail
12/14
Equivalence Partitions analysisEquivalence Partitions analysis
Pluses of EP technique:
• reducing the number of tests;
• reduction in testing time;
• improvement structured testing.
Minuses of EP technique:
• if misused technology we risk losing bugs.
Equivalence partitioning is no standalone method to determine
test cases. It has to be supplemented by boundary value analysis.
13/14
Thank you for your attention!
14/14

More Related Content

What's hot

Integration testing
Integration testingIntegration testing
Integration testingqueen jemila
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case DesignSelvi Vts
 
Test case techniques
Test case techniquesTest case techniques
Test case techniquesPina Parmar
 
Equivalence class testing
Equivalence  class testingEquivalence  class testing
Equivalence class testingMani Kanth
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box TestingTestbytes
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and typesConfiz
 
Types of Software Testing | Edureka
Types of Software Testing | EdurekaTypes of Software Testing | Edureka
Types of Software Testing | EdurekaEdureka!
 
White Box Testing
White Box TestingWhite Box Testing
White Box TestingAlisha Roy
 
White Box Testing And Control Flow & Loop Testing
White Box Testing And Control Flow & Loop TestingWhite Box Testing And Control Flow & Loop Testing
White Box Testing And Control Flow & Loop TestingAnkit Mulani
 
Control Flow Graphs
Control Flow GraphsControl Flow Graphs
Control Flow Graphsdaimk2020
 
verification and validation
verification and validationverification and validation
verification and validationDinesh Pasi
 
boundary value analysis and equivalence partition
boundary value analysis and equivalence partitionboundary value analysis and equivalence partition
boundary value analysis and equivalence partitionSimran Bhatia
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Mani Kanth
 
Non-Functional testing
Non-Functional testingNon-Functional testing
Non-Functional testingKanoah
 

What's hot (20)

Integration testing
Integration testingIntegration testing
Integration testing
 
Black box and white box testing
Black box and white box testingBlack box and white box testing
Black box and white box testing
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case Design
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
Equivalence class testing
Equivalence  class testingEquivalence  class testing
Equivalence class testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Types of Software Testing | Edureka
Types of Software Testing | EdurekaTypes of Software Testing | Edureka
Types of Software Testing | Edureka
 
White Box Testing
White Box TestingWhite Box Testing
White Box Testing
 
System testing
System testingSystem testing
System testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
White Box Testing And Control Flow & Loop Testing
White Box Testing And Control Flow & Loop TestingWhite Box Testing And Control Flow & Loop Testing
White Box Testing And Control Flow & Loop Testing
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Effective Software Test Case Design Approach
Effective Software Test Case Design ApproachEffective Software Test Case Design Approach
Effective Software Test Case Design Approach
 
Control Flow Graphs
Control Flow GraphsControl Flow Graphs
Control Flow Graphs
 
verification and validation
verification and validationverification and validation
verification and validation
 
boundary value analysis and equivalence partition
boundary value analysis and equivalence partitionboundary value analysis and equivalence partition
boundary value analysis and equivalence partition
 
White Box Testing
White Box Testing White Box Testing
White Box Testing
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
 
Non-Functional testing
Non-Functional testingNon-Functional testing
Non-Functional testing
 

Viewers also liked

Relations
RelationsRelations
RelationsGaditek
 
Software configuration items
Software configuration itemsSoftware configuration items
Software configuration itemsashok kumar
 
Boundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioningBoundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioningSneha Singh
 
Black box testing (an introduction to)
Black box testing (an introduction to)Black box testing (an introduction to)
Black box testing (an introduction to)Henry Muccini
 
Software Configuration Management
Software Configuration ManagementSoftware Configuration Management
Software Configuration ManagementArunnima B S
 
Software configuration management
Software configuration managementSoftware configuration management
Software configuration managementfizamustanser
 
Decision table
Decision tableDecision table
Decision tableDMANIMALA
 
Structural testing
Structural testingStructural testing
Structural testingSlideshare
 
Translation Equivalence of Person Reference found in the Subtitle of Harry Po...
Translation Equivalence of Person Reference found in the Subtitle of Harry Po...Translation Equivalence of Person Reference found in the Subtitle of Harry Po...
Translation Equivalence of Person Reference found in the Subtitle of Harry Po...Eny Parina
 
Structural and functional testing
Structural and functional testingStructural and functional testing
Structural and functional testingHimanshu
 
Boundary and equivalnce systematic test design
Boundary and equivalnce   systematic test designBoundary and equivalnce   systematic test design
Boundary and equivalnce systematic test designIan McDonald
 
Equivalence partitioning
Equivalence partitioningEquivalence partitioning
Equivalence partitioningSarjana Muda
 
Software Configuration Management
Software Configuration ManagementSoftware Configuration Management
Software Configuration Managementelliando dias
 
Aims, goals and objectives
Aims, goals and objectivesAims, goals and objectives
Aims, goals and objectivesMohamed Benhima
 
Software Testing Techniques
Software Testing TechniquesSoftware Testing Techniques
Software Testing TechniquesKiran Kumar
 
Equivalency in translation studies
Equivalency in translation studiesEquivalency in translation studies
Equivalency in translation studiesYahyaChoy
 

Viewers also liked (20)

Relations
RelationsRelations
Relations
 
Software configuration items
Software configuration itemsSoftware configuration items
Software configuration items
 
Boundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioningBoundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioning
 
Black box testing (an introduction to)
Black box testing (an introduction to)Black box testing (an introduction to)
Black box testing (an introduction to)
 
Software Configuration Management
Software Configuration ManagementSoftware Configuration Management
Software Configuration Management
 
Software configuration management
Software configuration managementSoftware configuration management
Software configuration management
 
cohesion
cohesioncohesion
cohesion
 
Decision table
Decision tableDecision table
Decision table
 
The importance of quality software
The importance of quality softwareThe importance of quality software
The importance of quality software
 
Structural testing
Structural testingStructural testing
Structural testing
 
Translation Equivalence of Person Reference found in the Subtitle of Harry Po...
Translation Equivalence of Person Reference found in the Subtitle of Harry Po...Translation Equivalence of Person Reference found in the Subtitle of Harry Po...
Translation Equivalence of Person Reference found in the Subtitle of Harry Po...
 
Structural and functional testing
Structural and functional testingStructural and functional testing
Structural and functional testing
 
Boundary and equivalnce systematic test design
Boundary and equivalnce   systematic test designBoundary and equivalnce   systematic test design
Boundary and equivalnce systematic test design
 
Equivalence partitioning
Equivalence partitioningEquivalence partitioning
Equivalence partitioning
 
Code coverage
Code coverageCode coverage
Code coverage
 
Software Configuration Management
Software Configuration ManagementSoftware Configuration Management
Software Configuration Management
 
Aims, goals and objectives
Aims, goals and objectivesAims, goals and objectives
Aims, goals and objectives
 
Software Testing Techniques
Software Testing TechniquesSoftware Testing Techniques
Software Testing Techniques
 
Equivalency in translation studies
Equivalency in translation studiesEquivalency in translation studies
Equivalency in translation studies
 
Ch8.testing
Ch8.testingCh8.testing
Ch8.testing
 

Similar to Equivalence partitions analysis

Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...Ryan Tran
 
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptx
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptxEquivalence-Partition-Testing-Notes-17122022-083818pm.pptx
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptxKhayal Abbas Akhtar
 
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques finalshraavank
 
ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4onsoftwaretest
 
Tester contribution to Testing Effectiveness. An Empirical Research
Tester contribution to Testing Effectiveness. An Empirical ResearchTester contribution to Testing Effectiveness. An Empirical Research
Tester contribution to Testing Effectiveness. An Empirical ResearchNatalia Juristo
 
Software Testing - Test Design Techniques
Software Testing - Test Design TechniquesSoftware Testing - Test Design Techniques
Software Testing - Test Design TechniquesRegina Vitalicio
 
Boundary Value Analysis & Equivalence Partitioning with Examples (1) (2).pptx
Boundary Value Analysis & Equivalence Partitioning with Examples (1) (2).pptxBoundary Value Analysis & Equivalence Partitioning with Examples (1) (2).pptx
Boundary Value Analysis & Equivalence Partitioning with Examples (1) (2).pptxANSHIKANIGAMRA201103
 
Testing foundations
Testing foundationsTesting foundations
Testing foundationsNeha Singh
 
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]Khizra Sammad
 
Software Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingSoftware Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingNikita Knysh
 
Black boxtesting
Black boxtestingBlack boxtesting
Black boxtestingfuntest06
 
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...priyasoundar
 
SE 09 (test design techs).pptx
SE 09 (test design techs).pptxSE 09 (test design techs).pptx
SE 09 (test design techs).pptxZohairMughal1
 

Similar to Equivalence partitions analysis (20)

Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
 
black-box-1.pdf
black-box-1.pdfblack-box-1.pdf
black-box-1.pdf
 
SE%200-Testing%20(2).pptx
SE%200-Testing%20(2).pptxSE%200-Testing%20(2).pptx
SE%200-Testing%20(2).pptx
 
Unit testing
Unit testingUnit testing
Unit testing
 
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptx
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptxEquivalence-Partition-Testing-Notes-17122022-083818pm.pptx
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptx
 
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4
 
Tester contribution to Testing Effectiveness. An Empirical Research
Tester contribution to Testing Effectiveness. An Empirical ResearchTester contribution to Testing Effectiveness. An Empirical Research
Tester contribution to Testing Effectiveness. An Empirical Research
 
Software Testing - Test Design Techniques
Software Testing - Test Design TechniquesSoftware Testing - Test Design Techniques
Software Testing - Test Design Techniques
 
Boundary Value Analysis & Equivalence Partitioning with Examples (1) (2).pptx
Boundary Value Analysis & Equivalence Partitioning with Examples (1) (2).pptxBoundary Value Analysis & Equivalence Partitioning with Examples (1) (2).pptx
Boundary Value Analysis & Equivalence Partitioning with Examples (1) (2).pptx
 
Testing foundations
Testing foundationsTesting foundations
Testing foundations
 
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
 
Software Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingSoftware Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box Testing
 
Lec 17.pptx
Lec 17.pptxLec 17.pptx
Lec 17.pptx
 
Black boxtesting
Black boxtestingBlack boxtesting
Black boxtesting
 
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
 
Testing
TestingTesting
Testing
 
Testing techniques
Testing techniquesTesting techniques
Testing techniques
 
SE 09 (test design techs).pptx
SE 09 (test design techs).pptxSE 09 (test design techs).pptx
SE 09 (test design techs).pptx
 

More from Vadym Muliavka

Mykhailo Zarai "Be careful when dealing with C++" at Rivne IT Talks
Mykhailo Zarai "Be careful when dealing with C++" at Rivne IT TalksMykhailo Zarai "Be careful when dealing with C++" at Rivne IT Talks
Mykhailo Zarai "Be careful when dealing with C++" at Rivne IT TalksVadym Muliavka
 
Roman Valchuk "Introducing to DevOps technologies"
Roman Valchuk "Introducing to DevOps technologies"Roman Valchuk "Introducing to DevOps technologies"
Roman Valchuk "Introducing to DevOps technologies"Vadym Muliavka
 
IT Talks "VR Tips for Engineers and Developers"
IT Talks "VR Tips for Engineers and Developers"IT Talks "VR Tips for Engineers and Developers"
IT Talks "VR Tips for Engineers and Developers"Vadym Muliavka
 
Rivne IT Talks How to programa Quantum Computer?
Rivne IT Talks How to programa Quantum Computer?Rivne IT Talks How to programa Quantum Computer?
Rivne IT Talks How to programa Quantum Computer?Vadym Muliavka
 
IT Talks The approach for solving impossible tasks (dynamic programming)
IT Talks The approach for solving impossible tasks (dynamic programming)IT Talks The approach for solving impossible tasks (dynamic programming)
IT Talks The approach for solving impossible tasks (dynamic programming)Vadym Muliavka
 
IT Talks The c++'s simplest smart pointers in depth
IT Talks The c++'s simplest smart pointers in depthIT Talks The c++'s simplest smart pointers in depth
IT Talks The c++'s simplest smart pointers in depthVadym Muliavka
 
Bug reporting and tracking
Bug reporting and trackingBug reporting and tracking
Bug reporting and trackingVadym Muliavka
 
IT Talks Автоматизація тестування з допомогою Selenium
IT Talks Автоматизація тестування з допомогою SeleniumIT Talks Автоматизація тестування з допомогою Selenium
IT Talks Автоматизація тестування з допомогою SeleniumVadym Muliavka
 
IT Talks Тестування та аналіз вимог
IT Talks Тестування та аналіз вимогIT Talks Тестування та аналіз вимог
IT Talks Тестування та аналіз вимогVadym Muliavka
 
IT Talks QA - якість процесів розробки
IT Talks QA - якість процесів розробкиIT Talks QA - якість процесів розробки
IT Talks QA - якість процесів розробкиVadym Muliavka
 

More from Vadym Muliavka (10)

Mykhailo Zarai "Be careful when dealing with C++" at Rivne IT Talks
Mykhailo Zarai "Be careful when dealing with C++" at Rivne IT TalksMykhailo Zarai "Be careful when dealing with C++" at Rivne IT Talks
Mykhailo Zarai "Be careful when dealing with C++" at Rivne IT Talks
 
Roman Valchuk "Introducing to DevOps technologies"
Roman Valchuk "Introducing to DevOps technologies"Roman Valchuk "Introducing to DevOps technologies"
Roman Valchuk "Introducing to DevOps technologies"
 
IT Talks "VR Tips for Engineers and Developers"
IT Talks "VR Tips for Engineers and Developers"IT Talks "VR Tips for Engineers and Developers"
IT Talks "VR Tips for Engineers and Developers"
 
Rivne IT Talks How to programa Quantum Computer?
Rivne IT Talks How to programa Quantum Computer?Rivne IT Talks How to programa Quantum Computer?
Rivne IT Talks How to programa Quantum Computer?
 
IT Talks The approach for solving impossible tasks (dynamic programming)
IT Talks The approach for solving impossible tasks (dynamic programming)IT Talks The approach for solving impossible tasks (dynamic programming)
IT Talks The approach for solving impossible tasks (dynamic programming)
 
IT Talks The c++'s simplest smart pointers in depth
IT Talks The c++'s simplest smart pointers in depthIT Talks The c++'s simplest smart pointers in depth
IT Talks The c++'s simplest smart pointers in depth
 
Bug reporting and tracking
Bug reporting and trackingBug reporting and tracking
Bug reporting and tracking
 
IT Talks Автоматизація тестування з допомогою Selenium
IT Talks Автоматизація тестування з допомогою SeleniumIT Talks Автоматизація тестування з допомогою Selenium
IT Talks Автоматизація тестування з допомогою Selenium
 
IT Talks Тестування та аналіз вимог
IT Talks Тестування та аналіз вимогIT Talks Тестування та аналіз вимог
IT Talks Тестування та аналіз вимог
 
IT Talks QA - якість процесів розробки
IT Talks QA - якість процесів розробкиIT Talks QA - якість процесів розробки
IT Talks QA - якість процесів розробки
 

Recently uploaded

A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identityteam-WIBU
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfYashikaSharma391629
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxRTS corp
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 

Recently uploaded (20)

A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identity
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 

Equivalence partitions analysis

  • 1. Equivalence PartitionsEquivalence Partitions analysis:analysis:Goals, ExamplesGoals, Examples Vadym Muliavka June 2014
  • 2. Agenda 1.What is equivalence partitioning (EP)? 2.Coals & idea of EP 3. When tests are equivalent? 4.Test case design by EP 5.Equivalence Partitioning Examples 6.Pluses & minuses of EP technique 2/14
  • 3. Equivalence Partitions analysisEquivalence Partitions analysis Equivalence partitioning (EP) – A black box test design technique in which test cases are designed to execute representatives from equivalence partitions. The equivalence partitions are usually derived from the requirements specification for input attributes that influence the processing of the test object. Idea: Dividing the test input data into a range of values and selecting one input value from each range 3/14
  • 4. Equivalence Partitions analysisEquivalence Partitions analysis Equivalence classes Boundary values 4/14 Input, output values
  • 5. Equivalence Partitions analysisEquivalence Partitions analysis Coals: • To reduce the number of test cases to a necessary minimum • To select the right test cases to cover all possible scenarios (of course not to be absolutely sure); • Maintaining acceptable test coverage. Using this technique, the tester should be remembered that: • Too many equivalence classes increases the likelihood that multiple tests would be superfluous (excessive); • Too few equivalence classes increases the likelihood that the error will be skipped product. 5/14
  • 6. Equivalence Partitions analysisEquivalence Partitions analysis Two tests are considered equivalent if: • They test the same thing (function module, part of the system). • If one of the test catches an error, the other is also likely to catch her; • If one of them does not catch the error, then the other is also likely will not catch. 6/14
  • 7. Equivalence Partitions analysisEquivalence Partitions analysis Test case design by EP proceeds into 2 steps: • Identify equivalence classes; • Choose one representative from each equivalence classes; • Define the test cases. 7/14
  • 8. Equivalence Partitions analysisEquivalence Partitions analysis Identify equivalence classes: • Input, output: clue from requirement; • Valid classes: legal input values; • Invalid classes: illegal or unacceptable input values; 8/14
  • 9. Equivalence Partitions analysisEquivalence Partitions analysis Define the test cases: • Create a test case for each equivalence class. • Assign a unique number to each equivalence class • For valid case: until all valid equivalence classes have been covered by test case, write a new test case covering as many uncover valid equivalence classes as possible. • For invalid case: until all invalid equivalence classes have been covered by test case, write a new test case that cover one, and only one, of the uncovered invalid equivalence classes. 9/14
  • 10. Equivalence Partitions analysisEquivalence Partitions analysis Example: Requirement for ‘Password’ field from “Add users modal window” of Admins actions menu: password field can not be shorter than 4 and longer than 28 (including) characters (numeric and alphabetic) Define and execute the test cases: 1. Password field contain 2 characters – Fail; 2. Password field contain 15 characters – Pass; 3. Password field contain 35 characters – Fail. 10/14 Equivalance classes 2 15 35 < 4 between 4 and 28 >28 invalid valid invalid
  • 11. Equivalence Partitions analysisEquivalence Partitions analysis Example: Requirement for ‘Count’ field from “Order page” of Manager: Count field is numeric field, only integer number (0-255), not Alphabetic (A - Z), (a-z) and special characters. Define and execute the test cases: 1. Enter ‘-5’ into ‘Count’ field – Fail 2. Enter ‘50’ into ‘Count’ field– Pass 3. Enter ‘330’ into ‘Count’ field– Fail 4. Enter any word into ‘Count’ field – Fail 5. Enter ‘(!@#$%^&’ into ‘Count’ field – Fail Equivalance classes Case less than 0 invalid beetwen 0 and 255 valid more than 255 invalid string invalid illegal characters invalid 11/14
  • 12. Equivalence Partitions analysisEquivalence Partitions analysis Example: In a system designed for postal services' payment: Letters up to 100g are called as ‘light’.Postal rates for sending the light letters up to 10g are $25. The next 40g should be played by $35. Each next 25g up to 100g should be played by an extra $10. Partitions should be designed for “grams”. Equivalance classes: Price 1) 0 – 10g: 25$ 2) 11-50g: 35$ 3) 51-75g: 45$ 4) 76-100g: 55$ 5) >100g - Define and execute the test cases: Letter has ‘-5’ g – Fail Letter has ‘6’ g – Pass (25$) Letter has ‘33’ g – Pass (35$) Letter has ‘64’ g – Pass (+10$) Letter has ‘88’ g – Pass (+10$) Letter has ‘105’ g – Fail 12/14
  • 13. Equivalence Partitions analysisEquivalence Partitions analysis Pluses of EP technique: • reducing the number of tests; • reduction in testing time; • improvement structured testing. Minuses of EP technique: • if misused technology we risk losing bugs. Equivalence partitioning is no standalone method to determine test cases. It has to be supplemented by boundary value analysis. 13/14
  • 14. Thank you for your attention! 14/14