SlideShare a Scribd company logo
HELLO I AM
Student and Businessman
Student of Information System (http://sif.uin-
suska.ac.id/)
Faculty of Sains And Technology (http://fst.uin-
suska.ac.id/)
State Islamic University of Sultan Syarif Kasim
Riau (https://uin-suska.ac.id/ )
WHAT
IS
TESTING?
Testing Implementation System
WHAT IS TESTING?
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.
1. 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?
The format of the driving test and the conduct of the examiner are
worth considering:
1. The test is planned and prepared for.
2. The test has known goals - assessing whether the driver is
sufficiently safe to be allowed to drive by themselves without an
instructor, without endangering themselves or others.
3. The test is therefore carried out to show that the driver satisfies the
requirements for driving and to demonstrate that they are fit to
drive.
4. As well as observing the driver actually driving, the examiner will
ask questions or the driver will take a written exam to check their
understanding of the rules of the road, road signs, and what to do
in various traffic situations.
WHAT IS TESTING?
2. Defining
software
testing
Let's break the definition down into parts;
the definition has some key phrases to remember.
The definition starts with a description of testing as
a process and then lists some objectives of the test
process. First, let's look at testing as a process:
1. Process
2. All Life Cycle Activities
3. Both Static and Dynamic
4. Planning
5. Preparation
6. Evaluation
7. Software products and related work products
WHAT IS TESTING?
3. 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.
1. Planning and Preparation
2. Static and Dynamic
3. Evaluation
4. Determine that they satisfy specified requirements
5. Demonstrate that they are fit for purpse
6. Detect defects
WHAT IS TESTING?
4. When can
we meet our
test
objectives?
We can use both dynamic testing and static testing as a
means for achieving similar test objectives. Both
provide information to improve both the system to be
tested, and the development and testing processes. We
mentioned above that testing can have different goals and
objectives, which often include:
1. Finding defects
2. Gaining confidence in and providing information about the
level of quality
3. Preventing defects
WHAT IS TESTING?
5. 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'.
WHAT IS TESTING?
6. The defect
clusters
change over
time
Over time, as we improve our whole software
development life cycle and the early static testing, we
may well find that dynamic test levels find fewer defects.
A typical test improvement initiative will initially find more
defects as the testing improves and then, as the defect
prevention kicks in, we see the defect numbers dropping,
as shown in Figure 1.3. The first part of the improvement
enables us to reduce failures in operation; later the
improvements are making us more efficient and Effective
in producing the software With fewer defects in it.
WHAT IS TESTING?
7. Debugging
removes
defects
When a test finds a defect that must be fixed, a programmer
must do some work to locate the defect in the code and make the fix. In this
process, called debugging, a programmer will examine the code for the
immediate cause of the problem, repair the code and check that the code
now executes as expected. The fix is often then tested separately (e.g. by an
independent tester) to confirm the fix. Notice that testing and debugging are
different activities. Developers may test their own fixes, in which case the
very tight cycle of identifying faults, debugging, and retesting is often loosely
referred to as debugging. However, often following the debugging cycle the
fixed code is tested independently both to retest the fix itself and to apply
regression testing to the surrounding unchanged software.
WHAT IS TESTING?
8. Is the
software
defect free?
This principle arises from the theory of the
process of scientific experimentation And has been
Adopted By testers; you’ll see the idea in many Testing
books. While You Are Not Expected to read The Scientific
Theory [Popper] The Analogy Used in science is useful;
however many White swans we see, we cannot say ‘All
Swans are white'. However, As soon as we see one black
swan we can say ‘Not All swans are white’. In the same
way, However Many tests we execute without Finding a
bug, we have not shown 'There Are no bugs’. As soon as
we find a bug, We Have Shown 'This Code is not bug-
free'.
WHAT IS TESTING?
9. If we don’t
find defects
does that
mean the
users will
accept the
software?
There is another important principle we must
consider; the customers for software - the people and
organizations who buy and use it to aid in their day-today
tasks - are not interested in defects or numbers of
defects, except when they are directly affected by the
instability of the software. The people using software are
more interested in the software supporting them in
completing tasks efficiently and effectively. The software
must meet their needs. It is for this reason that the
requirements and design defects we discussed earlier are
so important, and why reviews and inspections (see
chapter 3) are such a fundamental part of the entire test
activity.
WHAT IS TESTING?
Thank you! 
Reference: Graham et al Foundationf of Software Testing

More Related Content

What's hot

TestHiveB
TestHiveBTestHiveB
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
ANDRI HAIRIYADI, S.Kom.
 
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Muhammad Jazman
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Yusran5
 
Marjuni
MarjuniMarjuni
Marjuni
marjuni .
 
Debugging
DebuggingDebugging
Bab 1
Bab 1Bab 1
3104328 software-testing-interview-questions
3104328 software-testing-interview-questions3104328 software-testing-interview-questions
3104328 software-testing-interview-questions
Raghavendra Kudal
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Muhammad Khairil
 
Why is testing necessary
Why is testing necessaryWhy is testing necessary
Why is testing necessary
chayo rona
 
Software Testing Interview Questions
Software Testing Interview QuestionsSoftware Testing Interview Questions
Software Testing Interview Questions
Testbytes
 
Debugging by induction
Debugging by inductionDebugging by induction
Debugging by induction
Waqar Ali
 
Influence of emphasized automation in ci
Influence of emphasized automation in ciInfluence of emphasized automation in ci
Influence of emphasized automation in ci
BugRaptors
 
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
 
What is the difference between manual testing and automation testing
What is the difference between manual testing and automation testingWhat is the difference between manual testing and automation testing
What is the difference between manual testing and automation testing
Er Mahednra Chauhan
 
Principles of software testing
Principles of software testingPrinciples of software testing
Principles of software testing
Software Testing Books
 
Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automation
David Tzemach
 
Frequently asked questions
Frequently asked questionsFrequently asked questions
Frequently asked questions
Anu j
 
The complete guide for negative testing | David Tzemach
The complete guide for negative testing | David TzemachThe complete guide for negative testing | David Tzemach
The complete guide for negative testing | David Tzemach
David Tzemach
 
Testing Principles
Testing PrinciplesTesting Principles
Testing Principles
Risma Rustiyan R
 

What's hot (20)

TestHiveB
TestHiveBTestHiveB
TestHiveB
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Marjuni
MarjuniMarjuni
Marjuni
 
Debugging
DebuggingDebugging
Debugging
 
Bab 1
Bab 1Bab 1
Bab 1
 
3104328 software-testing-interview-questions
3104328 software-testing-interview-questions3104328 software-testing-interview-questions
3104328 software-testing-interview-questions
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Why is testing necessary
Why is testing necessaryWhy is testing necessary
Why is testing necessary
 
Software Testing Interview Questions
Software Testing Interview QuestionsSoftware Testing Interview Questions
Software Testing Interview Questions
 
Debugging by induction
Debugging by inductionDebugging by induction
Debugging by induction
 
Influence of emphasized automation in ci
Influence of emphasized automation in ciInfluence of emphasized automation in ci
Influence of emphasized automation in ci
 
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)
 
What is the difference between manual testing and automation testing
What is the difference between manual testing and automation testingWhat is the difference between manual testing and automation testing
What is the difference between manual testing and automation testing
 
Principles of software testing
Principles of software testingPrinciples of software testing
Principles of software testing
 
Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automation
 
Frequently asked questions
Frequently asked questionsFrequently asked questions
Frequently asked questions
 
The complete guide for negative testing | David Tzemach
The complete guide for negative testing | David TzemachThe complete guide for negative testing | David Tzemach
The complete guide for negative testing | David Tzemach
 
Testing Principles
Testing PrinciplesTesting Principles
Testing Principles
 

Similar to What is testing

What is testing?
What is testing?What is testing?
What is testing?
Zuliar Efendi
 
Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testing
suci maisaroh
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
Tricia Karina
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
Bobi Henfajri Setiawan
 
Defining software testing
Defining software testingDefining software testing
Defining software testing
Alfa Rizki Harahap
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Suci Ayu Mawarni
 
int.ppt
int.pptint.ppt
int.ppt
baranicsea
 
What is the testing ?
What is  the testing ?What is  the testing ?
What is the testing ?
winy setya ningrum
 
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
 
Fundamentals of testing (1)
Fundamentals of testing (1)Fundamentals of testing (1)
Fundamentals of testing (1)
Aziz Chikhly
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testing
ReginaKhalida
 
Software unit4
Software unit4Software unit4
Software unit4
Himanshu Awasthi
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
Mohammad Faizan
 
What is TESTING
What is TESTINGWhat is TESTING
What is TESTING
Jeri Handika
 
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
 
Manual Testing guide by nagula sai kiran.docx
Manual Testing guide by nagula sai kiran.docxManual Testing guide by nagula sai kiran.docx
Manual Testing guide by nagula sai kiran.docx
sai kiran
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
YAObbiIkhsan
 
Software Testing
Software TestingSoftware Testing

Similar to What is testing (20)

What is testing?
What is testing?What is testing?
What is testing?
 
Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testing
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
 
Defining software testing
Defining software testingDefining software testing
Defining software testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
int.ppt
int.pptint.ppt
int.ppt
 
What is the testing ?
What is  the testing ?What is  the testing ?
What is the testing ?
 
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
 
Fundamentals of testing (1)
Fundamentals of testing (1)Fundamentals of testing (1)
Fundamentals of testing (1)
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testing
 
Software unit4
Software unit4Software unit4
Software unit4
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
What is TESTING
What is TESTINGWhat is TESTING
What is TESTING
 
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
 
Manual Testing guide by nagula sai kiran.docx
Manual Testing guide by nagula sai kiran.docxManual Testing guide by nagula sai kiran.docx
Manual Testing guide by nagula sai kiran.docx
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 

Recently uploaded

How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdfAI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
Techgropse Pvt.Ltd.
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdfAI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 

What is testing

  • 1. HELLO I AM Student and Businessman Student of Information System (http://sif.uin- suska.ac.id/) Faculty of Sains And Technology (http://fst.uin- suska.ac.id/) State Islamic University of Sultan Syarif Kasim Riau (https://uin-suska.ac.id/ )
  • 3. WHAT IS TESTING? 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.
  • 4. 1. 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? The format of the driving test and the conduct of the examiner are worth considering: 1. The test is planned and prepared for. 2. The test has known goals - assessing whether the driver is sufficiently safe to be allowed to drive by themselves without an instructor, without endangering themselves or others. 3. The test is therefore carried out to show that the driver satisfies the requirements for driving and to demonstrate that they are fit to drive. 4. As well as observing the driver actually driving, the examiner will ask questions or the driver will take a written exam to check their understanding of the rules of the road, road signs, and what to do in various traffic situations. WHAT IS TESTING?
  • 5. 2. Defining software testing Let's break the definition down into parts; the definition has some key phrases to remember. The definition starts with a description of testing as a process and then lists some objectives of the test process. First, let's look at testing as a process: 1. Process 2. All Life Cycle Activities 3. Both Static and Dynamic 4. Planning 5. Preparation 6. Evaluation 7. Software products and related work products WHAT IS TESTING?
  • 6. 3. 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. 1. Planning and Preparation 2. Static and Dynamic 3. Evaluation 4. Determine that they satisfy specified requirements 5. Demonstrate that they are fit for purpse 6. Detect defects WHAT IS TESTING?
  • 7. 4. When can we meet our test objectives? We can use both dynamic testing and static testing as a means for achieving similar test objectives. Both provide information to improve both the system to be tested, and the development and testing processes. We mentioned above that testing can have different goals and objectives, which often include: 1. Finding defects 2. Gaining confidence in and providing information about the level of quality 3. Preventing defects WHAT IS TESTING?
  • 8. 5. 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'. WHAT IS TESTING?
  • 9. 6. The defect clusters change over time Over time, as we improve our whole software development life cycle and the early static testing, we may well find that dynamic test levels find fewer defects. A typical test improvement initiative will initially find more defects as the testing improves and then, as the defect prevention kicks in, we see the defect numbers dropping, as shown in Figure 1.3. The first part of the improvement enables us to reduce failures in operation; later the improvements are making us more efficient and Effective in producing the software With fewer defects in it. WHAT IS TESTING?
  • 10. 7. Debugging removes defects When a test finds a defect that must be fixed, a programmer must do some work to locate the defect in the code and make the fix. In this process, called debugging, a programmer will examine the code for the immediate cause of the problem, repair the code and check that the code now executes as expected. The fix is often then tested separately (e.g. by an independent tester) to confirm the fix. Notice that testing and debugging are different activities. Developers may test their own fixes, in which case the very tight cycle of identifying faults, debugging, and retesting is often loosely referred to as debugging. However, often following the debugging cycle the fixed code is tested independently both to retest the fix itself and to apply regression testing to the surrounding unchanged software. WHAT IS TESTING?
  • 11. 8. Is the software defect free? This principle arises from the theory of the process of scientific experimentation And has been Adopted By testers; you’ll see the idea in many Testing books. While You Are Not Expected to read The Scientific Theory [Popper] The Analogy Used in science is useful; however many White swans we see, we cannot say ‘All Swans are white'. However, As soon as we see one black swan we can say ‘Not All swans are white’. In the same way, However Many tests we execute without Finding a bug, we have not shown 'There Are no bugs’. As soon as we find a bug, We Have Shown 'This Code is not bug- free'. WHAT IS TESTING?
  • 12. 9. If we don’t find defects does that mean the users will accept the software? There is another important principle we must consider; the customers for software - the people and organizations who buy and use it to aid in their day-today tasks - are not interested in defects or numbers of defects, except when they are directly affected by the instability of the software. The people using software are more interested in the software supporting them in completing tasks efficiently and effectively. The software must meet their needs. It is for this reason that the requirements and design defects we discussed earlier are so important, and why reviews and inspections (see chapter 3) are such a fundamental part of the entire test activity. WHAT IS TESTING?
  • 13. Thank you!  Reference: Graham et al Foundationf of Software Testing