SlideShare a Scribd company logo
FUNDAMENTALS OF TESTING
Andika Dwi Ary Candra
Information System
Sains and Technology
UIN SUSKA RIAU
Introduce
We'll describe and illustrate how software defects or bugs
cause problems for people, the environment or a company. We'll
important distinctions between defects, their root causes and
effects. We'll explain why testing is necessary to find these
how testing promotes quality, and how testing fits into quality
assurance. In this section, we will also introduce some
principles of testing.
As we go through this section, watch for the Syllabus terms
defect, error, failure, fault, mistake, quality, risk, software,
testing and exhaustive testing. You'll find these terms defined
in the glossary.
Software systems context
Testing Principle - Testing is context dependent
Testing is done differently in different contexts. For example,
safety-critical software is tested differently from an e-
site.
These days, almost everyone is aware of software
We encounter them in our homes, at work, while shopping,
because of mass communication systems. More and more,
are part of our lives. . Not all software systems carry the same
level of risk and not all problems have the same impact when
occur. A risk is something that has not happened yet and it
never happen; it is a potential problem.
Causes of software defects
Why is it that software systems sometimes don't work
We know that people make mistakes - we are fallible.
If someone makes an error or mistake in using the software,
may lead directly to a problem - the software is used incorrectly
so does not behave as we expected. However, people also
build the software and they can make mistakes during the
build. These mistakes mean that there are flaws in the software
These are called defects or sometimes bugs or faults.
software is not just the code; check the definition of soft- ware
to remind yourself.
When we think about what might go wrong we have to consider
defects and failures arising from:
1. errors in the specification, design and implementation of the
software and system;
2. errors in use of the system;
3. environmental conditions;
4. intentional damage;
5. potential consequences of earlier errors,
6. intentional damage, defects and failures.
When do defects arise?
In Figure 1.1 we can see how defects may arise in four
requirements for a product.
What is the cost of defects?
As well as considering the impact of failures arising from defects we
have not found, we need to consider the impact of when we find those
defects. The cost of finding and fixing defects rises considerably across the
life cycle
If we relate the scenarios mentioned previously to Figure 1.2, we see
that, if an error is made and the consequent defect is detected in the
requirements at the specification stage, then it is relatively cheap to find
and fix. The observation of increasing defect-removal costs in software
traces back to [Boehm]. You'll find evidence for the economics of testing
and other quality assurance activities in [Gilb], [Black 2001] or [Black
2004].
The specification can be corrected and re-issued. Similarly if an error is made
and the consequent defect detected in the design at the design stage then the design
can be corrected and re-issued with relatively little expense. The same applies for
construction. If however a defect is introduced in the requirement specification and it
is not detected until acceptance testing or even once the system has been
implemented then it will be much more expensive to fix.
This is because rework will be needed in the specification and design before
changes can be made in con- struction; because one defect in the requirements may
well propagate into several places in the design and code; and because all the testing
work done-to that point will need to be repeated in order to reach the confidence level
in the software that we require
It is quite often the case that defects detected at a very late stage,
depending on how serious they are, are not corrected because the cost of
doing so is too expensive. Also, if the software is delivered and meets an
agreed specification, it sometimes still won't be accepted if the
specification was wrong.
The project team may have delivered exactly what they were asked to
deliver, but it is not what the users wanted. This can lead to users being
unhappy with the system that is finally delivered. In some cases, where the
defect is too serious, the system may have to be de-installed completely.
Role of testing in software development, maintenance and
operations
Rigorous testing is necessary during development and maintenance
identify defects, in order to reduce failures in the operational
and increase the quality of the operational system.
This includes looking for places in the user interface where a user
make a mistake in input of data or in the interpretation of the output,
looking for potential weak points for intentional and malicious attack.
Executing tests helps us move towards improved quality of product and
service, but that is just one of the verification and validation methods
to products. Processes are also checked, for example by audit. A variety
methods may be used to check work, some of which are done by the
the work and some by others to get an independent view.
We may also be required to carry out software testing to meet
contractual or legal requirements, or industry-specific
standards. The avionics, motor, medical and pharmaceutical
industries all have standards covering the testing of software.
For example, the US Federal Aviation Administration's DO-178B
standard [RTCA/DO-178B] has requirements for test coverage
Testing and quality
Testing helps us to measure the quality of software in terms of the
number of defects found, the tests run, and the system covered by the
can do this for both the functional attributes of the software (for example,
printing a report correctly) and for the non-functional software
and characteristics (for example, printing a report quickly enough
What is quality?
Projects aim to deliver software to specification. For the project to
the customer needs requires a correct specification. Additionally, the
system must meet the specification. This is known as validation ('is this
right specification?') and verification ('is the system correct to
BIBLIOGRAPHY
Graham et.al.(2011). ISTBQ-Fondation Of Software Testing
London : Cengage Learning EMEA.
LINK:
HTTP://SIF.UIN-SUSKA.AC.ID/
HTTP://FST.UIN-SUSKA.AC.ID/
HTTP://WWW.UIN-SUSKA.AC.ID/
THANK YOU

More Related Content

What's hot (20)

PPTX
fundamentals of testing
aidil fitra
 
PDF
Manual testing centers marathahalli
Gyanguide1
 
PPTX
Software Testing Concepts
Shahram Foroozan
 
DOCX
Top 7 reasons why software testing is crucial in SDLC
SLAJobs Chennai
 
PPTX
What are the advantages of non functional testing
Maveric Systems
 
PPTX
Software reliability engineering process
Himanshu
 
PPTX
Why do we test software?
Md. Shafiuzzaman Hira
 
PPTX
Bab 1
fadillah alazmi
 
PPSX
Non functional performance requirements v2.2
Ian McDonald
 
PPTX
Quality & Reliability in Software Engineering
SivaRamaSundar Devasubramaniam
 
PPTX
Non functional testing
Vaibhav Dash
 
PDF
Functional Testing vs Non-Functional Testing | Edureka
Edureka!
 
PPTX
softwaretestingppt-FINAL-PPT-1
FAIZALSAIYED
 
PPT
Software and Hardware Reliability
Sandeep Patalay
 
PPTX
Software Testing
Vishal Singh
 
PPT
Software testing lecture 10
Abdul Basit
 
PPTX
Fundamentals of testing
argawanda
 
PPTX
Challenges in Security Testing
Shikha Jarial
 
PDF
What Is Functional Testing?
QA InfoTech
 
PPT
Non Functional Testing
Nishant Worah
 
fundamentals of testing
aidil fitra
 
Manual testing centers marathahalli
Gyanguide1
 
Software Testing Concepts
Shahram Foroozan
 
Top 7 reasons why software testing is crucial in SDLC
SLAJobs Chennai
 
What are the advantages of non functional testing
Maveric Systems
 
Software reliability engineering process
Himanshu
 
Why do we test software?
Md. Shafiuzzaman Hira
 
Non functional performance requirements v2.2
Ian McDonald
 
Quality & Reliability in Software Engineering
SivaRamaSundar Devasubramaniam
 
Non functional testing
Vaibhav Dash
 
Functional Testing vs Non-Functional Testing | Edureka
Edureka!
 
softwaretestingppt-FINAL-PPT-1
FAIZALSAIYED
 
Software and Hardware Reliability
Sandeep Patalay
 
Software Testing
Vishal Singh
 
Software testing lecture 10
Abdul Basit
 
Fundamentals of testing
argawanda
 
Challenges in Security Testing
Shikha Jarial
 
What Is Functional Testing?
QA InfoTech
 
Non Functional Testing
Nishant Worah
 

Similar to Fundamentals of Testing - Andika Dwi Ary Candra (20)

PPTX
Fundamentals of testing
argawanda
 
PPTX
fundamentals of testing (Fundamental of testing why)
diana fitri, S.Kom
 
PPTX
Fundamentals of testing - Testing & Implementations
yogi syafrialdi
 
PPTX
Unit 1.pptx
MohammadIsmailNaaz
 
PPTX
Testing implementasi 1
Sinthia Gusfah
 
PPTX
01 fundamentals of testing
Ilham Wahyudi
 
PPTX
Fundamental of testing why
CindyYuristie
 
PPTX
Fundamentals of testing
Taufik hidayat
 
PPTX
Fundamentals of testing (what is testing necessary)
Dhy Ardiansyah
 
PPTX
Fundamentals of testing (what is testing necessary)
helfa safitri
 
PDF
Foundations of software testing - ISTQB Certification.pdf
Saraj Hameed Sidiqi
 
PPTX
Fundamentals of testing
seli purnianda
 
PPTX
2.fundamental of testing
Bobi Henfajri Setiawan
 
PPTX
SOFTWARE SYSTEMS CONTEXT
MeychiaGaiza
 
PPTX
Tiara Ramadhani - Program Studi S1 Sistem Informasi - Fakultas Sains dan Tekn...
Tiara Ramadhani
 
PPTX
Software System Context
Suci Rahmawati
 
PPTX
ISTQBCH1 Manual Testing.pptx
rajkamalv
 
PDF
Software Testing Foundation
alessandro100
 
PDF
Foundations Of Software Testing
Tony Ennis
 
PPT
01. foundamentals of testing
Tricia Karina
 
Fundamentals of testing
argawanda
 
fundamentals of testing (Fundamental of testing why)
diana fitri, S.Kom
 
Fundamentals of testing - Testing & Implementations
yogi syafrialdi
 
Unit 1.pptx
MohammadIsmailNaaz
 
Testing implementasi 1
Sinthia Gusfah
 
01 fundamentals of testing
Ilham Wahyudi
 
Fundamental of testing why
CindyYuristie
 
Fundamentals of testing
Taufik hidayat
 
Fundamentals of testing (what is testing necessary)
Dhy Ardiansyah
 
Fundamentals of testing (what is testing necessary)
helfa safitri
 
Foundations of software testing - ISTQB Certification.pdf
Saraj Hameed Sidiqi
 
Fundamentals of testing
seli purnianda
 
2.fundamental of testing
Bobi Henfajri Setiawan
 
SOFTWARE SYSTEMS CONTEXT
MeychiaGaiza
 
Tiara Ramadhani - Program Studi S1 Sistem Informasi - Fakultas Sains dan Tekn...
Tiara Ramadhani
 
Software System Context
Suci Rahmawati
 
ISTQBCH1 Manual Testing.pptx
rajkamalv
 
Software Testing Foundation
alessandro100
 
Foundations Of Software Testing
Tony Ennis
 
01. foundamentals of testing
Tricia Karina
 
Ad

Recently uploaded (20)

PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PPTX
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPTX
PPT on the Development of Education in the Victorian England
Beena E S
 
PPTX
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
PPTX
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
PPTX
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PDF
IMP NAAC REFORMS 2024 - 10 Attributes.pdf
BHARTIWADEKAR
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
community health nursing question paper 2.pdf
Prince kumar
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPT on the Development of Education in the Victorian England
Beena E S
 
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
IMP NAAC REFORMS 2024 - 10 Attributes.pdf
BHARTIWADEKAR
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
Ad

Fundamentals of Testing - Andika Dwi Ary Candra

  • 1. FUNDAMENTALS OF TESTING Andika Dwi Ary Candra Information System Sains and Technology UIN SUSKA RIAU
  • 2. Introduce We'll describe and illustrate how software defects or bugs cause problems for people, the environment or a company. We'll important distinctions between defects, their root causes and effects. We'll explain why testing is necessary to find these how testing promotes quality, and how testing fits into quality assurance. In this section, we will also introduce some principles of testing. As we go through this section, watch for the Syllabus terms defect, error, failure, fault, mistake, quality, risk, software, testing and exhaustive testing. You'll find these terms defined in the glossary.
  • 3. Software systems context Testing Principle - Testing is context dependent Testing is done differently in different contexts. For example, safety-critical software is tested differently from an e- site. These days, almost everyone is aware of software We encounter them in our homes, at work, while shopping, because of mass communication systems. More and more, are part of our lives. . Not all software systems carry the same level of risk and not all problems have the same impact when occur. A risk is something that has not happened yet and it never happen; it is a potential problem.
  • 4. Causes of software defects Why is it that software systems sometimes don't work We know that people make mistakes - we are fallible. If someone makes an error or mistake in using the software, may lead directly to a problem - the software is used incorrectly so does not behave as we expected. However, people also build the software and they can make mistakes during the build. These mistakes mean that there are flaws in the software These are called defects or sometimes bugs or faults. software is not just the code; check the definition of soft- ware to remind yourself.
  • 5. When we think about what might go wrong we have to consider defects and failures arising from: 1. errors in the specification, design and implementation of the software and system; 2. errors in use of the system; 3. environmental conditions; 4. intentional damage; 5. potential consequences of earlier errors, 6. intentional damage, defects and failures.
  • 6. When do defects arise? In Figure 1.1 we can see how defects may arise in four requirements for a product.
  • 7. What is the cost of defects? As well as considering the impact of failures arising from defects we have not found, we need to consider the impact of when we find those defects. The cost of finding and fixing defects rises considerably across the life cycle If we relate the scenarios mentioned previously to Figure 1.2, we see that, if an error is made and the consequent defect is detected in the requirements at the specification stage, then it is relatively cheap to find and fix. The observation of increasing defect-removal costs in software traces back to [Boehm]. You'll find evidence for the economics of testing and other quality assurance activities in [Gilb], [Black 2001] or [Black 2004].
  • 8. The specification can be corrected and re-issued. Similarly if an error is made and the consequent defect detected in the design at the design stage then the design can be corrected and re-issued with relatively little expense. The same applies for construction. If however a defect is introduced in the requirement specification and it is not detected until acceptance testing or even once the system has been implemented then it will be much more expensive to fix. This is because rework will be needed in the specification and design before changes can be made in con- struction; because one defect in the requirements may well propagate into several places in the design and code; and because all the testing work done-to that point will need to be repeated in order to reach the confidence level in the software that we require
  • 9. It is quite often the case that defects detected at a very late stage, depending on how serious they are, are not corrected because the cost of doing so is too expensive. Also, if the software is delivered and meets an agreed specification, it sometimes still won't be accepted if the specification was wrong. The project team may have delivered exactly what they were asked to deliver, but it is not what the users wanted. This can lead to users being unhappy with the system that is finally delivered. In some cases, where the defect is too serious, the system may have to be de-installed completely.
  • 10. Role of testing in software development, maintenance and operations Rigorous testing is necessary during development and maintenance identify defects, in order to reduce failures in the operational and increase the quality of the operational system. This includes looking for places in the user interface where a user make a mistake in input of data or in the interpretation of the output, looking for potential weak points for intentional and malicious attack. Executing tests helps us move towards improved quality of product and service, but that is just one of the verification and validation methods to products. Processes are also checked, for example by audit. A variety methods may be used to check work, some of which are done by the the work and some by others to get an independent view.
  • 11. We may also be required to carry out software testing to meet contractual or legal requirements, or industry-specific standards. The avionics, motor, medical and pharmaceutical industries all have standards covering the testing of software. For example, the US Federal Aviation Administration's DO-178B standard [RTCA/DO-178B] has requirements for test coverage
  • 12. Testing and quality Testing helps us to measure the quality of software in terms of the number of defects found, the tests run, and the system covered by the can do this for both the functional attributes of the software (for example, printing a report correctly) and for the non-functional software and characteristics (for example, printing a report quickly enough What is quality? Projects aim to deliver software to specification. For the project to the customer needs requires a correct specification. Additionally, the system must meet the specification. This is known as validation ('is this right specification?') and verification ('is the system correct to
  • 13. BIBLIOGRAPHY Graham et.al.(2011). ISTBQ-Fondation Of Software Testing London : Cengage Learning EMEA.