SlideShare a Scribd company logo
6
Most read
7
Most read
11
Most read
Boundary value analysis: Goals,Boundary value analysis: Goals,
ExamplesExamples
Vadym Mulyavka
May
2014
Agenda
1.What is boundary value?
2.What is Boundary value analyze (BVA)?
3.Coals
4.Test case design by BVA proceeds
5.Example
2/12
Boundary value analyze
“ Bugs lurk in corners and
congregate at boundaries”
Boris Beizer
A boundary value:
• an input value or output value which is on the edge of an
equivalence partition or at the smallest incremental distance on
either side of an edge, for example the minimum or maximum
value of a range.
What is Boundary value analyze (BVA)?
- Is a technique to refine equivalence partitioning
- based on testing at the boundaries between partitions
3/12
Boundary value analyze
Equivalence classes
Boundary values
4/12
Boundary value analyze
Coals:
• Find errors associated with the boundary values
Test levels:
• Unit
• Integration
• System
• System-integration
This technique is based on the risks:
• A large number of problems occur at the boundaries of the input variables
• Even if found equivalent classes correctly, boundary values may be
incorrectly assigned to another class.
5/12
Boundary value analyze
Test case design by BVA proceeds into 3 steps:
• Determine the range of values (usually it is equivalence class)
• Determine boundary values
• Check input variable value at the minimum, just above
minimum, just below minimum, normal, at the maximum, just
below maximum, just above maximum
6/12
Boundary value analyze
Example: bank has different charges depending on the transaction done.
• 5% of the amount for transaction less than or equal to 1000
• 6% of the amount for transaction more than 1000 and less than or equal
to 2000
• 7% of the amount for transaction more than 2000
7/12
Boundary value analyze
Example: Password field can not be shorter than 4 and longer than 28
(including) characters (numeric and alphabetic)
8/12
Equivalance classes Boundary Values
0-3 {-1;0;1}, {2;3;4}
4-28 {3;4;5}, {27;28;29}
28+1
Boundary value analyze
Example:The program selects candidates for military service focusing only
on age (not less 18 and no more 25)
Conscription in the army
Not conscription Conscription Not conscription
17 18 25 26
Boundary values: {17;18,19} {24;25;26}
9/12
Boundary value analyze
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: Boundary Values
0 – 9g: 25$ {-1, 0, 1}, {8, 9, 10},
10-49g: 35$ {9, 10, 11}, {48,49,50}
50-74g:10$ {49, 50, 51}, {73,74,75}
75-99g: 10$ {74,75,99}, {98,99,100}
100+1g: not a light {99,100,101}
letters
10/12
Boundary value analyze
Example: we test module for HR, which determines to hire the candidate or
not, based on the age of the candidate:
• 0-16 (Do not Hire); 16-18
• (Can hire only part time );
• 18-55 (Can hire on full time);
• 55-99(Do not Hire)
Equivalance classes: Boundary Values
0-15: Do not Hire {-1, 0, 1}, {14, 15, 16},
16-17: Can hire only part time {17, 18, 19},
18-54: Can hire on full time {54, 55, 56},
55-99: Do not Hire {98, 99, 100}
11/12
Thank you for your attention!
12/12

More Related Content

PPT
Equivalence partitions analysis
PPT
C program
PPT
Place Value
PPT
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
PDF
Black Box Testing
PPTX
Home automation using arduino
PPTX
artificial intelligence
PDF
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
Equivalence partitions analysis
C program
Place Value
Software Testing - Boundary Value Analysis, Equivalent Class Partition, Decis...
Black Box Testing
Home automation using arduino
artificial intelligence
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf

What's hot (20)

PPTX
Decision Table Based Testing
PDF
Types of software testing
PPT
Software Testing
PPTX
Testing web application
PPTX
Equivalence partinioning and boundary value analysis
PPTX
Validation Controls in asp.net
PDF
software engineering
PPT
Software Engineering (Introduction to Software Engineering)
PPTX
Acceptance testing
PPTX
Introduction to software testing
PDF
Chapter 6 software metrics
PPTX
Software project management
PPT
Black Box Testing
PPT
Ch 3 event driven programming
PDF
Software Testing Principles
PPT
Risk management(software engineering)
PPT
Black box and white box testing
PPTX
Software testing
PPTX
Software testing & Quality Assurance
PPTX
Black box software testing
Decision Table Based Testing
Types of software testing
Software Testing
Testing web application
Equivalence partinioning and boundary value analysis
Validation Controls in asp.net
software engineering
Software Engineering (Introduction to Software Engineering)
Acceptance testing
Introduction to software testing
Chapter 6 software metrics
Software project management
Black Box Testing
Ch 3 event driven programming
Software Testing Principles
Risk management(software engineering)
Black box and white box testing
Software testing
Software testing & Quality Assurance
Black box software testing
Ad

Viewers also liked (9)

PPTX
Storyboard boundary value_analysis
PPTX
Boundary value analysis and equivalence partitioning
PPT
New software testing-techniques
PPS
Boundary and equivalnce systematic test design
PPTX
PPT
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
PPT
Types of Software Testing
PPTX
Software testing ppt
PDF
Software testing methods, levels and types
Storyboard boundary value_analysis
Boundary value analysis and equivalence partitioning
New software testing-techniques
Boundary and equivalnce systematic test design
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Types of Software Testing
Software testing ppt
Software testing methods, levels and types
Ad

Similar to Boundary value analysis (7)

PPTX
BlackBox Testing in detail with examples.pptx
PPT
boundaryvalueanalysisequivalentclasspartitiondecisiontable-200927060915.ppt
PPTX
Black Box Testing
PPTX
Software Testing - Test Design Techniques
PPTX
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptx
PPTX
Test design techniques
PPTX
Lavenya Testing.pptx
BlackBox Testing in detail with examples.pptx
boundaryvalueanalysisequivalentclasspartitiondecisiontable-200927060915.ppt
Black Box Testing
Software Testing - Test Design Techniques
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptx
Test design techniques
Lavenya Testing.pptx

More from Vadym Muliavka (10)

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

Recently uploaded (20)

PDF
Nekopoi APK 2025 free lastest update
PDF
Understanding Forklifts - TECH EHS Solution
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Digital Strategies for Manufacturing Companies
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Introduction to Artificial Intelligence
PPT
Introduction Database Management System for Course Database
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
System and Network Administraation Chapter 3
PDF
top salesforce developer skills in 2025.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
Nekopoi APK 2025 free lastest update
Understanding Forklifts - TECH EHS Solution
How Creative Agencies Leverage Project Management Software.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
ManageIQ - Sprint 268 Review - Slide Deck
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Digital Strategies for Manufacturing Companies
Wondershare Filmora 15 Crack With Activation Key [2025
Upgrade and Innovation Strategies for SAP ERP Customers
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PTS Company Brochure 2025 (1).pdf.......
Introduction to Artificial Intelligence
Introduction Database Management System for Course Database
Navsoft: AI-Powered Business Solutions & Custom Software Development
System and Network Administraation Chapter 3
top salesforce developer skills in 2025.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Which alternative to Crystal Reports is best for small or large businesses.pdf

Boundary value analysis

  • 1. Boundary value analysis: Goals,Boundary value analysis: Goals, ExamplesExamples Vadym Mulyavka May 2014
  • 2. Agenda 1.What is boundary value? 2.What is Boundary value analyze (BVA)? 3.Coals 4.Test case design by BVA proceeds 5.Example 2/12
  • 3. Boundary value analyze “ Bugs lurk in corners and congregate at boundaries” Boris Beizer A boundary value: • an input value or output value which is on the edge of an equivalence partition or at the smallest incremental distance on either side of an edge, for example the minimum or maximum value of a range. What is Boundary value analyze (BVA)? - Is a technique to refine equivalence partitioning - based on testing at the boundaries between partitions 3/12
  • 4. Boundary value analyze Equivalence classes Boundary values 4/12
  • 5. Boundary value analyze Coals: • Find errors associated with the boundary values Test levels: • Unit • Integration • System • System-integration This technique is based on the risks: • A large number of problems occur at the boundaries of the input variables • Even if found equivalent classes correctly, boundary values may be incorrectly assigned to another class. 5/12
  • 6. Boundary value analyze Test case design by BVA proceeds into 3 steps: • Determine the range of values (usually it is equivalence class) • Determine boundary values • Check input variable value at the minimum, just above minimum, just below minimum, normal, at the maximum, just below maximum, just above maximum 6/12
  • 7. Boundary value analyze Example: bank has different charges depending on the transaction done. • 5% of the amount for transaction less than or equal to 1000 • 6% of the amount for transaction more than 1000 and less than or equal to 2000 • 7% of the amount for transaction more than 2000 7/12
  • 8. Boundary value analyze Example: Password field can not be shorter than 4 and longer than 28 (including) characters (numeric and alphabetic) 8/12 Equivalance classes Boundary Values 0-3 {-1;0;1}, {2;3;4} 4-28 {3;4;5}, {27;28;29} 28+1
  • 9. Boundary value analyze Example:The program selects candidates for military service focusing only on age (not less 18 and no more 25) Conscription in the army Not conscription Conscription Not conscription 17 18 25 26 Boundary values: {17;18,19} {24;25;26} 9/12
  • 10. Boundary value analyze 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: Boundary Values 0 – 9g: 25$ {-1, 0, 1}, {8, 9, 10}, 10-49g: 35$ {9, 10, 11}, {48,49,50} 50-74g:10$ {49, 50, 51}, {73,74,75} 75-99g: 10$ {74,75,99}, {98,99,100} 100+1g: not a light {99,100,101} letters 10/12
  • 11. Boundary value analyze Example: we test module for HR, which determines to hire the candidate or not, based on the age of the candidate: • 0-16 (Do not Hire); 16-18 • (Can hire only part time ); • 18-55 (Can hire on full time); • 55-99(Do not Hire) Equivalance classes: Boundary Values 0-15: Do not Hire {-1, 0, 1}, {14, 15, 16}, 16-17: Can hire only part time {17, 18, 19}, 18-54: Can hire on full time {54, 55, 56}, 55-99: Do not Hire {98, 99, 100} 11/12
  • 12. Thank you for your attention! 12/12