SlideShare a Scribd company logo
How much testing is
enough? 👍
Reti Yulvenia
Jurusan Sistem Informasi
Fakultas Sains dan Teknologi
Universitas Islam Negeri Sultan Syarif Kasim
• Testing Principle - Exhaustive
testing is impossible
• Testing everything (all
combinations of inputs and
preconditions) is not feasible
except for trivial cases.
• Instead of exhaustive testing, we
use risks and priorities to focus
testing efforts.
• We've seen that testing helps us
find defects and improve
software quality.
How much testing is enough?
How much testing is enough?
• We have a choice: test everything, test nothing or test some
of the software.
• Now, your immediate response to that may well be to say,
'Everything must be tested'.
• We don't want to use software that has not been completely
tested, do we? This implies that we must exercise every
aspect of a software system during testing.
• What we need to consider is whether we must, or even can,
test completely.
• Let's look at how much testing we'd need to do to be able to
test exhaustively.
• How many tests would you need to do to completely test a
one-digit numeric field? The immediate question is, 'What
you mean by test completely?' There are 10 possible valid
numeric values but as well as the valid values we need to
ensure that all the invalid values are rejected.
• There are 26 uppercase alpha characters, 26 lower case, at
least 6 special and punctuation characters as well as a blank
value. So there would be at least 68 tests for this example
of a one-digit field.
‘
How much testing is enough?
How much testing is enough?
• This problem just gets worse as we look at more realistic
examples.
• In practice, systems have more than one input field with the
fields being of varying sizes.
• These tests would be alongside others such as running the
tests in different environments.
• If we take an example where one screen has 15 input fields,
each having 5 possible values, then to test all of the valid
input value combinations you would need 30 517 578 125
(515) tests! It is unlikely that the project timescales would
allow for this number of tests.
How much testing is enough?
• Testing our one-digit field with values 2, 3 and 4 makes our
tests more thorough, but it does not give us more
information than if we had just tested with the value 3.
• Pressures on a project include time and budget as well as
pressure to deliver a technical solution that meets the
customers' needs.
• Customers and project managers will want to spend an
amount on testing that provides a return on investment for
them.
• This return on investment includes preventing failures after
release that are costly.
How much testing is enough?
• Testing completely – even if that is what customers and
project managers ask for – is simply not what they can
afford.
• Instead we need a test approach which provides the right
amount of testing for this project, these customers (and
other stakeholders) and this software.
• We do this by aligning the testing we do with the risks for
the customers, the stakeholders, the project and the
software.
How much testing is enough?
• Assessing and managing risk is one of the most important
activities in any project, and is a key activity and reason for
testing.
• Deciding how much testing is enough should take account of
the level of risk, including technical and business risks
related to the product and project constraints such as time
and budget.
• We carry out a risk assessment to decide how much testing
to do.
• We can then vary the testing effort based on the level of
risk in different areas.
How much testing is enough?
• Additionally, testing should provide sufficient information to
stakeholders to make informed decisions about the release
of the software or system we're testing, for the next
development step or handover to customers. .
• The effort put into the quality assurance and testing
activities needs to be tailored to the risks and costs
associated with the project.
• Because of the limits in the budget, the time, and in testing
we need to decide how we will focus our testing, based on
the risks.
Reference
• Graham et.al. (2011). ISTQB-Fondation of Software Testing.
London: Cengage Learning EMEA.
Backlink
• http://sif.uin-suska.ac.id/
• http://fst.uin-suska.ac.id/
• http://www.uin-suska.ac.id/
Thank you

More Related Content

PPTX
QSpiders - Introduction to Performance Testing
PDF
Functional testing patterns
PDF
Run your Appium tests using Docker Android - AppiumConf 2019
PPTX
SECURITY REQUIREMENTS ENGINEERING: APPLYING SQUARE FRAMEWORK
PPTX
Practical Software Testing Tools
PDF
Spring Bootをはじめる時にやるべき10のこと
PPTX
Introduction to Performance Testing & Loadrunner
PDF
테스트수행사례 W통합보안솔루션
QSpiders - Introduction to Performance Testing
Functional testing patterns
Run your Appium tests using Docker Android - AppiumConf 2019
SECURITY REQUIREMENTS ENGINEERING: APPLYING SQUARE FRAMEWORK
Practical Software Testing Tools
Spring Bootをはじめる時にやるべき10のこと
Introduction to Performance Testing & Loadrunner
테스트수행사례 W통합보안솔루션

What's hot (20)

PDF
ブラック企業から学ぶMVCモデル
PDF
Seminar on Software Testing
PPT
Selenium ppt
PPTX
Api Testing
ODP
Introduction to Spring Framework and Spring IoC
PDF
Spring Framework
PDF
Selenium Basics Tutorial
PDF
10+ Deploys Per Day: Dev and Ops Cooperation at Flickr
PPTX
Oracle License Management - Basics
PDF
Software Testing
PPTX
現場で役立つ1on1の原則 #devlove
PDF
Node.js - #6 - Core Modules - net - Rodrigo Branas
PDF
Ruby Rails 老司機帶飛
PDF
Tackling Complexity
PDF
Qualidade de software
PPT
TESTING Checklist
PDF
Ferramentas para testes de software
PPTX
Introduction to selenium
PDF
Quarkus入門
PDF
OpenTelemetryでWebシステムの処理を追跡しよう - DjangoCongress JP 2022
ブラック企業から学ぶMVCモデル
Seminar on Software Testing
Selenium ppt
Api Testing
Introduction to Spring Framework and Spring IoC
Spring Framework
Selenium Basics Tutorial
10+ Deploys Per Day: Dev and Ops Cooperation at Flickr
Oracle License Management - Basics
Software Testing
現場で役立つ1on1の原則 #devlove
Node.js - #6 - Core Modules - net - Rodrigo Branas
Ruby Rails 老司機帶飛
Tackling Complexity
Qualidade de software
TESTING Checklist
Ferramentas para testes de software
Introduction to selenium
Quarkus入門
OpenTelemetryでWebシステムの処理を追跡しよう - DjangoCongress JP 2022
Ad

Similar to How much testing is enough (20)

PPTX
Fundamentals_of_Software_testing.pptx
PPTX
Test case design techniques
PPTX
Test case design techniques
PPTX
Predictive Analytics in Software Testing
PPT
rryghg.ppt
PPTX
Testing Metrics and Tools, Analyse de tests
PPT
345_12325_SE492_20112012_1__1_1_Lect 3 Software Testing Fundamentals .ppt
PPT
CEN6070.1.Chapter10.1.ppt
PPT
Testing software
PPT
CEN6070.1.Chapter10.1.ppt
PPT
CEN6070.1.Chapter10.1.ppt
PPT
CEN6070.1.Chapter10.1 (1).ppt
PPTX
Fundamentals of testing
PDF
Methodology: IT test
PPTX
Organizational responsibilities and test automation
PPTX
CCS366 Softwares Testing Automation.pptx
PPTX
'A critique of testing' UK TMF forum January 2015
PDF
Anton Muzhailo - Practical Test Process Improvement using ISTQB
PPT
01. foundamentals of testing
PPTX
John Fodeh - Spend Wisely, Test Well
Fundamentals_of_Software_testing.pptx
Test case design techniques
Test case design techniques
Predictive Analytics in Software Testing
rryghg.ppt
Testing Metrics and Tools, Analyse de tests
345_12325_SE492_20112012_1__1_1_Lect 3 Software Testing Fundamentals .ppt
CEN6070.1.Chapter10.1.ppt
Testing software
CEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1 (1).ppt
Fundamentals of testing
Methodology: IT test
Organizational responsibilities and test automation
CCS366 Softwares Testing Automation.pptx
'A critique of testing' UK TMF forum January 2015
Anton Muzhailo - Practical Test Process Improvement using ISTQB
01. foundamentals of testing
John Fodeh - Spend Wisely, Test Well
Ad

Recently uploaded (20)

PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Introduction to Artificial Intelligence
PDF
Digital Strategies for Manufacturing Companies
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
L1 - Introduction to python Backend.pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
AI in Product Development-omnex systems
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Internet Downloader Manager (IDM) Crack 6.42 Build 41
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Upgrade and Innovation Strategies for SAP ERP Customers
How to Choose the Right IT Partner for Your Business in Malaysia
Introduction to Artificial Intelligence
Digital Strategies for Manufacturing Companies
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
L1 - Introduction to python Backend.pptx
Design an Analysis of Algorithms II-SECS-1021-03
AI in Product Development-omnex systems
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
How to Migrate SBCGlobal Email to Yahoo Easily
Wondershare Filmora 15 Crack With Activation Key [2025
PTS Company Brochure 2025 (1).pdf.......
VVF-Customer-Presentation2025-Ver1.9.pptx
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...

How much testing is enough

  • 1. How much testing is enough? 👍 Reti Yulvenia Jurusan Sistem Informasi Fakultas Sains dan Teknologi Universitas Islam Negeri Sultan Syarif Kasim
  • 2. • Testing Principle - Exhaustive testing is impossible • Testing everything (all combinations of inputs and preconditions) is not feasible except for trivial cases. • Instead of exhaustive testing, we use risks and priorities to focus testing efforts. • We've seen that testing helps us find defects and improve software quality. How much testing is enough?
  • 3. How much testing is enough? • We have a choice: test everything, test nothing or test some of the software. • Now, your immediate response to that may well be to say, 'Everything must be tested'. • We don't want to use software that has not been completely tested, do we? This implies that we must exercise every aspect of a software system during testing. • What we need to consider is whether we must, or even can, test completely.
  • 4. • Let's look at how much testing we'd need to do to be able to test exhaustively. • How many tests would you need to do to completely test a one-digit numeric field? The immediate question is, 'What you mean by test completely?' There are 10 possible valid numeric values but as well as the valid values we need to ensure that all the invalid values are rejected. • There are 26 uppercase alpha characters, 26 lower case, at least 6 special and punctuation characters as well as a blank value. So there would be at least 68 tests for this example of a one-digit field. ‘ How much testing is enough?
  • 5. How much testing is enough? • This problem just gets worse as we look at more realistic examples. • In practice, systems have more than one input field with the fields being of varying sizes. • These tests would be alongside others such as running the tests in different environments. • If we take an example where one screen has 15 input fields, each having 5 possible values, then to test all of the valid input value combinations you would need 30 517 578 125 (515) tests! It is unlikely that the project timescales would allow for this number of tests.
  • 6. How much testing is enough? • Testing our one-digit field with values 2, 3 and 4 makes our tests more thorough, but it does not give us more information than if we had just tested with the value 3. • Pressures on a project include time and budget as well as pressure to deliver a technical solution that meets the customers' needs. • Customers and project managers will want to spend an amount on testing that provides a return on investment for them. • This return on investment includes preventing failures after release that are costly.
  • 7. How much testing is enough? • Testing completely – even if that is what customers and project managers ask for – is simply not what they can afford. • Instead we need a test approach which provides the right amount of testing for this project, these customers (and other stakeholders) and this software. • We do this by aligning the testing we do with the risks for the customers, the stakeholders, the project and the software.
  • 8. How much testing is enough? • Assessing and managing risk is one of the most important activities in any project, and is a key activity and reason for testing. • Deciding how much testing is enough should take account of the level of risk, including technical and business risks related to the product and project constraints such as time and budget. • We carry out a risk assessment to decide how much testing to do. • We can then vary the testing effort based on the level of risk in different areas.
  • 9. How much testing is enough? • Additionally, testing should provide sufficient information to stakeholders to make informed decisions about the release of the software or system we're testing, for the next development step or handover to customers. . • The effort put into the quality assurance and testing activities needs to be tailored to the risks and costs associated with the project. • Because of the limits in the budget, the time, and in testing we need to decide how we will focus our testing, based on the risks.
  • 10. Reference • Graham et.al. (2011). ISTQB-Fondation of Software Testing. London: Cengage Learning EMEA.