SlideShare a Scribd company logo
1 of 24
Categories of Test
Design Techniques
Muhammad Imran 70077769
Musaddaq Ehsan 70077512
Hassan Rasool 70078598
Ammar Ahmad 70078970
Zahid Hassan 70078332
Types of Test Design Techniques?
Test design techniques can be broadly categorized into two main categories:
● White Box Techniques
● Black Box Techniques
White Box
Technique
White Box Technique
● Testers with knowledge of the system's internal workings use this technique.
● White-box testing examines the internal structure, code, and logic of the software
system.
● It involves designing and executing tests based on the internal structure of the software.
● The objective is to validate the correctness of individual components, modules, or code
segments.
● It is also known as clear-box testing or structural testing.
Key aspects of White-box Testing
● Code Coverage
● Structural Analysis
● Test Case Design
● Code-level Defect Detection
● Debugging and Root Cause Analysis
● Code Optimization
Code Coverage
● Code coverage is an important goal of white-box testing, aiming to exercise as much of
the code as possible.
● Different coverage criteria, such as statement coverage, branch coverage and path
coverage, are used to measure the effectiveness of white-box testing.
● Code coverage criteria help ensure that various parts of the code, including statements,
branches and paths, are thoroughly tested to identify potential issues or errors.
● The aim is to achieve high code coverage by thoroughly testing and identifying potential
defect-prone areas of the code.
Structural Analysis
● Structural analysis in white-box testing involves analyzing the structure of the software
system, including the source code.
● Testers perform this analysis to identify areas of potential risk and determine where to
focus their testing efforts.
● Structural analysis helps testers understand the internal dependencies, data flows, and
control flows within the system.
● The aim is to analyze the software system's structure, identify areas of risk, and focus
testing efforts for effective coverage.
Test Case Design
● Test cases are designed based on the internal logic and structure of the software,
focusing on critical areas prone to errors or defects.
● Testers identify specific conditions, loops, decision points, and code paths to cover
various scenarios and combinations.
● This approach ensures comprehensive testing by targeting critical areas of the code and
verifying its behavior under different scenarios.
● The aim is to targeting critical areas and covering various scenarios based on the
software's internal logic and structure.
Code-level Defect Detection
● White-box testing helps testers identify defects or vulnerabilities directly at the code
level.
● Testers examine the code itself to uncover issues such as coding errors, boundary
violations, data inconsistencies, and security vulnerabilities.
● By analyzing the code directly, white-box testing enables effective detection of coding-
related problems for improved software quality and security.
● Main aim is to identify code-level defects and vulnerabilities by directly examining the
code for issues like errors, violations, inconsistencies, and security risks.
Debugging and Root Cause Analysis
● During white-box testing, testers can analyze the internal state of the system when
failures occur.
● Testers have access to the code and can perform detailed debugging to identify the root
cause of the issue.
● This enables testers to pinpoint the exact source of the problem and understand why
the failure occurred, aiding in effective troubleshooting and resolution.
● Main aim is to analyze system state and identify root causes of failures or issues
through detailed code-level debugging and analysis.
Code Optimization
● White-box testing helps in optimizing code and improving software performance.
● Testers analyze the code structure and execution paths to identify areas that can be
optimized.
● By optimizing the code, resource consumption can be reduced, and overall efficiency
can be enhanced.
● Optimize code and improve software performance by analyzing code structure,
execution paths, and reducing resource consumption.
Specification
based testing
What is Specification Based Testing?
● Specification Based Testing Technique is also known as Behavior Based Testing and
Black Box Testing techniques because in this testers view the software as a black-box.
● As they have no knowledge of how the system or component is structured inside the
box.
● In essence, the tester is only concentrating on what the software does, not how it does
it.
Types of Specification Based Testing Techniques
•Equivalence Partitioning: Software Testing technique that divides the input data of a
software unit into partitions of equivalent data from which test cases can be derived.
•Boundary Value Analysis: Software Testing technique in which tests are designed to
include representatives of boundary values in a range.
•Decision Tables: Software Testing technique in which tests are more focused on business
logic or business rules. A decision table is a good way to deal with combinations of inputs.
•State Transitioning: Software 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.
•Use Case Testing: Use cases describe how the software is intended to be used from the
user's perspective. Test cases are derived from these use cases to ensure that the software
meets the desired functionality and behavior as specified by the users.
State transition
testing
Introduction to State Transition
Testing
● State transition testing is a black box
testing technique used to verify the
behavior of a system as it transitions
between different states.
● Focuses on testing the transitions
between different states of a system or
an application.
Steps in State Transition
Testing
● Identify States: Determine the different
states that the system or application can
be in.
● Define Transitions: Identify the events
or actions that cause the system to
transition from one state to another.
● Create State Transition Diagram:
Develop a visual representation of the
system's states and transitions.
● Design Test Cases: Use the state
transition diagram to create test cases
that cover all possible transitions.
State Transition Diagram
Elements
● States: The different conditions or
modes that the system can be in.
● Transitions: The events or actions that
cause the system to move from one
state to another.
● Events: The triggers that cause a
transition to occur.
● Actions: The activities or behavior that
occur when a transition happens.
Equivalence Partitioning
Introduction to Equivalence
Partitioning
● Equivalence partitioning is a black box
testing technique used to divide the
input domain into classes of equivalent
inputs.
● These classes can be used to derive test
cases that reduce the time required for
testing.
Steps in Equivalence
Partitioning
● Identify Input Variables
● Define Equivalence Classes
● Select Test Cases
Benefits of Equivalence
Partitioning
● Efficient test coverage:
● Time and cost-effective:
● Detecting defects:
Example of Equivalence Partitioning
● Example Scenario: Testing a login form
● Input Variables: Username and Password
● Equivalence Classes: Valid usernames, Invalid usernames, Valid passwords,
Invalid passwords
● Test Cases:
● Valid username: "john@example.com" with a valid password
● Invalid username: "invalid user" with a valid password

More Related Content

Similar to SOFTWARE TESTING PRESENTATION .pptx

White box & black box testing
White box & black box testingWhite box & black box testing
White box & black box testingSaket Khopkar
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designMaitree Patel
 
Various types of software testing by kostcare | London | Waterloo
Various types of software testing by kostcare | London | WaterlooVarious types of software testing by kostcare | London | Waterloo
Various types of software testing by kostcare | London | WaterlooKostCare
 
Coding and testing in Software Engineering
Coding and testing in Software EngineeringCoding and testing in Software Engineering
Coding and testing in Software EngineeringAbhay Vijay
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1Siddharth Sharma
 
SOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxSOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxssrpr
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design Jayant Dalvi
 
Software testing and software development process
Software testing and software development processSoftware testing and software development process
Software testing and software development processGen Aloys Ochola Badde
 
How to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdfHow to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdfAbhay Kumar
 
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technologyHasam Panezai
 
Software Testing & Debugging
Software Testing & DebuggingSoftware Testing & Debugging
Software Testing & DebuggingComputing Cage
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentalsAbdul Basit
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual TestingMurageppa-QA
 
Week 14 Unit Testing.pptx
Week 14  Unit Testing.pptxWeek 14  Unit Testing.pptx
Week 14 Unit Testing.pptxmianshafa
 

Similar to SOFTWARE TESTING PRESENTATION .pptx (20)

Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
White box & black box testing
White box & black box testingWhite box & black box testing
White box & black box testing
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit design
 
Various types of software testing by kostcare | London | Waterloo
Various types of software testing by kostcare | London | WaterlooVarious types of software testing by kostcare | London | Waterloo
Various types of software testing by kostcare | London | Waterloo
 
Coding and testing in Software Engineering
Coding and testing in Software EngineeringCoding and testing in Software Engineering
Coding and testing in Software Engineering
 
Black box testing
Black box testingBlack box testing
Black box testing
 
L software testing
L   software testingL   software testing
L software testing
 
Testing Technique
Testing TechniqueTesting Technique
Testing Technique
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
 
SOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxSOFTWARE TESTING.pptx
SOFTWARE TESTING.pptx
 
System Testing.pptx
System Testing.pptxSystem Testing.pptx
System Testing.pptx
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
Software testing and software development process
Software testing and software development processSoftware testing and software development process
Software testing and software development process
 
How to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdfHow to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdf
 
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technology
 
Software Testing & Debugging
Software Testing & DebuggingSoftware Testing & Debugging
Software Testing & Debugging
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
 
Week 14 Unit Testing.pptx
Week 14  Unit Testing.pptxWeek 14  Unit Testing.pptx
Week 14 Unit Testing.pptx
 

Recently uploaded

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 

Recently uploaded (20)

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 

SOFTWARE TESTING PRESENTATION .pptx

  • 1. Categories of Test Design Techniques Muhammad Imran 70077769 Musaddaq Ehsan 70077512 Hassan Rasool 70078598 Ammar Ahmad 70078970 Zahid Hassan 70078332
  • 2. Types of Test Design Techniques? Test design techniques can be broadly categorized into two main categories: ● White Box Techniques ● Black Box Techniques
  • 4. White Box Technique ● Testers with knowledge of the system's internal workings use this technique. ● White-box testing examines the internal structure, code, and logic of the software system. ● It involves designing and executing tests based on the internal structure of the software. ● The objective is to validate the correctness of individual components, modules, or code segments. ● It is also known as clear-box testing or structural testing.
  • 5. Key aspects of White-box Testing ● Code Coverage ● Structural Analysis ● Test Case Design ● Code-level Defect Detection ● Debugging and Root Cause Analysis ● Code Optimization
  • 6. Code Coverage ● Code coverage is an important goal of white-box testing, aiming to exercise as much of the code as possible. ● Different coverage criteria, such as statement coverage, branch coverage and path coverage, are used to measure the effectiveness of white-box testing. ● Code coverage criteria help ensure that various parts of the code, including statements, branches and paths, are thoroughly tested to identify potential issues or errors. ● The aim is to achieve high code coverage by thoroughly testing and identifying potential defect-prone areas of the code.
  • 7. Structural Analysis ● Structural analysis in white-box testing involves analyzing the structure of the software system, including the source code. ● Testers perform this analysis to identify areas of potential risk and determine where to focus their testing efforts. ● Structural analysis helps testers understand the internal dependencies, data flows, and control flows within the system. ● The aim is to analyze the software system's structure, identify areas of risk, and focus testing efforts for effective coverage.
  • 8. Test Case Design ● Test cases are designed based on the internal logic and structure of the software, focusing on critical areas prone to errors or defects. ● Testers identify specific conditions, loops, decision points, and code paths to cover various scenarios and combinations. ● This approach ensures comprehensive testing by targeting critical areas of the code and verifying its behavior under different scenarios. ● The aim is to targeting critical areas and covering various scenarios based on the software's internal logic and structure.
  • 9. Code-level Defect Detection ● White-box testing helps testers identify defects or vulnerabilities directly at the code level. ● Testers examine the code itself to uncover issues such as coding errors, boundary violations, data inconsistencies, and security vulnerabilities. ● By analyzing the code directly, white-box testing enables effective detection of coding- related problems for improved software quality and security. ● Main aim is to identify code-level defects and vulnerabilities by directly examining the code for issues like errors, violations, inconsistencies, and security risks.
  • 10. Debugging and Root Cause Analysis ● During white-box testing, testers can analyze the internal state of the system when failures occur. ● Testers have access to the code and can perform detailed debugging to identify the root cause of the issue. ● This enables testers to pinpoint the exact source of the problem and understand why the failure occurred, aiding in effective troubleshooting and resolution. ● Main aim is to analyze system state and identify root causes of failures or issues through detailed code-level debugging and analysis.
  • 11. Code Optimization ● White-box testing helps in optimizing code and improving software performance. ● Testers analyze the code structure and execution paths to identify areas that can be optimized. ● By optimizing the code, resource consumption can be reduced, and overall efficiency can be enhanced. ● Optimize code and improve software performance by analyzing code structure, execution paths, and reducing resource consumption.
  • 13. What is Specification Based Testing? ● Specification Based Testing Technique is also known as Behavior Based Testing and Black Box Testing techniques because in this testers view the software as a black-box. ● As they have no knowledge of how the system or component is structured inside the box. ● In essence, the tester is only concentrating on what the software does, not how it does it.
  • 14. Types of Specification Based Testing Techniques •Equivalence Partitioning: Software Testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived. •Boundary Value Analysis: Software Testing technique in which tests are designed to include representatives of boundary values in a range. •Decision Tables: Software Testing technique in which tests are more focused on business logic or business rules. A decision table is a good way to deal with combinations of inputs.
  • 15. •State Transitioning: Software 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. •Use Case Testing: Use cases describe how the software is intended to be used from the user's perspective. Test cases are derived from these use cases to ensure that the software meets the desired functionality and behavior as specified by the users.
  • 17. Introduction to State Transition Testing ● State transition testing is a black box testing technique used to verify the behavior of a system as it transitions between different states. ● Focuses on testing the transitions between different states of a system or an application.
  • 18. Steps in State Transition Testing ● Identify States: Determine the different states that the system or application can be in. ● Define Transitions: Identify the events or actions that cause the system to transition from one state to another. ● Create State Transition Diagram: Develop a visual representation of the system's states and transitions. ● Design Test Cases: Use the state transition diagram to create test cases that cover all possible transitions.
  • 19. State Transition Diagram Elements ● States: The different conditions or modes that the system can be in. ● Transitions: The events or actions that cause the system to move from one state to another. ● Events: The triggers that cause a transition to occur. ● Actions: The activities or behavior that occur when a transition happens.
  • 21. Introduction to Equivalence Partitioning ● Equivalence partitioning is a black box testing technique used to divide the input domain into classes of equivalent inputs. ● These classes can be used to derive test cases that reduce the time required for testing.
  • 22. Steps in Equivalence Partitioning ● Identify Input Variables ● Define Equivalence Classes ● Select Test Cases
  • 23. Benefits of Equivalence Partitioning ● Efficient test coverage: ● Time and cost-effective: ● Detecting defects:
  • 24. Example of Equivalence Partitioning ● Example Scenario: Testing a login form ● Input Variables: Username and Password ● Equivalence Classes: Valid usernames, Invalid usernames, Valid passwords, Invalid passwords ● Test Cases: ● Valid username: "john@example.com" with a valid password ● Invalid username: "invalid user" with a valid password

Editor's Notes

  1. Entered text 1. Introduction State transition testing is a black box testing technique used to verify the behavior of a system as it transitions between different states. State transition testing focuses on testing the transitions between different states of a system or an application. 2. Steps in State Transition Testing a. Identify States b. Define Transitions c. Create State Transition Diagram d. Design Test Cases 3. State Transition Diagram Elements - States - Transitions - Events -Actions:
  2. Entered text 1. Introduction Equivalence partitioning is a black box testing technique used to divide the input domain into classes of equivalent inputs that can be used to derive test cases which reduces time required for testing because of small number of test cases. 2. Steps in Equivalence Partitioning a. Identify Input Variables b. Define Equivalence Classes c. Select Test Cases 3. Benefits of Equivalence Partitioning - Efficient test coverage: Reduces the number of test cases while covering all possible scenarios. - Time and cost-effective: Optimizes testing efforts by focusing on representative values. - Detecting defects: Faults within an equivalence class often affect all values within that class. 4. Example - Example Scenario: Testing a login form - Input Variables: Username and Password - Equivalence Classes: Valid usernames, Invalid usernames, Valid passwords, Invalid passwords - Test Cases: - Valid username: "john@example.com" with a valid password - Invalid username: "invalid user" with a valid password