SlideShare a Scribd company logo
Prepared by:
Mona M. Abd El-Rahman.
QC Engineer at Ibtikar Technologies Co.
Part 2
Acceptance
System
Integration
Component Test
Testing
Static
Reviews
Dynamic
Functional
Non-
Functional
Performance Security Usability
Design
Techniques
Equivalence
Partitioning
Boundary
Value
Analysis
Decision
Table
Testing
State
Transition
Diagram
Use case
Testing
• Definition: 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.
• Advantage: It reduces the time required for
performing testing of a software due to less
number of test cases.
Equivalence Partitioning:
• It’s widely recognized that input values at the
extreme ends of input domain cause more
errors in system. More application errors
occur at the boundaries of input domain.
• It is used to identify errors at boundaries
rather than finding those exist in center of
input domain.
Boundary Value Analysis:
Example:
Tax Calculation:
From To %
0 1200 0
Over 1200 Up to 3000 5
Over 3000 10
• Definition: Decision Table Testing is a good
way to deal with a combination of inputs,
which produce different results.
• Advantage: It helps reduce test effort in
verifying each and every combinations of test
data, at the same time ensuring complete
coverage.
Decision table testing:
Conditions Rule 1 Rule 2 Rule 3 Rule 4
Cond.1
Cond.2
Actions
Act.1
Act.2
How to ensure complete coverage ?
2 𝑛
N: Number of conditions
Example:
New tax will be applied depending on the following conditions:
o Income less than 1200, not married and younger than 35 
Tax=15%.
o Income less than 1200, married and younger than 35  Tax =
10%.
o Income less than 1200, married and older than 35  Tax = 5%.
o Else 15%.
1 2 3 4 5 6 7 8
Less
then
1200
T T T T F F F F
Marrie
d
T T F F T T F F
Less
than
35
T F T F T F T F
15 T T T T T T
10 T
5 T
State transition technique is a dynamic testing
technique, which is used when the system is
defined in terms of a finite number of states and
the transitions between the states is governed
by the rules of the system.
State Transition Diagram:
State 1
State 2
Transition
Input
ActionEvent Output
How to determine coverage level?
N-switch
N = 0  Start – End – Start
N = 1  Start – End – Start - End
Example:
- A simple electronic clock has for mode, display
time, change time, display date and change date.
- The change mode button change between
display time and display date.
- The reset button switch from display time to
adjust time or display date to adjust date.
- The set button returns from adjust time to
display time or adjust date to display date.
• Definition: A use case is a description of a
particular use of the system by an actor or
user.
• Use: It is used widely in developing tests at
system or acceptance level.
• Advantage: It helps identifying test cases that
cover the entire system, on a transaction by
transaction basis from the start to finish.
Use case testing:
Actor
Case 1
Case 2
Case3
Example:
ATM PIN
For any questions, feel free to contact me
mona.m.abdelrahman@gmail.com

More Related Content

What's hot

Basics of Controller
Basics of ControllerBasics of Controller
Basics of Controller
Sharique Ahmad
 
Control system and flowchart
Control system and flowchartControl system and flowchart
Control system and flowchartsjdc777
 
Software Engineering (Testing techniques)
Software Engineering (Testing techniques)Software Engineering (Testing techniques)
Software Engineering (Testing techniques)
ShudipPal
 
SE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software TestingSE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software Testing
Amr E. Mohamed
 
Flow oriented modeling
Flow oriented modelingFlow oriented modeling
Flow oriented modeling
rabiya Ashiq
 
Domain management methdology
Domain management methdologyDomain management methdology
Domain management methdologyRob Mattison
 
Mse procedure synchro
Mse procedure synchroMse procedure synchro
Mse procedure synchroStone Striker
 
What is Benchmarking & how it work in power system
What is Benchmarking & how it work in power system What is Benchmarking & how it work in power system
What is Benchmarking & how it work in power system
Power System Operation
 
Measurement Analysis,Transducers and Instrumentation
 Measurement Analysis,Transducers and Instrumentation Measurement Analysis,Transducers and Instrumentation
Measurement Analysis,Transducers and Instrumentation
Yousaf Khan
 
Chapter 2 variety of modelling
Chapter 2 variety of modellingChapter 2 variety of modelling
Chapter 2 variety of modelling
Tigabu Yaya
 
Integration of chromatographic peaks
Integration of chromatographic peaksIntegration of chromatographic peaks
Integration of chromatographic peaks
deepak mishra
 
Optimal controller settings
Optimal controller settingsOptimal controller settings
Optimal controller settings
Sadiq Rahim
 
Lec 5 pid
Lec 5 pidLec 5 pid

What's hot (15)

Basics of Controller
Basics of ControllerBasics of Controller
Basics of Controller
 
Control system and flowchart
Control system and flowchartControl system and flowchart
Control system and flowchart
 
Software Engineering (Testing techniques)
Software Engineering (Testing techniques)Software Engineering (Testing techniques)
Software Engineering (Testing techniques)
 
SE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software TestingSE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software Testing
 
Flow oriented modeling
Flow oriented modelingFlow oriented modeling
Flow oriented modeling
 
Domain management methdology
Domain management methdologyDomain management methdology
Domain management methdology
 
Mse procedure synchro
Mse procedure synchroMse procedure synchro
Mse procedure synchro
 
Optimal control system
Optimal control systemOptimal control system
Optimal control system
 
What is Benchmarking & how it work in power system
What is Benchmarking & how it work in power system What is Benchmarking & how it work in power system
What is Benchmarking & how it work in power system
 
Measurement Analysis,Transducers and Instrumentation
 Measurement Analysis,Transducers and Instrumentation Measurement Analysis,Transducers and Instrumentation
Measurement Analysis,Transducers and Instrumentation
 
Chapter 2 variety of modelling
Chapter 2 variety of modellingChapter 2 variety of modelling
Chapter 2 variety of modelling
 
Integration of chromatographic peaks
Integration of chromatographic peaksIntegration of chromatographic peaks
Integration of chromatographic peaks
 
Optimal controller settings
Optimal controller settingsOptimal controller settings
Optimal controller settings
 
Thesis1
Thesis1Thesis1
Thesis1
 
Lec 5 pid
Lec 5 pidLec 5 pid
Lec 5 pid
 

Similar to Test cases for effective testing - part 2

MSA R&R for training in manufacturing industry
MSA R&R for training in manufacturing industryMSA R&R for training in manufacturing industry
MSA R&R for training in manufacturing industry
abhishek558363
 
Instrument Transformers - Following the Money: Best Practices in a Post AMI W...
Instrument Transformers - Following the Money: Best Practices in a Post AMI W...Instrument Transformers - Following the Money: Best Practices in a Post AMI W...
Instrument Transformers - Following the Money: Best Practices in a Post AMI W...
TESCO - The Eastern Specialty Company
 
TMCS & Its Solutions- EOL Testing, DAQ System, ATE Testing.pptx
TMCS & Its Solutions- EOL Testing, DAQ System, ATE Testing.pptxTMCS & Its Solutions- EOL Testing, DAQ System, ATE Testing.pptx
TMCS & Its Solutions- EOL Testing, DAQ System, ATE Testing.pptx
TMCS India
 
Benchmark methods to analyze embedded processors and systems
Benchmark methods to analyze embedded processors and systemsBenchmark methods to analyze embedded processors and systems
Benchmark methods to analyze embedded processors and systems
XMOS
 
Chapter 7
Chapter 7Chapter 7
Chapter 7
Amit Gandhi
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
Pina Parmar
 
Detecting soft errors by a purely software approach
Detecting soft errors by a purely software approachDetecting soft errors by a purely software approach
Detecting soft errors by a purely software approach
Md. Hasibur Rashid
 
Meter Testing and AMI Deployment - Before, During and After
Meter Testing and AMI Deployment - Before, During and AfterMeter Testing and AMI Deployment - Before, During and After
Meter Testing and AMI Deployment - Before, During and After
TESCO - The Eastern Specialty Company
 
New Tools for a Next Generation of Metering - TESCO Solutions
New Tools for a Next Generation of Metering - TESCO SolutionsNew Tools for a Next Generation of Metering - TESCO Solutions
New Tools for a Next Generation of Metering - TESCO Solutions
TESCO - The Eastern Specialty Company
 
Fuzzy controlled mine drainage system based on embedded system
Fuzzy controlled mine drainage system based on embedded systemFuzzy controlled mine drainage system based on embedded system
Fuzzy controlled mine drainage system based on embedded system
IRJET Journal
 
What are Software Testing Methodologies | Software Testing Techniques | Edureka
What are Software Testing Methodologies | Software Testing Techniques | EdurekaWhat are Software Testing Methodologies | Software Testing Techniques | Edureka
What are Software Testing Methodologies | Software Testing Techniques | Edureka
Edureka!
 
Ch-4: Measurement systems and basic concepts of measurement methods
Ch-4: Measurement systems and basic concepts of measurement methodsCh-4: Measurement systems and basic concepts of measurement methods
Ch-4: Measurement systems and basic concepts of measurement methods
Suraj Shukla
 
Tug Ot Prez 2010 050510
Tug Ot Prez 2010 050510Tug Ot Prez 2010 050510
Tug Ot Prez 2010 050510
Deb Ahlgren
 
White Paper: Continuous Change-Driven Build Verification
White Paper: Continuous Change-Driven Build VerificationWhite Paper: Continuous Change-Driven Build Verification
White Paper: Continuous Change-Driven Build Verification
Perforce
 
Single Phase Meter Testing Overview
Single Phase Meter Testing OverviewSingle Phase Meter Testing Overview
Single Phase Meter Testing Overview
TESCO - The Eastern Specialty Company
 
Site Verification: Tools and Best Practices to Accurately Meter Complex, High...
Site Verification: Tools and Best Practices to Accurately Meter Complex, High...Site Verification: Tools and Best Practices to Accurately Meter Complex, High...
Site Verification: Tools and Best Practices to Accurately Meter Complex, High...
TESCO - The Eastern Specialty Company
 
AMI Meter Certification Before, During and After Deployment
AMI Meter Certification Before, During and After DeploymentAMI Meter Certification Before, During and After Deployment
AMI Meter Certification Before, During and After Deployment
TESCO - The Eastern Specialty Company
 
SE2_Lec 20_Software Testing
SE2_Lec 20_Software TestingSE2_Lec 20_Software Testing
SE2_Lec 20_Software Testing
Amr E. Mohamed
 
Pid controller
Pid controllerPid controller
Pid controller
Dr. Chetan Bhatt
 
Software Testing and Quality Assurance Assignment 2
Software Testing and Quality Assurance Assignment 2Software Testing and Quality Assurance Assignment 2
Software Testing and Quality Assurance Assignment 2
Gurpreet singh
 

Similar to Test cases for effective testing - part 2 (20)

MSA R&R for training in manufacturing industry
MSA R&R for training in manufacturing industryMSA R&R for training in manufacturing industry
MSA R&R for training in manufacturing industry
 
Instrument Transformers - Following the Money: Best Practices in a Post AMI W...
Instrument Transformers - Following the Money: Best Practices in a Post AMI W...Instrument Transformers - Following the Money: Best Practices in a Post AMI W...
Instrument Transformers - Following the Money: Best Practices in a Post AMI W...
 
TMCS & Its Solutions- EOL Testing, DAQ System, ATE Testing.pptx
TMCS & Its Solutions- EOL Testing, DAQ System, ATE Testing.pptxTMCS & Its Solutions- EOL Testing, DAQ System, ATE Testing.pptx
TMCS & Its Solutions- EOL Testing, DAQ System, ATE Testing.pptx
 
Benchmark methods to analyze embedded processors and systems
Benchmark methods to analyze embedded processors and systemsBenchmark methods to analyze embedded processors and systems
Benchmark methods to analyze embedded processors and systems
 
Chapter 7
Chapter 7Chapter 7
Chapter 7
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
Detecting soft errors by a purely software approach
Detecting soft errors by a purely software approachDetecting soft errors by a purely software approach
Detecting soft errors by a purely software approach
 
Meter Testing and AMI Deployment - Before, During and After
Meter Testing and AMI Deployment - Before, During and AfterMeter Testing and AMI Deployment - Before, During and After
Meter Testing and AMI Deployment - Before, During and After
 
New Tools for a Next Generation of Metering - TESCO Solutions
New Tools for a Next Generation of Metering - TESCO SolutionsNew Tools for a Next Generation of Metering - TESCO Solutions
New Tools for a Next Generation of Metering - TESCO Solutions
 
Fuzzy controlled mine drainage system based on embedded system
Fuzzy controlled mine drainage system based on embedded systemFuzzy controlled mine drainage system based on embedded system
Fuzzy controlled mine drainage system based on embedded system
 
What are Software Testing Methodologies | Software Testing Techniques | Edureka
What are Software Testing Methodologies | Software Testing Techniques | EdurekaWhat are Software Testing Methodologies | Software Testing Techniques | Edureka
What are Software Testing Methodologies | Software Testing Techniques | Edureka
 
Ch-4: Measurement systems and basic concepts of measurement methods
Ch-4: Measurement systems and basic concepts of measurement methodsCh-4: Measurement systems and basic concepts of measurement methods
Ch-4: Measurement systems and basic concepts of measurement methods
 
Tug Ot Prez 2010 050510
Tug Ot Prez 2010 050510Tug Ot Prez 2010 050510
Tug Ot Prez 2010 050510
 
White Paper: Continuous Change-Driven Build Verification
White Paper: Continuous Change-Driven Build VerificationWhite Paper: Continuous Change-Driven Build Verification
White Paper: Continuous Change-Driven Build Verification
 
Single Phase Meter Testing Overview
Single Phase Meter Testing OverviewSingle Phase Meter Testing Overview
Single Phase Meter Testing Overview
 
Site Verification: Tools and Best Practices to Accurately Meter Complex, High...
Site Verification: Tools and Best Practices to Accurately Meter Complex, High...Site Verification: Tools and Best Practices to Accurately Meter Complex, High...
Site Verification: Tools and Best Practices to Accurately Meter Complex, High...
 
AMI Meter Certification Before, During and After Deployment
AMI Meter Certification Before, During and After DeploymentAMI Meter Certification Before, During and After Deployment
AMI Meter Certification Before, During and After Deployment
 
SE2_Lec 20_Software Testing
SE2_Lec 20_Software TestingSE2_Lec 20_Software Testing
SE2_Lec 20_Software Testing
 
Pid controller
Pid controllerPid controller
Pid controller
 
Software Testing and Quality Assurance Assignment 2
Software Testing and Quality Assurance Assignment 2Software Testing and Quality Assurance Assignment 2
Software Testing and Quality Assurance Assignment 2
 

Recently uploaded

Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
QuickwayInfoSystems3
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 

Recently uploaded (20)

Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 

Test cases for effective testing - part 2

  • 1. Prepared by: Mona M. Abd El-Rahman. QC Engineer at Ibtikar Technologies Co. Part 2
  • 5. • Definition: 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. • Advantage: It reduces the time required for performing testing of a software due to less number of test cases. Equivalence Partitioning:
  • 6. • It’s widely recognized that input values at the extreme ends of input domain cause more errors in system. More application errors occur at the boundaries of input domain. • It is used to identify errors at boundaries rather than finding those exist in center of input domain. Boundary Value Analysis:
  • 7. Example: Tax Calculation: From To % 0 1200 0 Over 1200 Up to 3000 5 Over 3000 10
  • 8. • Definition: Decision Table Testing is a good way to deal with a combination of inputs, which produce different results. • Advantage: It helps reduce test effort in verifying each and every combinations of test data, at the same time ensuring complete coverage. Decision table testing:
  • 9. Conditions Rule 1 Rule 2 Rule 3 Rule 4 Cond.1 Cond.2 Actions Act.1 Act.2
  • 10. How to ensure complete coverage ? 2 𝑛 N: Number of conditions
  • 11. Example: New tax will be applied depending on the following conditions: o Income less than 1200, not married and younger than 35  Tax=15%. o Income less than 1200, married and younger than 35  Tax = 10%. o Income less than 1200, married and older than 35  Tax = 5%. o Else 15%.
  • 12. 1 2 3 4 5 6 7 8 Less then 1200 T T T T F F F F Marrie d T T F F T T F F Less than 35 T F T F T F T F 15 T T T T T T 10 T 5 T
  • 13. State transition technique is a dynamic testing technique, which is used when the system is defined in terms of a finite number of states and the transitions between the states is governed by the rules of the system. State Transition Diagram:
  • 15. How to determine coverage level? N-switch N = 0  Start – End – Start N = 1  Start – End – Start - End
  • 16. Example: - A simple electronic clock has for mode, display time, change time, display date and change date. - The change mode button change between display time and display date. - The reset button switch from display time to adjust time or display date to adjust date. - The set button returns from adjust time to display time or adjust date to display date.
  • 17. • Definition: A use case is a description of a particular use of the system by an actor or user. • Use: It is used widely in developing tests at system or acceptance level. • Advantage: It helps identifying test cases that cover the entire system, on a transaction by transaction basis from the start to finish. Use case testing:
  • 20. For any questions, feel free to contact me mona.m.abdelrahman@gmail.com