SlideShare a Scribd company logo
ANDRI HAIRIYADI
11453105957
THE FUNDAMENTALS OF TESTING:
why testing is needed ?
its limitations, objectives and purpose;
the principles behind testing
the process that testers follow;
some of the psychological factors that testers must consider in their work.
why testing is needed ?
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-
commerce site
why testing is needed ?
Causes of software defects
Do our mistakes matter?
• Let's think about the consequences of mistakes. We agree that any human being, programmers and testers included, can make an error. These
errors may produce defects in the software code or system, or in a document. If a defect in code is executed, the system may experience a failure. So
the mistakes we make matter partly because they have consequences for the products for which we are responsible.
When do defects arise?
• In Figure 1.1 we can see how defects may arise in four requirements for a product. We can see that requirement 1 is implemented correctly - we
understood the customer's requirement, designed correctly to meet that requirement, built correctly to meet the design, and so deliver that
requirement with the right attributes: functionally, it does what it is supposed to do and it also has the right non-functional attributes, so it is fast
enough, easy to understand and so on.
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; think of the old English proverb 'a stitch in time saves nine'. This means
that if you mend a tear in your sleeve now while it is small, it's easy to mend, but if you leave it, it will get worse and need more stitches to mend it.
FIGURE 1.1 WE CAN SEE HOW DEFECTS MAY ARISE IN FOUR REQUIREMENTS FOR A PRODUCT.
why testing is needed ?
ROLE OF TESTING IN SOFTWARE DEVELOPMENT,
MAINTENANCE AND OPERATIONS
We have seen that human errors can cause a defect or fault to be introduced at any
stage within the software development life cycle and, depending upon the
consequences of the mistake, the results can be trivial or catastrophic. Rigorous
testing is necessary during development and maintenance to identify defects, in order
to reduce failures in the operational environment and increase the quality of the
operational system. This includes looking for places in the user interface where a user
might make a mistake in input of data or in the interpretation of the output, and
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 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.
why testing is needed ?
TESTING AND QUALITY
What is quality?
• Projects aim to deliver software to specification. For the project to deliver what the customer needs requires a correct specification. Additionally, the
delivered system must meet the specification. This is known as validation ('is this the right specification?') and verification ('is the system correct to
specification?'). Of course, as well as wanting the right software system built correctly, the customer wants the project to be within budget and
timescale - it should arrive when they need it and not cost too much.
What is root cause analysis?
• When we detect failures, we might try to track them back to their root cause, the real reason that they happened. There are several ways of carrying
out root cause analysis, often involving a group brainstorming ideas and discussing them, so you may see different techniques in different
organizations. If you are interested in using root cause analysis in your work, you'll find simple techniques described in [Evans], [TQMI] and [Robson].
For example, suppose an organization has a problem with printing repeatedly failing. Some IT maintenance folk get together to examine the
problem and they start by brainstorming all the possible causes of the failures. Then they group them into categories they have chosen, and see if
there are common underlying or root causes.
why testing is needed ?
HOW MUCH TESTING IS ENOUGH?
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.
why testing is needed ?
IN THIS SECTION, WE WILL REVIEW THE
COMMON OBJECTIVES OF TESTING. WE'LL
EXPLAIN HOW TESTING HELPS US TO FIND
DEFECTS, PROVIDE CONFIDENCE AND
INFORMATION, AND PREVENT DEFECTS. WE
WILL ALSO INTRODUCE ADDITIONAL
FUNDAMENTAL PRINCIPLES OF TESTING.
WHAT IS TESTING?
WHAT IS TESTING?
The driving test - an analogy for software testing
• We have spent some time describing why we need to test, but we have not discussed what testing is. What
do we mean by the word testing? We use the words test and testing in everyday life and earlier we said
testing could be described as 'checking the software is OK'
Defining software testing
• With that analogy in mind, let's look at the ISTQB definition of software testing.
Software test and driving test compared
• We can see that the software test is very like a driving test in many ways, although of course it is not a
perfect analogy! The driving examiner becomes the software tester. The driver being examined becomes the
system or software under test, and you'll see as we go through this book that the same approach broadly
holds.
When can we meet our test objectives?
•Testing activities should start as early as possible in the software or system development life cycle and should be focused on defined
objectives.
Focusing on defects can help us plan our tests
•Reviewing defects and failures in order to improve processes allows us to improve our testing and our requirements, design and development
processes. One phenomenon that many testers have observed is that defects tend to cluster. This can happen because an area of the code is
particularly complex and tricky, or because changing software and other products tends to cause knock-on defects. Testers will often use this
information when making their risk assessment for planning the tests, and will focus on known 'hot spots'.
The defect clusters change over time
•If the same tests are repeated over and over again, eventually the same set of test cases will no longer find any new bugs. To overcome this
'pesticide paradox', the test cases need to be regularly reviewed and revised, and new and different tests need to be written to exercise
different parts of the software or system to potentially find more defects.
WHAT IS TESTING?
TESTING TEST PROCESS
• Introduction
• Test Planning and control
• Test Analysis and Design
• Test implementation and execution
• Evaluating exit criteria and reporting
• Test Closure Activities
FUNDAMENTAL TEST PROCESS
FUNDAMENTAL
TEST PROCESS
confirmation
testing
exit criteria
incident
regression
testing
test basis
test condition
test coveragetest data
test log
test strategy
test plan
test execution
testware.
test
summary
report
THE PSYCHOLOGY OF
TESTING
Independent testing - who is a tester?
• The mindset we want to use while testing and reviewing is
different from the one we use while analyzing or developing.
2.Why do we sometimes not get on with the rest
of the team?
• As well as independence, separation of the tester role from the developer
role is also done to help focus effort and to provide the benefits of trained
and professional testing resources. In many organizations, earlier stages of
testing are carried out by the developers and integrators and later stages
independently, either by a specialist test group or by the customers.
SEKIAN TERIMA KASIH
BIBLIOGRAPHY
Graham et.al. (2011). ISTQB-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/

More Related Content

What's hot

01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
Tricia Karina
 
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
 
Negative Testing
Negative TestingNegative Testing
Negative Testing
Mindfire Solutions
 
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is TestingMateri testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testing
devinta sari
 
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)
diana fitri, S.Kom
 
Effective Testing fo Startups
Effective Testing fo StartupsEffective Testing fo Startups
Effective Testing fo Startups
Testnetic
 
Software testing-in-gurgaon
Software testing-in-gurgaonSoftware testing-in-gurgaon
Software testing-in-gurgaon
AP EDUSOFT
 
38475471 qa-and-software-testing-interview-questions-and-answers
38475471 qa-and-software-testing-interview-questions-and-answers38475471 qa-and-software-testing-interview-questions-and-answers
38475471 qa-and-software-testing-interview-questions-and-answers
Maria FutureThoughts
 
Beginners QA Testing
Beginners QA TestingBeginners QA Testing
Beginners QA Testing
Danielle Mickey
 
Basics of Software Testing
Basics of Software TestingBasics of Software Testing
Basics of Software TestingShakal Shukla
 
software testing for beginners
software testing for beginnerssoftware testing for beginners
software testing for beginnersBharathi Ashok
 
Software testing main
Software testing mainSoftware testing main
Software testing main
YogeshDhamke2
 
Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automation
David Tzemach
 
Software testing interview Q&A – Part 2
Software testing interview Q&A – Part 2Software testing interview Q&A – Part 2
Software testing interview Q&A – Part 2
Khoa Bui
 
Best Practices In Exploratory Testing
Best Practices In Exploratory TestingBest Practices In Exploratory Testing
Best Practices In Exploratory Testing
99tests
 
Top Agile Myths & Misconceptions
Top Agile Myths & MisconceptionsTop Agile Myths & Misconceptions
Top Agile Myths & Misconceptions
David Tzemach
 
Inrotduction of Testing
Inrotduction of TestingInrotduction of Testing
Inrotduction of TestingPalash Ghosh
 
Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1
Khoa Bui
 
Software Testing As a Career Path
Software Testing As a Career PathSoftware Testing As a Career Path
Software Testing As a Career Path
Rock Interview
 

What's hot (20)

01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
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)
 
Negative Testing
Negative TestingNegative Testing
Negative Testing
 
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is TestingMateri testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testing
 
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)
 
Effective Testing fo Startups
Effective Testing fo StartupsEffective Testing fo Startups
Effective Testing fo Startups
 
Software testing-in-gurgaon
Software testing-in-gurgaonSoftware testing-in-gurgaon
Software testing-in-gurgaon
 
38475471 qa-and-software-testing-interview-questions-and-answers
38475471 qa-and-software-testing-interview-questions-and-answers38475471 qa-and-software-testing-interview-questions-and-answers
38475471 qa-and-software-testing-interview-questions-and-answers
 
Beginners QA Testing
Beginners QA TestingBeginners QA Testing
Beginners QA Testing
 
Basics of Software Testing
Basics of Software TestingBasics of Software Testing
Basics of Software Testing
 
software testing for beginners
software testing for beginnerssoftware testing for beginners
software testing for beginners
 
Software testing main
Software testing mainSoftware testing main
Software testing main
 
Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automation
 
Software testing interview Q&A – Part 2
Software testing interview Q&A – Part 2Software testing interview Q&A – Part 2
Software testing interview Q&A – Part 2
 
Best Practices In Exploratory Testing
Best Practices In Exploratory TestingBest Practices In Exploratory Testing
Best Practices In Exploratory Testing
 
Top Agile Myths & Misconceptions
Top Agile Myths & MisconceptionsTop Agile Myths & Misconceptions
Top Agile Myths & Misconceptions
 
Rapid Software Testing
Rapid Software TestingRapid Software Testing
Rapid Software Testing
 
Inrotduction of Testing
Inrotduction of TestingInrotduction of Testing
Inrotduction of Testing
 
Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1
 
Software Testing As a Career Path
Software Testing As a Career PathSoftware Testing As a Career Path
Software Testing As a Career Path
 

Similar to Fundamentals of testing

Chapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of TestingChapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of Testing
Zetryan Satria
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Taufik hidayat
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Muhammad Khairil
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
Bobi Henfajri Setiawan
 
Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testing
suci maisaroh
 
Testing and quality romi
Testing and quality romiTesting and quality romi
Testing and quality romi
romi wisarta
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Suci Ayu Mawarni
 
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptxSOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
Financial Services Innovators
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
fajarayuningrum
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Evi Yandri
 
What is testing
What is testingWhat is testing
What is testing
Bayu Andika Pratama
 
Fundamentals of testing (what is testing)
Fundamentals of testing (what is testing)Fundamentals of testing (what is testing)
Fundamentals of testing (what is testing)
Dhy Ardiansyah
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
As Fazli
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
argawanda
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
argawanda
 
Testing and quality
Testing and qualityTesting and quality
Testing and quality
Ozi Saputra
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
hasbi sidiq
 
Fundamentals of testing aldi
Fundamentals of testing aldiFundamentals of testing aldi
Fundamentals of testing aldi
aldi aulia
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Afridol Afridol
 
Fundamentals of testing (1)
Fundamentals of testing (1)Fundamentals of testing (1)
Fundamentals of testing (1)Aziz Chikhly
 

Similar to Fundamentals of testing (20)

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
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
 
Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testing
 
Testing and quality romi
Testing and quality romiTesting and quality romi
Testing and quality romi
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptxSOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
What is testing
What is testingWhat is testing
What is testing
 
Fundamentals of testing (what is testing)
Fundamentals of testing (what is testing)Fundamentals of testing (what is testing)
Fundamentals of testing (what is 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
 
Testing and quality
Testing and qualityTesting and quality
Testing and quality
 
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
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing (1)
Fundamentals of testing (1)Fundamentals of testing (1)
Fundamentals of testing (1)
 

Recently uploaded

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 

Recently uploaded (20)

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 

Fundamentals of testing

  • 2. THE FUNDAMENTALS OF TESTING: why testing is needed ? its limitations, objectives and purpose; the principles behind testing the process that testers follow; some of the psychological factors that testers must consider in their work.
  • 3. why testing is needed ? 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- commerce site
  • 4. why testing is needed ? Causes of software defects Do our mistakes matter? • Let's think about the consequences of mistakes. We agree that any human being, programmers and testers included, can make an error. These errors may produce defects in the software code or system, or in a document. If a defect in code is executed, the system may experience a failure. So the mistakes we make matter partly because they have consequences for the products for which we are responsible. When do defects arise? • In Figure 1.1 we can see how defects may arise in four requirements for a product. We can see that requirement 1 is implemented correctly - we understood the customer's requirement, designed correctly to meet that requirement, built correctly to meet the design, and so deliver that requirement with the right attributes: functionally, it does what it is supposed to do and it also has the right non-functional attributes, so it is fast enough, easy to understand and so on. 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; think of the old English proverb 'a stitch in time saves nine'. This means that if you mend a tear in your sleeve now while it is small, it's easy to mend, but if you leave it, it will get worse and need more stitches to mend it.
  • 5. FIGURE 1.1 WE CAN SEE HOW DEFECTS MAY ARISE IN FOUR REQUIREMENTS FOR A PRODUCT. why testing is needed ?
  • 6. ROLE OF TESTING IN SOFTWARE DEVELOPMENT, MAINTENANCE AND OPERATIONS We have seen that human errors can cause a defect or fault to be introduced at any stage within the software development life cycle and, depending upon the consequences of the mistake, the results can be trivial or catastrophic. Rigorous testing is necessary during development and maintenance to identify defects, in order to reduce failures in the operational environment and increase the quality of the operational system. This includes looking for places in the user interface where a user might make a mistake in input of data or in the interpretation of the output, and 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 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. why testing is needed ?
  • 7. TESTING AND QUALITY What is quality? • Projects aim to deliver software to specification. For the project to deliver what the customer needs requires a correct specification. Additionally, the delivered system must meet the specification. This is known as validation ('is this the right specification?') and verification ('is the system correct to specification?'). Of course, as well as wanting the right software system built correctly, the customer wants the project to be within budget and timescale - it should arrive when they need it and not cost too much. What is root cause analysis? • When we detect failures, we might try to track them back to their root cause, the real reason that they happened. There are several ways of carrying out root cause analysis, often involving a group brainstorming ideas and discussing them, so you may see different techniques in different organizations. If you are interested in using root cause analysis in your work, you'll find simple techniques described in [Evans], [TQMI] and [Robson]. For example, suppose an organization has a problem with printing repeatedly failing. Some IT maintenance folk get together to examine the problem and they start by brainstorming all the possible causes of the failures. Then they group them into categories they have chosen, and see if there are common underlying or root causes. why testing is needed ?
  • 8. HOW MUCH TESTING IS ENOUGH? 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. why testing is needed ?
  • 9. IN THIS SECTION, WE WILL REVIEW THE COMMON OBJECTIVES OF TESTING. WE'LL EXPLAIN HOW TESTING HELPS US TO FIND DEFECTS, PROVIDE CONFIDENCE AND INFORMATION, AND PREVENT DEFECTS. WE WILL ALSO INTRODUCE ADDITIONAL FUNDAMENTAL PRINCIPLES OF TESTING. WHAT IS TESTING?
  • 10. WHAT IS TESTING? The driving test - an analogy for software testing • We have spent some time describing why we need to test, but we have not discussed what testing is. What do we mean by the word testing? We use the words test and testing in everyday life and earlier we said testing could be described as 'checking the software is OK' Defining software testing • With that analogy in mind, let's look at the ISTQB definition of software testing. Software test and driving test compared • We can see that the software test is very like a driving test in many ways, although of course it is not a perfect analogy! The driving examiner becomes the software tester. The driver being examined becomes the system or software under test, and you'll see as we go through this book that the same approach broadly holds.
  • 11. When can we meet our test objectives? •Testing activities should start as early as possible in the software or system development life cycle and should be focused on defined objectives. Focusing on defects can help us plan our tests •Reviewing defects and failures in order to improve processes allows us to improve our testing and our requirements, design and development processes. One phenomenon that many testers have observed is that defects tend to cluster. This can happen because an area of the code is particularly complex and tricky, or because changing software and other products tends to cause knock-on defects. Testers will often use this information when making their risk assessment for planning the tests, and will focus on known 'hot spots'. The defect clusters change over time •If the same tests are repeated over and over again, eventually the same set of test cases will no longer find any new bugs. To overcome this 'pesticide paradox', the test cases need to be regularly reviewed and revised, and new and different tests need to be written to exercise different parts of the software or system to potentially find more defects. WHAT IS TESTING?
  • 12. TESTING TEST PROCESS • Introduction • Test Planning and control • Test Analysis and Design • Test implementation and execution • Evaluating exit criteria and reporting • Test Closure Activities
  • 13. FUNDAMENTAL TEST PROCESS FUNDAMENTAL TEST PROCESS confirmation testing exit criteria incident regression testing test basis test condition test coveragetest data test log test strategy test plan test execution testware. test summary report
  • 14. THE PSYCHOLOGY OF TESTING Independent testing - who is a tester? • The mindset we want to use while testing and reviewing is different from the one we use while analyzing or developing. 2.Why do we sometimes not get on with the rest of the team? • As well as independence, separation of the tester role from the developer role is also done to help focus effort and to provide the benefits of trained and professional testing resources. In many organizations, earlier stages of testing are carried out by the developers and integrators and later stages independently, either by a specialist test group or by the customers.
  • 16. BIBLIOGRAPHY Graham et.al. (2011). ISTQB-Fondation of Software Testing. London: Cengage Learning EMEA.