SlideShare a Scribd company logo
1 of 15
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

fundamentals of testing
fundamentals of testingfundamentals of testing
fundamentals of testingaidil fitra
 
Manual testing centers marathahalli
Manual testing centers marathahalli Manual testing centers marathahalli
Manual testing centers marathahalli Gyanguide1
 
Top 7 reasons why software testing is crucial in SDLC
Top 7 reasons why software testing is crucial in SDLCTop 7 reasons why software testing is crucial in SDLC
Top 7 reasons why software testing is crucial in SDLCSLAJobs Chennai
 
What are the advantages of non functional testing
What are the advantages of non functional testingWhat are the advantages of non functional testing
What are the advantages of non functional testingMaveric Systems
 
Software reliability engineering process
Software reliability engineering processSoftware reliability engineering process
Software reliability engineering processHimanshu
 
Non functional performance requirements v2.2
Non functional performance requirements v2.2Non functional performance requirements v2.2
Non functional performance requirements v2.2Ian McDonald
 
Non functional testing
Non functional testingNon functional testing
Non functional testingVaibhav Dash
 
Functional Testing vs Non-Functional Testing | Edureka
Functional Testing vs Non-Functional Testing | EdurekaFunctional Testing vs Non-Functional Testing | Edureka
Functional Testing vs Non-Functional Testing | EdurekaEdureka!
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1FAIZALSAIYED
 
Software and Hardware Reliability
Software and Hardware ReliabilitySoftware and Hardware Reliability
Software and Hardware ReliabilitySandeep Patalay
 
Software testing lecture 10
Software testing lecture 10Software testing lecture 10
Software testing lecture 10Abdul Basit
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingargawanda
 
Challenges in Security Testing
Challenges in Security TestingChallenges in Security Testing
Challenges in Security TestingShikha Jarial
 
What Is Functional Testing?
What Is Functional Testing?What Is Functional Testing?
What Is Functional Testing?QA InfoTech
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional TestingNishant Worah
 

What's hot (20)

fundamentals of testing
fundamentals of testingfundamentals of testing
fundamentals of testing
 
Manual testing centers marathahalli
Manual testing centers marathahalli Manual testing centers marathahalli
Manual testing centers marathahalli
 
Software Testing Concepts
Software Testing  ConceptsSoftware Testing  Concepts
Software Testing Concepts
 
Top 7 reasons why software testing is crucial in SDLC
Top 7 reasons why software testing is crucial in SDLCTop 7 reasons why software testing is crucial in SDLC
Top 7 reasons why software testing is crucial in SDLC
 
What are the advantages of non functional testing
What are the advantages of non functional testingWhat are the advantages of non functional testing
What are the advantages of non functional testing
 
Software reliability engineering process
Software reliability engineering processSoftware reliability engineering process
Software reliability engineering process
 
Why do we test software?
Why do we test software?Why do we test software?
Why do we test software?
 
Bab 1
Bab 1Bab 1
Bab 1
 
Non functional performance requirements v2.2
Non functional performance requirements v2.2Non functional performance requirements v2.2
Non functional performance requirements v2.2
 
Quality & Reliability in Software Engineering
Quality & Reliability in Software EngineeringQuality & Reliability in Software Engineering
Quality & Reliability in Software Engineering
 
Non functional testing
Non functional testingNon functional testing
Non functional testing
 
Functional Testing vs Non-Functional Testing | Edureka
Functional Testing vs Non-Functional Testing | EdurekaFunctional Testing vs Non-Functional Testing | Edureka
Functional Testing vs Non-Functional Testing | Edureka
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
 
Software and Hardware Reliability
Software and Hardware ReliabilitySoftware and Hardware Reliability
Software and Hardware Reliability
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software testing lecture 10
Software testing lecture 10Software testing lecture 10
Software testing lecture 10
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Challenges in Security Testing
Challenges in Security TestingChallenges in Security Testing
Challenges in Security Testing
 
What Is Functional Testing?
What Is Functional Testing?What Is Functional Testing?
What Is Functional Testing?
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional Testing
 

Similar to Fundamentals of Testing - Andika Dwi Ary Candra

Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingargawanda
 
ISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxrajkamalv
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingTaufik hidayat
 
Fundamentals of testing aldi
Fundamentals of testing aldiFundamentals of testing aldi
Fundamentals of testing aldialdi aulia
 
Fundamentals of testing (what is testing necessary)
Fundamentals of testing (what is testing necessary)Fundamentals of testing (what is testing necessary)
Fundamentals of testing (what is testing necessary)helfa safitri
 
fundamentals of testing (Fundamental of testing why)
fundamentals of testing (Fundamental of testing why)fundamentals of testing (Fundamental of testing why)
fundamentals of testing (Fundamental of testing why)diana fitri, S.Kom
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingEvi Yandri
 
Presentasi fundamental of testing
Presentasi fundamental of testingPresentasi fundamental of testing
Presentasi fundamental of testingEgi Ilham Elnusa
 
01 fundamentals of testing
01 fundamentals of testing01 fundamentals of testing
01 fundamentals of testingIlham Wahyudi
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingAs Fazli
 
Fundamentals of testing why is testing necessary (reference graham et.al (2...
Fundamentals of testing   why is testing necessary (reference graham et.al (2...Fundamentals of testing   why is testing necessary (reference graham et.al (2...
Fundamentals of testing why is testing necessary (reference graham et.al (2...Alfarizi ,S.Kom
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingRisun Hidayat
 
Fundamental of testing why
Fundamental of testing whyFundamental of testing why
Fundamental of testing whyCindyYuristie
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingseli purnianda
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingnovranrafindo
 
Fundamentals of testing (1)
Fundamentals of testing (1)Fundamentals of testing (1)
Fundamentals of testing (1)Aziz Chikhly
 
Testing implementasi 1
Testing implementasi 1Testing implementasi 1
Testing implementasi 1Sinthia Gusfah
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingRudy Setiawan
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingRudy Setiawan
 

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

Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
ISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptx
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing aldi
Fundamentals of testing aldiFundamentals of testing aldi
Fundamentals of testing aldi
 
Fundamentals of testing (what is testing necessary)
Fundamentals of testing (what is testing necessary)Fundamentals of testing (what is testing necessary)
Fundamentals of testing (what is testing necessary)
 
fundamentals of testing (Fundamental of testing why)
fundamentals of testing (Fundamental of testing why)fundamentals of testing (Fundamental of testing why)
fundamentals of testing (Fundamental of testing why)
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Presentasi fundamental of testing
Presentasi fundamental of testingPresentasi fundamental of testing
Presentasi fundamental of testing
 
01 fundamentals of testing
01 fundamentals of testing01 fundamentals of testing
01 fundamentals of testing
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing why is testing necessary (reference graham et.al (2...
Fundamentals of testing   why is testing necessary (reference graham et.al (2...Fundamentals of testing   why is testing necessary (reference graham et.al (2...
Fundamentals of testing why is testing necessary (reference graham et.al (2...
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamental of testing why
Fundamental of testing whyFundamental of testing why
Fundamental of testing why
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing (1)
Fundamentals of testing (1)Fundamentals of testing (1)
Fundamentals of testing (1)
 
Testing implementasi 1
Testing implementasi 1Testing implementasi 1
Testing implementasi 1
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 

Recently uploaded

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 

Recently uploaded (20)

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 

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.