SlideShare a Scribd company logo
1 of 11
ASSALAMUALAIKUM WR WB
CHAPTER 2:
FUNDAMENTALS OF TESTING WHY
R E F E R E N S I : G R A H A M E T . A L ( 2 0 0 6 )
OLEH:
ARDIANSYAH
PROGRAM STUDI S1 SISTEM INFORMASI
FAKULTAS SAINS dan TEKNOLOGI
UNIVERSITAS ISLAM NEGERI SULTAN SYARIF KASIM RIAU
WHAT IS TESTING NECESSARY?
1) Describe, with examples, the way in which a defect in
software can cause harm to a person, to the environment
or to a company. (K2)
2) Give reasons why testing is necessary by giving examples.
(K2)
3) Describe why testing is part of quality assurance and give
examples of how testing contributes to higher quality.
(K2)
4) erms 'error' and 'bug'. (Kl)Explain the fundamental
principles in testing. (K2)
INTRODUCTION
In this section, we're going to kick off the book with a
discussion on why testing matters. We'll describe and illustrate
how software defects or bugs can cause problems for people,
the environment or a company. We'll draw important dis-
tinctions between defects, their root causes and their effects.
We'll explain why testing is necessary to find these defects, how
testing promotes quality, and how testing fits into quality
assurance. In this section, we will also introduce some
fundamental principles of testing.
As we go through this section, watch for the Syllabus
terms bug, defect, error, failure, fault, mistake, quality, risk,
software, testing and exhaustive testing. You'll find these
terms defined in the glossary.
SOFTWARE SYSTEM CONTEXT
Some of the problems we encounter when using
software are quite trivial, but ot reputation - and even may
result in injury or death. For example, suppose a user
interface has typographical defects. Does this matter? It
may be trivial, but it could have a significant effect,
depending on the website and the defect:
 If my personal family-tree website has my maternal
grandmother's maiden name spelt wrong, my mother
gets annoyed and I have to put up with some family
teasing, but I can fix it easily and only the family see it
(probably).
SOFTWARE SYSTEM CONTEXT
 If the company website has some spelling mistakes in the
text, potential customers may be put off the company as it looks
unprofessional.
 If a software program miscalculates pesticide application
quantities, the effect could be very significant: suppose a decimal
point is wrongly placed so that the application rate is 10 times
too large. The farmer or gardener uses more pesticide than
needed, which raises his costs, has environmental impacts on
wildlife and water supplies and has health and safety impact for
the farmer, gardener, family and workforce, livestock and pets.
There may also be consequent loss of trust in and business for the
company and possi ble legal costs and fines for causing the
environmental and healthproblems.
CAUSES OF SOFTWARE DEFECTS
Why is it that software systems sometimes don't work
correctly? We know that people make mistakes - we are
fallible.
If someone makes an error or mistake in using the software,
this may lead directly to a problem - the software is used
incorrectly and so does not behave as we expected. However,
people also design and build the software and they can make
mistakes during the design and build. These mistakes mean
that there are flaws in the software itself. These are called
defects or sometimes bugs or faults. Remember, the software
is not just the code; check the definition of soft-ware again to
remind yourself.
CAUSES OF SOFTWARE DEFECTS
When the software code has been built, it is
executed and then any defects may cause the system to fail
to do what it should do (or do something it shouldn't),
causing a failure. Not all defects result in failures; some stay
dormant in the code and we may never notice them.
 Do our mistakes matter ?
 When do defects arise ?
 What is the cost of defects ?
ROLE OF TESTING IN SOFTWARE DEVELOPMENT,
MAINTENANCE AND OPERATIONS
Executing tests helps us move towards improved
quality of product and service, but that is just one of the
verification and validation methods applied to products.
Processes are also checked, for example by audit. A variety of
methods may be used to check work, some of which are done
by the author of the work and some by others to get an
independent view.
TESTING AND QUALITY
Testing helps us to measure the quality of software in terms of
the number of ects found, the test run, and the system covered by the tests.
We can do this both the functional attributes of the software for example,
printing a report (rectly) and for the non-functional software requirements,
and characteristics (for example, printing a report quickly enough). Non-
functional characteristics are covered in Chapter 2. Testing can give
confidence in the quality of the soft-ware if it finds few or no defects,
provided we are happy that the testing is suf-ficiently rigorous. Of course,
a poor test may uncover few defects and leave us with a false sense of
security.
TESTING AND QUALITY
We've seen that testing helps us find defects and improve
software quality. How much testing should we do? 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.
THANKYOU 
http://sif.uin-suska.ac.id http://fst.uin-suska.ac.id
http://www.uin-suska.ac.id

More Related Content

What's hot

Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingAs Fazli
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingnovranrafindo
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingRudy Setiawan
 
Fundamentals of testing jef (1)
Fundamentals of testing jef (1)Fundamentals of testing jef (1)
Fundamentals of testing jef (1)jefri_antoni
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testinghasbi sidiq
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingHusnul Habib
 
Presentasi fundamental of testing
Presentasi fundamental of testingPresentasi fundamental of testing
Presentasi fundamental of testingEgi Ilham Elnusa
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingadeafsa
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingMarni -
 
FUNDAMENTALS OF TESTING (Fundamental of testing what)
FUNDAMENTALS OF TESTING (Fundamental of testing what) FUNDAMENTALS OF TESTING (Fundamental of testing what)
FUNDAMENTALS OF TESTING (Fundamental of testing what) CindyYuristie
 
Fundamentals of Testing - Andika Dwi Ary Candra
Fundamentals of Testing - Andika Dwi Ary CandraFundamentals of Testing - Andika Dwi Ary Candra
Fundamentals of Testing - Andika Dwi Ary CandraAnd11ka
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingYusran5
 
Fundamental Of Testing (Dhea Frizky)
Fundamental Of Testing (Dhea Frizky)Fundamental Of Testing (Dhea Frizky)
Fundamental Of Testing (Dhea Frizky)Dhea Ffrizky
 
What is Testability vs Automatability? How to improve your Software Testing.
What is Testability vs Automatability? How to improve your Software Testing.What is Testability vs Automatability? How to improve your Software Testing.
What is Testability vs Automatability? How to improve your Software Testing.Alan Richardson
 
Fundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & ImplementationsFundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & Implementationsyogi syafrialdi
 
How automation can help boost security
How automation can help boost securityHow automation can help boost security
How automation can help boost securityTestingXperts
 
Testing & implementation system 1-wm
Testing & implementation system 1-wmTesting & implementation system 1-wm
Testing & implementation system 1-wmWiwik Muslehatin
 

What's hot (20)

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
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing jef (1)
Fundamentals of testing jef (1)Fundamentals of testing jef (1)
Fundamentals of testing jef (1)
 
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
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
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
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
TDC PoA submission
TDC PoA submissionTDC PoA submission
TDC PoA submission
 
FUNDAMENTALS OF TESTING (Fundamental of testing what)
FUNDAMENTALS OF TESTING (Fundamental of testing what) FUNDAMENTALS OF TESTING (Fundamental of testing what)
FUNDAMENTALS OF TESTING (Fundamental of testing what)
 
Fundamentals of Testing - Andika Dwi Ary Candra
Fundamentals of Testing - Andika Dwi Ary CandraFundamentals of Testing - Andika Dwi Ary Candra
Fundamentals of Testing - Andika Dwi Ary Candra
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamental Of Testing (Dhea Frizky)
Fundamental Of Testing (Dhea Frizky)Fundamental Of Testing (Dhea Frizky)
Fundamental Of Testing (Dhea Frizky)
 
What is Testability vs Automatability? How to improve your Software Testing.
What is Testability vs Automatability? How to improve your Software Testing.What is Testability vs Automatability? How to improve your Software Testing.
What is Testability vs Automatability? How to improve your Software Testing.
 
Fundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & ImplementationsFundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & Implementations
 
How automation can help boost security
How automation can help boost securityHow automation can help boost security
How automation can help boost security
 
Testing & implementation system 1-wm
Testing & implementation system 1-wmTesting & implementation system 1-wm
Testing & implementation system 1-wm
 

Similar to Fundamentals of testing (what is testing necessary)

Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingTaufik hidayat
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingRudy Setiawan
 
Foundations of software testing - ISTQB Certification.pdf
Foundations of software testing - ISTQB Certification.pdfFoundations of software testing - ISTQB Certification.pdf
Foundations of software testing - ISTQB Certification.pdfSaraj Hameed Sidiqi
 
Chapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of TestingChapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of TestingZetryan Satria
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingargawanda
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingargawanda
 
Foundations Of Software Testing
Foundations Of Software TestingFoundations Of Software Testing
Foundations Of Software TestingTony Ennis
 
Software Testing Foundation
Software Testing FoundationSoftware Testing Foundation
Software Testing Foundationalessandro100
 
fundamentals of testing
fundamentals of testingfundamentals of testing
fundamentals of testingaidil fitra
 
ISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxrajkamalv
 
01 fundamentals of testing
01 fundamentals of testing01 fundamentals of testing
01 fundamentals of testingIlham Wahyudi
 
Chapter 1 Fundamental of testing (By Eva Normala)
Chapter 1 Fundamental of testing (By Eva Normala)Chapter 1 Fundamental of testing (By Eva Normala)
Chapter 1 Fundamental of testing (By Eva Normala)EvaNormala
 

Similar to Fundamentals of testing (what is testing necessary) (15)

Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Bab 1
Bab 1Bab 1
Bab 1
 
Foundations of software testing - ISTQB Certification.pdf
Foundations of software testing - ISTQB Certification.pdfFoundations of software testing - ISTQB Certification.pdf
Foundations of software testing - ISTQB Certification.pdf
 
Chapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of TestingChapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of Testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Foundations Of Software Testing
Foundations Of Software TestingFoundations Of Software Testing
Foundations Of Software Testing
 
Software Testing Foundation
Software Testing FoundationSoftware Testing Foundation
Software Testing Foundation
 
fundamentals of testing
fundamentals of testingfundamentals of testing
fundamentals of testing
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental 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
 
01 fundamentals of testing
01 fundamentals of testing01 fundamentals of testing
01 fundamentals of testing
 
Chapter 1 Fundamental of testing (By Eva Normala)
Chapter 1 Fundamental of testing (By Eva Normala)Chapter 1 Fundamental of testing (By Eva Normala)
Chapter 1 Fundamental of testing (By Eva Normala)
 

Recently uploaded

Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 

Recently uploaded (20)

Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 

Fundamentals of testing (what is testing necessary)

  • 1. ASSALAMUALAIKUM WR WB CHAPTER 2: FUNDAMENTALS OF TESTING WHY R E F E R E N S I : G R A H A M E T . A L ( 2 0 0 6 ) OLEH: ARDIANSYAH PROGRAM STUDI S1 SISTEM INFORMASI FAKULTAS SAINS dan TEKNOLOGI UNIVERSITAS ISLAM NEGERI SULTAN SYARIF KASIM RIAU
  • 2. WHAT IS TESTING NECESSARY? 1) Describe, with examples, the way in which a defect in software can cause harm to a person, to the environment or to a company. (K2) 2) Give reasons why testing is necessary by giving examples. (K2) 3) Describe why testing is part of quality assurance and give examples of how testing contributes to higher quality. (K2) 4) erms 'error' and 'bug'. (Kl)Explain the fundamental principles in testing. (K2)
  • 3. INTRODUCTION In this section, we're going to kick off the book with a discussion on why testing matters. We'll describe and illustrate how software defects or bugs can cause problems for people, the environment or a company. We'll draw important dis- tinctions between defects, their root causes and their effects. We'll explain why testing is necessary to find these defects, how testing promotes quality, and how testing fits into quality assurance. In this section, we will also introduce some fundamental principles of testing. As we go through this section, watch for the Syllabus terms bug, defect, error, failure, fault, mistake, quality, risk, software, testing and exhaustive testing. You'll find these terms defined in the glossary.
  • 4. SOFTWARE SYSTEM CONTEXT Some of the problems we encounter when using software are quite trivial, but ot reputation - and even may result in injury or death. For example, suppose a user interface has typographical defects. Does this matter? It may be trivial, but it could have a significant effect, depending on the website and the defect:  If my personal family-tree website has my maternal grandmother's maiden name spelt wrong, my mother gets annoyed and I have to put up with some family teasing, but I can fix it easily and only the family see it (probably).
  • 5. SOFTWARE SYSTEM CONTEXT  If the company website has some spelling mistakes in the text, potential customers may be put off the company as it looks unprofessional.  If a software program miscalculates pesticide application quantities, the effect could be very significant: suppose a decimal point is wrongly placed so that the application rate is 10 times too large. The farmer or gardener uses more pesticide than needed, which raises his costs, has environmental impacts on wildlife and water supplies and has health and safety impact for the farmer, gardener, family and workforce, livestock and pets. There may also be consequent loss of trust in and business for the company and possi ble legal costs and fines for causing the environmental and healthproblems.
  • 6. CAUSES OF SOFTWARE DEFECTS Why is it that software systems sometimes don't work correctly? We know that people make mistakes - we are fallible. If someone makes an error or mistake in using the software, this may lead directly to a problem - the software is used incorrectly and so does not behave as we expected. However, people also design and build the software and they can make mistakes during the design and build. These mistakes mean that there are flaws in the software itself. These are called defects or sometimes bugs or faults. Remember, the software is not just the code; check the definition of soft-ware again to remind yourself.
  • 7. CAUSES OF SOFTWARE DEFECTS When the software code has been built, it is executed and then any defects may cause the system to fail to do what it should do (or do something it shouldn't), causing a failure. Not all defects result in failures; some stay dormant in the code and we may never notice them.  Do our mistakes matter ?  When do defects arise ?  What is the cost of defects ?
  • 8. ROLE OF TESTING IN SOFTWARE DEVELOPMENT, MAINTENANCE AND OPERATIONS Executing tests helps us move towards improved quality of product and service, but that is just one of the verification and validation methods applied to products. Processes are also checked, for example by audit. A variety of methods may be used to check work, some of which are done by the author of the work and some by others to get an independent view.
  • 9. TESTING AND QUALITY Testing helps us to measure the quality of software in terms of the number of ects found, the test run, and the system covered by the tests. We can do this both the functional attributes of the software for example, printing a report (rectly) and for the non-functional software requirements, and characteristics (for example, printing a report quickly enough). Non- functional characteristics are covered in Chapter 2. Testing can give confidence in the quality of the soft-ware if it finds few or no defects, provided we are happy that the testing is suf-ficiently rigorous. Of course, a poor test may uncover few defects and leave us with a false sense of security.
  • 10. TESTING AND QUALITY We've seen that testing helps us find defects and improve software quality. How much testing should we do? 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.