SlideShare a Scribd company logo
The introduction of test
pattern making
Reference
• The content is quoted from
“A priactitioner’s Guide to Software design”.
• If you need further information,
please reference it.
Outline
• Black box testing technique
• Equivalence class testing
• Boundary value testing
• Decision table testing
• Pairwise testing
• State transition testing
• Use case testing
• White box testing techniques
• Control flow testing
• Data flow testing
• The testing paradigm
• The process of designing testing
What is the benefit of testing
• Automated testing is always faster than manual testing.
• You can perform regression test by little cost.
Black box testing and white box testing(Type)
• Black box testing
• Only test the input and output
• User-perspective testing
• White box testing
• Test the code flow and logic
• Programmer-perspective testing
Black box testing – Equivalence class testing
• Given a sample program. How many test case should we make?
Design by contract and Testing by contract
• Contract
• defines pre-condition and post-condition
• Post-condition
• defines what a module promises to do
• Pre-condition
• defines what the module requires to reach post-condition
• Testing by contract
• Only test the situations which pre-conditions are met
Defensive design and defensive testing
• Defensive design
• A module is designed to accept any input.
• Defensive testing
• Need to test all the conditions.
Black box testing – Boundary value testing
• The bugs ofter happens on boundary
• Test {BoundaryValue -1, BoundaryValue, BoundaryValue+1 }
Black box testing – Boundary value testing
• The bugs ofter happens on boundary
• Test {BoundaryValue -1, BoundaryValue, BoundaryValue+1 }
Black box testing – Decision table testing
• List every possible conditions and actions.
• Maximize coverage of conditions ,Minimize test numbers.
Black box testing – Decision table testing
• List every possible conditions and actions.
• Maximize coverage of conditions ,Minimize test numbers.
Black box testing – Pairwise testing
• 1. Identify the variables
• 2. Determine the number of each variables
• 3. Make an orthogonal array to list all the possibility
• 4. Delete unnecessary test case
Black box testing – Pairwise testing
Black box testing – State transition testing
• 1. Draw state transition graph
• 2. Test every possible path.
Black box testing – Use case testing
• List the use scenario and test.
Software testdesign
White box testing
White box testing – Control flow testing
White box testing – Control flow testing
The testing paradigm
The process of designing testing

More Related Content

PDF
[SRD UGM] Sharing Session - Software Testing
PPT
Unit 5 testing -software quality assurance
PPTX
Transformation Priority Premise: TDD Test Order Matters
PDF
Unit testing
PPTX
Structure testing
PPTX
The Core of Testing – Dynamic Testing Process – According to ISO 29119 with...
ODP
White box ppt
PPT
White box testing-200709
[SRD UGM] Sharing Session - Software Testing
Unit 5 testing -software quality assurance
Transformation Priority Premise: TDD Test Order Matters
Unit testing
Structure testing
The Core of Testing – Dynamic Testing Process – According to ISO 29119 with...
White box ppt
White box testing-200709

What's hot (20)

PPT
Software Testing
PPTX
Structural testing
PPT
White box testing
PPT
Whitebox
PPT
Whitebox testing
PPTX
Introduction to software testing
PPTX
Unit 4 testing
PPT
White Box Testing V0.2
PPTX
I.T.A.K.E Unconference - Mutation testing to the rescue of your tests
PPT
Software Quality Testing
PDF
Input Space Partitioning
PPTX
White Box Testing
PPT
Software Testing Techniques
PPT
Black box testing
PDF
Exposing Test Analyses with DrTests
PDF
Introduction to Unit Testing using QUnit
PPTX
5 black box and grey box testing
PPTX
boundary value analysis and equivalence partition
PPTX
Black Box Testing
Software Testing
Structural testing
White box testing
Whitebox
Whitebox testing
Introduction to software testing
Unit 4 testing
White Box Testing V0.2
I.T.A.K.E Unconference - Mutation testing to the rescue of your tests
Software Quality Testing
Input Space Partitioning
White Box Testing
Software Testing Techniques
Black box testing
Exposing Test Analyses with DrTests
Introduction to Unit Testing using QUnit
5 black box and grey box testing
boundary value analysis and equivalence partition
Black Box Testing
Ad

Viewers also liked (10)

PPTX
Slide share for testing
PPTX
An Insight into the Black Box and White Box Software Testing
PPT
Software Testing-Dynamic testing technique-Mazenet solution
PPTX
Software Testing & Debugging
PPTX
Company Profile
PPTX
Software testing By M.Yameen
PPTX
Test Data Approach
PPTX
Software Testing and Debugging
PPT
Metrics
PDF
電子商務的下一步
Slide share for testing
An Insight into the Black Box and White Box Software Testing
Software Testing-Dynamic testing technique-Mazenet solution
Software Testing & Debugging
Company Profile
Software testing By M.Yameen
Test Data Approach
Software Testing and Debugging
Metrics
電子商務的下一步
Ad

Similar to Software testdesign (20)

PPT
Unit 6
PPTX
Software testing methods
PPT
CPP09 - Testing
PPTX
ISTQB Foundation Level – Chapter 4: Test Design Techniques
PPT
Unit 5 testing -software quality assurance
PDF
G53 qat09pdf6up
PDF
Class9_SW_Testing_Strategies.pdf
PPTX
Software Testing Foundations Part 4 - Black Box Testing
PPT
The art of system and solution testing
PPT
Test Design Techniques - skill oriented course.ppt
PPT
Ch11lect1 ud
PPT
Dynamic Testing
PPTX
Testing strategies -2
PPTX
menulis kasus uji dengan baik dan benar menurut teori
PPT
Software Engineering Lec 10 -software testing--
PPTX
Testing Technique (Part 2)
PPTX
oose ppt white box testing and black box
PPTX
Small is Beautiful- Fully Automate your Test Case Design
PPT
unit testing pppttttttttttttttttttttttttttttttttttttttttttttttt
PPT
Software Engineering (Testing techniques)
Unit 6
Software testing methods
CPP09 - Testing
ISTQB Foundation Level – Chapter 4: Test Design Techniques
Unit 5 testing -software quality assurance
G53 qat09pdf6up
Class9_SW_Testing_Strategies.pdf
Software Testing Foundations Part 4 - Black Box Testing
The art of system and solution testing
Test Design Techniques - skill oriented course.ppt
Ch11lect1 ud
Dynamic Testing
Testing strategies -2
menulis kasus uji dengan baik dan benar menurut teori
Software Engineering Lec 10 -software testing--
Testing Technique (Part 2)
oose ppt white box testing and black box
Small is Beautiful- Fully Automate your Test Case Design
unit testing pppttttttttttttttttttttttttttttttttttttttttttttttt
Software Engineering (Testing techniques)

Recently uploaded (20)

PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
AutoCAD Professional Crack 2025 With License Key
PDF
medical staffing services at VALiNTRY
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
assetexplorer- product-overview - presentation
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
17 Powerful Integrations Your Next-Gen MLM Software Needs
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PPTX
history of c programming in notes for students .pptx
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PDF
Salesforce Agentforce AI Implementation.pdf
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
Navsoft: AI-Powered Business Solutions & Custom Software Development
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Computer Software and OS of computer science of grade 11.pptx
AutoCAD Professional Crack 2025 With License Key
medical staffing services at VALiNTRY
How to Choose the Right IT Partner for Your Business in Malaysia
assetexplorer- product-overview - presentation
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
wealthsignaloriginal-com-DS-text-... (1).pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
17 Powerful Integrations Your Next-Gen MLM Software Needs
L1 - Introduction to python Backend.pptx
Monitoring Stack: Grafana, Loki & Promtail
history of c programming in notes for students .pptx
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Design an Analysis of Algorithms I-SECS-1021-03
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Salesforce Agentforce AI Implementation.pdf
Advanced SystemCare Ultimate Crack + Portable (2025)

Software testdesign

  • 1. The introduction of test pattern making
  • 2. Reference • The content is quoted from “A priactitioner’s Guide to Software design”. • If you need further information, please reference it.
  • 3. Outline • Black box testing technique • Equivalence class testing • Boundary value testing • Decision table testing • Pairwise testing • State transition testing • Use case testing • White box testing techniques • Control flow testing • Data flow testing • The testing paradigm • The process of designing testing
  • 4. What is the benefit of testing • Automated testing is always faster than manual testing. • You can perform regression test by little cost.
  • 5. Black box testing and white box testing(Type) • Black box testing • Only test the input and output • User-perspective testing • White box testing • Test the code flow and logic • Programmer-perspective testing
  • 6. Black box testing – Equivalence class testing • Given a sample program. How many test case should we make?
  • 7. Design by contract and Testing by contract • Contract • defines pre-condition and post-condition • Post-condition • defines what a module promises to do • Pre-condition • defines what the module requires to reach post-condition • Testing by contract • Only test the situations which pre-conditions are met
  • 8. Defensive design and defensive testing • Defensive design • A module is designed to accept any input. • Defensive testing • Need to test all the conditions.
  • 9. Black box testing – Boundary value testing • The bugs ofter happens on boundary • Test {BoundaryValue -1, BoundaryValue, BoundaryValue+1 }
  • 10. Black box testing – Boundary value testing • The bugs ofter happens on boundary • Test {BoundaryValue -1, BoundaryValue, BoundaryValue+1 }
  • 11. Black box testing – Decision table testing • List every possible conditions and actions. • Maximize coverage of conditions ,Minimize test numbers.
  • 12. Black box testing – Decision table testing • List every possible conditions and actions. • Maximize coverage of conditions ,Minimize test numbers.
  • 13. Black box testing – Pairwise testing • 1. Identify the variables • 2. Determine the number of each variables • 3. Make an orthogonal array to list all the possibility • 4. Delete unnecessary test case
  • 14. Black box testing – Pairwise testing
  • 15. Black box testing – State transition testing • 1. Draw state transition graph • 2. Test every possible path.
  • 16. Black box testing – Use case testing • List the use scenario and test.
  • 19. White box testing – Control flow testing
  • 20. White box testing – Control flow testing
  • 22. The process of designing testing