SlideShare a Scribd company logo
1 of 12
Fundamentals of
Testing
Emi Rizki Ayunanda
11453201739
Sistem Informasi
Fakultas Sains Dan
Teknologi
Universitas Islam Negeri
Sultan Syarif Kasim Riau
WHY 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.
2. Distinguish between the root cause of a defect and its effects.
3. Give reasons why testing is necessary by giving examples.
4. Describe why testing is part of quality assurance and give
examples of how testing contributes to higher quality.
5. Recall the terms 'mistake', 'defect', 'fault', 'failure' and the
corresponding terms 'error' and 'bug'.
6. Explain the fundamental principles in testing.
Causes of software defects
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.
01 Error
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.
Defects02
Defects
Failure03
Failure
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.
Your Text
Here
Do our mistakes matter?
Our mistakes are also important because software systems and
projects are complicated. Many interim and final products are built
during a project, and people will almost certainly make mistakes and
errors in all the activities of the build. Some of these are found and
removed by the authors of the work, but it is difficult for people to find
their own mistakes while building a product. Defects in software,
systems or documents may result in failures, but not all defects do
cause failures. We could argue that if a mistake does not lead to a
defect or a defect does not lead to a failure, then it is not of any
importance - we may not even know we've made an error.
1Steps
2Steps
3Steps
4Steps
1. Errors in the specification, design and implementation of
the software and system;
2. Errors in use of the system;
3. Environmental conditions;
4. Intentional damage;
5. Potential consequences of earlier errors, intentional
damage, defects and failures.
Cont…
When we think about what might go wrong we have to consider defects and failures arising from :
 Requirement 1 is implemented correctly - we
understood the customer's requirement, designed
correctly to meet that requirement, built cor- rectly
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.
 Requirement 2 is fine until the software is coded,
when we make some mistakes and introduce
defects.
 Requirement 3 are harder to deal with; we built
exactly what we were told to but unfortunately the
designer made some mis- takes so there are
defects in the design.
 Requirement 4 were introduced during the
definition of the requirements; the product has
been designed and built to meet that flawed
requirements definition.
Modern PowerPoint
Presentation
Easy to change colors, photos and
Text
When do defects arise?
In Figure 1.1 we can see how defects may arise in four requirements for a product.
If an error is made and the consequent defect is
detected in the requirements at the specification
stage, then it is relatively cheap to find and fix.
The observation of increasing defect-removal
costs in software traces back to [Boehm]. You'll
find evidence for the economics of testing and
other quality assurance activities in [Gilb], [Black
2001] or [Black 2004].
Text 1 Text 2 Text 3
100
80
60
40
20
0
What is the cost of defects?
Testing and Quality
Testing helps us to measure the quality of software in terms of the number of defects found,
the tests run, and the system covered by the tests. We can do this for both the functional
attributes of the software (for example, printing a report correctly) and for the non-functional
software requirements and characteristics (for example, printing a report quickly enough).
Testing can give confidence in the quality of the software if it finds few or no defects, provided
we are happy that the testing is sufficiently rigorous .
1. extremely thorough, exhaustive, or accurate.
2. (of a rule, system, etc.) strictly applied or adhered to. Ø adhering strictly to a belief,
opinion, or system.
3. (of weather) harsh.
– DERIVATIVES rigorously adv. rigorousness n.
– ORIGIN ME: from OFr. rigorous or late L. rigorosus, from rigor (see rigor1).
Cont…
What is The 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.
.
The ISTQB glossary definition covers
not just the specified requirements
but also user and customer needs
and expectations.
If the customer wants a cheap car for
a 'run-about' and has a small budget
then an expensive sports car or a
military tank are not quality solutions,
however well built they are.
Characteristics Of
Quality
Table 1.1 Viewpoints of expectations and quality
Viewpoint Software Tomatoes
Quality is measured by looking at
the attributes of the product.
We will measure the attributes of
the software, e.g. its reliability in
terms of mean time between
failures (MBTF), and release when
they reach a specified level e.g.
MTBF of 12 hours.
The tomatoes are the right size and
shape for packing for the
supermarket. The tomatoes have a
good taste and color.
Quality is fitness for use. Quality
can have subjective aspects and
not just quantitative aspects.
We will ask the users whether they
can carry out their tasks; if they are
satisfied that they can we will
release the software.
The tomatoes are right for our
recipe.
Quality is based on good
manufacturing processes, and
meeting defined requirements. It is
measured by testing, inspection,
and analysis of faults and failures.
We will use a recognized software
development process. We will only
release the software if there are
fewer than five outstanding high-
priority defects once the planned
tests are complete.
The tomatoes are organically
farmed. The tomatoes have no
blemishes and no pest damage.
Expectation of value for money,
affordability, and a value-based
trade-off between time, effort and
cost aspects. We can afford to buy
this software and we expect a
return on investment.
We have time-boxed the testing to
two weeks to stay in the project
budget.
The tomatoes have a good shelf life.
The tomatoes are cheap or good
value for money.
Transcendent feelings - this is
about the feelings of an individual
or group of individuals towards a
product or a supplier.
We like this software! It is fun and
it's the latest thing! So what if it has
a few problems? We want to use it
anyway...
We really enjoy working with this
software team. So, there were a few
problems – they sorted them out
really quickly – we trust them.
We get our tomatoes from a small
local farm and we get on so well
with the growers.
Graham et.al (2011)
References
http://sif.uin-suska.ac.id/
http://fst.uin-suska.ac.id/
http://www.uin-suska.ac.id/
Thank You! 

More Related Content

What's hot

Fundamentals of testing what is testing (reference graham et.al (2006))
Fundamentals of testing   what is testing (reference graham et.al (2006))Fundamentals of testing   what is testing (reference graham et.al (2006))
Fundamentals of testing what is testing (reference graham et.al (2006))Alfarizi ,S.Kom
 
General technical interview questions
General technical interview questionsGeneral technical interview questions
General technical interview questionsKevalkumar Shah
 
software testing for beginners
software testing for beginnerssoftware testing for beginners
software testing for beginnersBharathi Ashok
 
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 Testingdevinta sari
 
Software testing techniques
Software testing techniquesSoftware testing techniques
Software testing techniqueschaklee191
 
Manual testing good notes
Manual testing good notesManual testing good notes
Manual testing good notesdkns0906
 
The non intuitive impact of software defects on development efforts time esti...
The non intuitive impact of software defects on development efforts time esti...The non intuitive impact of software defects on development efforts time esti...
The non intuitive impact of software defects on development efforts time esti...Pragmatic Cohesion Consulting, LLC
 
DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...
DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...
DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...DevLabs Alliance
 
Career in Software Testing | Skills Required for Software Test Engineer | Edu...
Career in Software Testing | Skills Required for Software Test Engineer | Edu...Career in Software Testing | Skills Required for Software Test Engineer | Edu...
Career in Software Testing | Skills Required for Software Test Engineer | Edu...Edureka!
 
Why is it important to hire an independent testing team for your development ...
Why is it important to hire an independent testing team for your development ...Why is it important to hire an independent testing team for your development ...
Why is it important to hire an independent testing team for your development ...App Sierra
 
Manual QA Testing Interview Questions From H2KInfosys
Manual QA Testing Interview Questions From H2KInfosysManual QA Testing Interview Questions From H2KInfosys
Manual QA Testing Interview Questions From H2KInfosysH2kInfosys
 
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...Edureka!
 
Software testing lecture notes
Software testing  lecture notesSoftware testing  lecture notes
Software testing lecture notesTEJVEER SINGH
 

What's hot (20)

Fundamentals of testing what is testing (reference graham et.al (2006))
Fundamentals of testing   what is testing (reference graham et.al (2006))Fundamentals of testing   what is testing (reference graham et.al (2006))
Fundamentals of testing what is testing (reference graham et.al (2006))
 
Beginners QA Testing
Beginners QA TestingBeginners QA Testing
Beginners QA Testing
 
General technical interview questions
General technical interview questionsGeneral technical interview questions
General technical interview questions
 
software testing for beginners
software testing for beginnerssoftware testing for beginners
software testing for beginners
 
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
 
Chapter 15
Chapter 15Chapter 15
Chapter 15
 
Software testing techniques
Software testing techniquesSoftware testing techniques
Software testing techniques
 
Manual testing good notes
Manual testing good notesManual testing good notes
Manual testing good notes
 
The non intuitive impact of software defects on development efforts time esti...
The non intuitive impact of software defects on development efforts time esti...The non intuitive impact of software defects on development efforts time esti...
The non intuitive impact of software defects on development efforts time esti...
 
DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...
DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...
DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...
 
Career in Software Testing | Skills Required for Software Test Engineer | Edu...
Career in Software Testing | Skills Required for Software Test Engineer | Edu...Career in Software Testing | Skills Required for Software Test Engineer | Edu...
Career in Software Testing | Skills Required for Software Test Engineer | Edu...
 
Software Testing Presentation
Software Testing PresentationSoftware Testing Presentation
Software Testing Presentation
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Why is it important to hire an independent testing team for your development ...
Why is it important to hire an independent testing team for your development ...Why is it important to hire an independent testing team for your development ...
Why is it important to hire an independent testing team for your development ...
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Software Myths
Software MythsSoftware Myths
Software Myths
 
Manual QA Testing Interview Questions From H2KInfosys
Manual QA Testing Interview Questions From H2KInfosysManual QA Testing Interview Questions From H2KInfosys
Manual QA Testing Interview Questions From H2KInfosys
 
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
 
Software testing lecture notes
Software testing  lecture notesSoftware testing  lecture notes
Software testing lecture notes
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
 

Similar to Fundamentals of testing

Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingargawanda
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingEvi Yandri
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingRisun Hidayat
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingnovranrafindo
 
Fundamentals of testing aldi
Fundamentals of testing aldiFundamentals of testing aldi
Fundamentals of testing aldialdi aulia
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingAs Fazli
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testinghasbi sidiq
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingSiti Rubayati
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingRudy Setiawan
 
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
 
Fundamental Of Testing (Dhea Frizky)
Fundamental Of Testing (Dhea Frizky)Fundamental Of Testing (Dhea Frizky)
Fundamental Of Testing (Dhea Frizky)Dhea Ffrizky
 
Chapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of TestingChapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of TestingZetryan Satria
 
Fundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & ImplementationsFundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & Implementationsyogi syafrialdi
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingHusnul Habib
 
Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testingsuci maisaroh
 
fundamentals of testing
fundamentals of testingfundamentals of testing
fundamentals of testingaidil fitra
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testingReginaKhalida
 

Similar to Fundamentals of testing (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
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
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
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
 
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)
 
Fundamental Of Testing (Dhea Frizky)
Fundamental Of Testing (Dhea Frizky)Fundamental Of Testing (Dhea Frizky)
Fundamental Of Testing (Dhea Frizky)
 
Chapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of TestingChapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of Testing
 
Fundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & ImplementationsFundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & Implementations
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testing
 
fundamentals of testing
fundamentals of testingfundamentals of testing
fundamentals of testing
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testing
 

More from Emi Rizki Ayunanda

More from Emi Rizki Ayunanda (6)

Tool support for testing
Tool support for testingTool support for testing
Tool support for testing
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycle
 
Test management
Test managementTest management
Test management
 
Test design technique
Test design techniqueTest design technique
Test design technique
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Tugas sosioteknologi emi rizki ayunanda
Tugas sosioteknologi emi rizki ayunandaTugas sosioteknologi emi rizki ayunanda
Tugas sosioteknologi emi rizki ayunanda
 

Recently uploaded

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 

Recently uploaded (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 

Fundamentals of testing

  • 1. Fundamentals of Testing Emi Rizki Ayunanda 11453201739 Sistem Informasi Fakultas Sains Dan Teknologi Universitas Islam Negeri Sultan Syarif Kasim Riau
  • 2. WHY 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. 2. Distinguish between the root cause of a defect and its effects. 3. Give reasons why testing is necessary by giving examples. 4. Describe why testing is part of quality assurance and give examples of how testing contributes to higher quality. 5. Recall the terms 'mistake', 'defect', 'fault', 'failure' and the corresponding terms 'error' and 'bug'. 6. Explain the fundamental principles in testing.
  • 3. Causes of software defects 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. 01 Error 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. Defects02 Defects Failure03 Failure 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. Your Text Here
  • 4. Do our mistakes matter? Our mistakes are also important because software systems and projects are complicated. Many interim and final products are built during a project, and people will almost certainly make mistakes and errors in all the activities of the build. Some of these are found and removed by the authors of the work, but it is difficult for people to find their own mistakes while building a product. Defects in software, systems or documents may result in failures, but not all defects do cause failures. We could argue that if a mistake does not lead to a defect or a defect does not lead to a failure, then it is not of any importance - we may not even know we've made an error.
  • 5. 1Steps 2Steps 3Steps 4Steps 1. Errors in the specification, design and implementation of the software and system; 2. Errors in use of the system; 3. Environmental conditions; 4. Intentional damage; 5. Potential consequences of earlier errors, intentional damage, defects and failures. Cont… When we think about what might go wrong we have to consider defects and failures arising from :
  • 6.  Requirement 1 is implemented correctly - we understood the customer's requirement, designed correctly to meet that requirement, built cor- rectly 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.  Requirement 2 is fine until the software is coded, when we make some mistakes and introduce defects.  Requirement 3 are harder to deal with; we built exactly what we were told to but unfortunately the designer made some mis- takes so there are defects in the design.  Requirement 4 were introduced during the definition of the requirements; the product has been designed and built to meet that flawed requirements definition. Modern PowerPoint Presentation Easy to change colors, photos and Text When do defects arise? In Figure 1.1 we can see how defects may arise in four requirements for a product.
  • 7. If an error is made and the consequent defect is detected in the requirements at the specification stage, then it is relatively cheap to find and fix. The observation of increasing defect-removal costs in software traces back to [Boehm]. You'll find evidence for the economics of testing and other quality assurance activities in [Gilb], [Black 2001] or [Black 2004]. Text 1 Text 2 Text 3 100 80 60 40 20 0 What is the cost of defects?
  • 8. Testing and Quality Testing helps us to measure the quality of software in terms of the number of defects found, the tests run, and the system covered by the tests. We can do this for both the functional attributes of the software (for example, printing a report correctly) and for the non-functional software requirements and characteristics (for example, printing a report quickly enough). Testing can give confidence in the quality of the software if it finds few or no defects, provided we are happy that the testing is sufficiently rigorous . 1. extremely thorough, exhaustive, or accurate. 2. (of a rule, system, etc.) strictly applied or adhered to. Ø adhering strictly to a belief, opinion, or system. 3. (of weather) harsh. – DERIVATIVES rigorously adv. rigorousness n. – ORIGIN ME: from OFr. rigorous or late L. rigorosus, from rigor (see rigor1).
  • 9. Cont… What is The 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. . The ISTQB glossary definition covers not just the specified requirements but also user and customer needs and expectations. If the customer wants a cheap car for a 'run-about' and has a small budget then an expensive sports car or a military tank are not quality solutions, however well built they are.
  • 10. Characteristics Of Quality Table 1.1 Viewpoints of expectations and quality Viewpoint Software Tomatoes Quality is measured by looking at the attributes of the product. We will measure the attributes of the software, e.g. its reliability in terms of mean time between failures (MBTF), and release when they reach a specified level e.g. MTBF of 12 hours. The tomatoes are the right size and shape for packing for the supermarket. The tomatoes have a good taste and color. Quality is fitness for use. Quality can have subjective aspects and not just quantitative aspects. We will ask the users whether they can carry out their tasks; if they are satisfied that they can we will release the software. The tomatoes are right for our recipe. Quality is based on good manufacturing processes, and meeting defined requirements. It is measured by testing, inspection, and analysis of faults and failures. We will use a recognized software development process. We will only release the software if there are fewer than five outstanding high- priority defects once the planned tests are complete. The tomatoes are organically farmed. The tomatoes have no blemishes and no pest damage. Expectation of value for money, affordability, and a value-based trade-off between time, effort and cost aspects. We can afford to buy this software and we expect a return on investment. We have time-boxed the testing to two weeks to stay in the project budget. The tomatoes have a good shelf life. The tomatoes are cheap or good value for money. Transcendent feelings - this is about the feelings of an individual or group of individuals towards a product or a supplier. We like this software! It is fun and it's the latest thing! So what if it has a few problems? We want to use it anyway... We really enjoy working with this software team. So, there were a few problems – they sorted them out really quickly – we trust them. We get our tomatoes from a small local farm and we get on so well with the growers.