SlideShare a Scribd company logo
Fundamentals Of
Testing
Lola Yoriva
Program Studi S1 Sistem Informasi
Fakultas Sains dan Teknologi
Universitas Islam Negeri Sultan Syarif Kasim Riau
Fundamentals Of Testing
• Why is testing necessary?
• What is testing?
• Testing Principles
• Fundamental Test Process
• How much testing is enough?
• Why Testers?
Why is testing necessary
• Software system context
• Couses of software defects
• Why we test?
• Cost of software quality
Why is testing necessary?
• Software system context
- Software can be found in many areas of life
- When a system go wrong, it can result many effects start from user inconvenience,
including loss of money, time or business reputation, and could even cause loss a life
• Health equipment
• TransportationsMission Critical
• Banking
• InsuranceBusiness
• Education
• Scientific ResearchOthers
Errors &
Mistakes
- Documents
- Code
- Software System
Failure
Defect or Fault
Why is testing necessary?
• Causes of Software Defects
 Humans do mistakes
 Mistakes my lead do defects in source code or system specifications
 Defects are detected only when they leads to failures (code is executed), not all defects
do so
 Failures are considered problems when they occurred in live systems
 An observed failure is an incident
Defect
Injection
Detection
Prevention
- A defect injected at the
time the causing error is
made
- A defect is detected at
the time when failure
occurs
- Finding defects in
requirements docs or static
code can prevent detecting
them in running systems
Why is testing necessary?
• Why we Test ( Testing Goals )
Find defects
Measure quality
Provide confidence
Why is testing necessary?
• Costs of software defects
 Msnbc published the news of 2000 bug hits millions of German bank cards
 Guardian.co.uk said they paid about (€300m)
 Apple Maps gives us directions to now here (2012)
Risks (Poor
Quality)
Economy
(Money, Time)
Humans
(Death, Injury)
Business
(Reveneu,
Reputation)
Fundamentals of Testing
• Why is testing necessary?
• What is testing?
What is testing?
• The process consisting of all life cycle activities, both static and dynamic
concerned with planning, preparation and evaluation of software products
and related work products to determine that they satisfy specified
requirements, to demonstrate that they are fit for purpose and to detect
defects.
What is Testing?
• Executing SW is only part of testing, other activities exist before and afer
execution
• Testing activities include: planning and control, choosing test conditions,
designing test cases and checking results, evaluating exit criteria, reporting
and closure
Fundamentals of Testing
• Why is testing necessary?
• What is testing?
• Testing Principles
Testing Principles
• Testing Shows Presence of defects
• Exhaustive testing is impossible
• Early Testing
• Defect Clustering
• Presticide Paradox
• Testing is context dependent
• Absence of errors fallacy
Testing Principles
• Testing Shows the presence of defects
 Testing can show that defects are presents, but cannot prove that there are no defects
 Testing reduces the probability of undiscovered defects remaining in the software
 Discovering no more defects is not a proof of correctness
Testing principles
• Exhaustive testing is impossible
Testing everything (all combinations of inputs and perconditions) is not feasible except
for trivial cases
Instead of exhaustive testing, risk analysis and priorities should be used to focus testing
efforts
Example: a simple screen with five input fields and to distinct values for each field has
10^5 different combination
Testing Principles
• Early Testing
o The earlier defects are detected, the lower the cost of correction
o To find defects early, testing activities shall be started as early as possible in the software
or system development life cycle, and shall be focused on defined objectives
Testing Principles
• Defects Clustering
 System modules vary in size, complexity and frequency of change
 System modules do not experience the sama defect density or failure rate
 Thus, pareto principle (80-20 rule) is applicable:
A small number of modules contains most of the defects discovered
during prerelease testing, or show the most optional failures
Testing Principles
• Defect Clustering Cont’d
 When a defect is found in one area, changes are there that more defects can be found
and more time can be invested there
 Testers should not ignore any area as defects can be scattered around
Testing Principles
• Pesticide Paradox
- If the same tests are repeated over and over again, eventually the same set of tests cases
will no longer find any new defects
- To overcome this, tests cases need to be regularly reviewed and revised
- New and different tests need to be written to exercise different part of the software or
system to find potentially more defects
Testing Principles
• Testing is context dependent
 Testing is done differently in different contexts
 Fo example, safety-critical software is tested differently from an e-commerce site
Testing Principles
• Absence of Error Fallacy
Finding and fixing defects does not help if the system built is unusable and does not
fulfill the users needs and ecpectations
Fundamentals of Testing
• Why is testing necessary?
• What is testing?
• Testing Principles
• Fundamental Test Process
Planning
and
Control
Implementat
ion and
execution
Analysis
and
design
Closure
Evaluating
exit criteria
and
reporting
Fundamental Test Process
• Planning and Control
 Ongoing comparison of actual progress against plan
 Reporting
 Takes into account feedback of monitoring and control
Fundamental Test Process
• Analysis and design
 Reviewing the test basis
 Evaluating testability of test basis and test objects
 Identifying and prioritizing test conditions
 Designing and prioritizing test cases
 Identifying necessary test data
 Designing the test environment set-up and identifying any required infrastructure and
tools
Fundamental Test Process
• Implementation and execution
o Creating test cases, writing test procedures
o Creating test suits
o Prepare test execution plans
Fundamental Test Process
• Evaluating Exit Criteria and Reporting
 Checking test logs against the exit criteria specified in the planning
 Assessing if more tests are needed
 Writing a test summary report for stake holders
Fundamental Test Process
• Test Closure
o Checking that deliverables have been delivered as planned
o Archiving the test environment and the test infrastructure for later reuse
o Analyzing lessons learned for future releases and projects
Fundamentals of Testing
• Why is testing necessary?
• What is testing?
• Testing Principles
• Fundamental Test Process
• How much testing is enough?
How much testing is enough?
• The amount of testing needed is proportionate with:
 Risk
 Defect cost
 Information needed
 Project constraints
 Test infrastructure
Fundamentals of Testing
• Why is testing necessary?
• What is testing?
• Testing Principles
• Fundamental Test Process
• How much testing is enough?
• Why Testers?
Why Testers?
• Characteristic of a tester
 Curiosity
 Clear thinking skills
 Top flight reading speed and comprehension
 Attention to details
 Quick learner (outside of testing)
Reference
Graham, d., et al. 2006. foundations of software testing: ISTQB certification
London, UK: international Thomson business press.
http://www.uin-suska.ac.id/ http://sif.uin-suska.ac.id/ http://fst.uin-suska.ac.id/

More Related Content

What's hot

Tracking through kanban
Tracking through kanbanTracking through kanban
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3
Chandukar
 
Defect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft WebinarDefect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft Webinar
XBOSoft
 
Acceptance testing for rome
Acceptance testing for romeAcceptance testing for rome
Acceptance testing for rome
GitaAdryana
 
ISTQB foundation level - day 2
ISTQB foundation level - day 2ISTQB foundation level - day 2
ISTQB foundation level - day 2
Shuchi Singla AKT,SPC4,PMI-ACP,ITIL(F),CP-AAT
 
Free-ebook-rex-black advanced-software-testing
Free-ebook-rex-black advanced-software-testingFree-ebook-rex-black advanced-software-testing
Free-ebook-rex-black advanced-software-testing
Qualister
 
Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success
TEST Huddle
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam Practice
Yogindernath Gupta
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
Tricia Karina
 
Istqb chapter 5
Istqb chapter 5Istqb chapter 5
Istqb chapter 5
nstprabakaran
 
Software Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisSoftware Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & Analysis
OAK Systems Pvt Ltd
 
Testing- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionTesting- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solution
Mazenetsolution
 
ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4
onsoftwaretest
 
AiTi Education Software Testing Session 01 a
AiTi Education Software Testing Session 01 aAiTi Education Software Testing Session 01 a
AiTi Education Software Testing Session 01 a
AiTi Education
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2
onsoftwaretest
 
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
Ho Chi Minh City Software Testing Club
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testing
onsoftwaretest
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notes
onsoftwaretest
 
Thomas Axen - Lean Kaizen Applied To Software Testing - EuroSTAR 2010
Thomas Axen - Lean Kaizen Applied To Software Testing - EuroSTAR 2010Thomas Axen - Lean Kaizen Applied To Software Testing - EuroSTAR 2010
Thomas Axen - Lean Kaizen Applied To Software Testing - EuroSTAR 2010
TEST Huddle
 
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
Ho Chi Minh City Software Testing Club
 

What's hot (20)

Tracking through kanban
Tracking through kanbanTracking through kanban
Tracking through kanban
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3
 
Defect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft WebinarDefect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft Webinar
 
Acceptance testing for rome
Acceptance testing for romeAcceptance testing for rome
Acceptance testing for rome
 
ISTQB foundation level - day 2
ISTQB foundation level - day 2ISTQB foundation level - day 2
ISTQB foundation level - day 2
 
Free-ebook-rex-black advanced-software-testing
Free-ebook-rex-black advanced-software-testingFree-ebook-rex-black advanced-software-testing
Free-ebook-rex-black advanced-software-testing
 
Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam Practice
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
Istqb chapter 5
Istqb chapter 5Istqb chapter 5
Istqb chapter 5
 
Software Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisSoftware Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & Analysis
 
Testing- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionTesting- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solution
 
ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4
 
AiTi Education Software Testing Session 01 a
AiTi Education Software Testing Session 01 aAiTi Education Software Testing Session 01 a
AiTi Education Software Testing Session 01 a
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2
 
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testing
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notes
 
Thomas Axen - Lean Kaizen Applied To Software Testing - EuroSTAR 2010
Thomas Axen - Lean Kaizen Applied To Software Testing - EuroSTAR 2010Thomas Axen - Lean Kaizen Applied To Software Testing - EuroSTAR 2010
Thomas Axen - Lean Kaizen Applied To Software Testing - EuroSTAR 2010
 
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
 

Similar to Bab 1 Fundamentals Of Testing

1 testing fundamentals
1 testing fundamentals1 testing fundamentals
1 testing fundamentals
Asmaa Matar
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testing
Dr. Ahmed Al Zaidy
 
What_is_Software_Testing.pdf
What_is_Software_Testing.pdfWhat_is_Software_Testing.pdf
What_is_Software_Testing.pdf
VuongPhm
 
1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx
gianggiang114
 
Fundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptxFundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptx
MusaBashir9
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
BugRaptors
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Muhammad Khairil
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
GNANAJESLINJ
 
ISTQB - What's testing
ISTQB - What's testingISTQB - What's testing
ISTQB - What's testing
HoangThiHien1
 
QA Basics and PM Overview
QA Basics and PM OverviewQA Basics and PM Overview
QA Basics and PM Overview
Ajay Mani Paudel
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
YAObbiIkhsan
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Edureka!
 
ISTQB CTAL - Test Analyst
ISTQB CTAL - Test AnalystISTQB CTAL - Test Analyst
ISTQB CTAL - Test Analyst
Samer Desouky
 
Fundamentals of Testing Section 1/6
Fundamentals of Testing   Section 1/6Fundamentals of Testing   Section 1/6
Fundamentals of Testing Section 1/6
International Personal Finance Plc
 
Software Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet SolutionSoftware Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet Solution
Mazenetsolution
 
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Emerasoft, solutions to collaborate
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
WBUTTUTORIALS
 
L software testing
L   software testingL   software testing
L software testing
Fáber D. Giraldo
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Novika Damai Yanti
 
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx
abhivastrad007
 

Similar to Bab 1 Fundamentals Of Testing (20)

1 testing fundamentals
1 testing fundamentals1 testing fundamentals
1 testing fundamentals
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testing
 
What_is_Software_Testing.pdf
What_is_Software_Testing.pdfWhat_is_Software_Testing.pdf
What_is_Software_Testing.pdf
 
1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx
 
Fundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptxFundamentals_of_Software_testing.pptx
Fundamentals_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
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
ISTQB - What's testing
ISTQB - What's testingISTQB - What's testing
ISTQB - What's testing
 
QA Basics and PM Overview
QA Basics and PM OverviewQA Basics and PM Overview
QA Basics and PM Overview
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
 
ISTQB CTAL - Test Analyst
ISTQB CTAL - Test AnalystISTQB CTAL - Test Analyst
ISTQB CTAL - Test Analyst
 
Fundamentals of Testing Section 1/6
Fundamentals of Testing   Section 1/6Fundamentals of Testing   Section 1/6
Fundamentals of Testing Section 1/6
 
Software Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet SolutionSoftware Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet Solution
 
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
L software testing
L   software testingL   software testing
L software testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx
 

Recently uploaded

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
marianell3076
 
"DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY ...
"DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY ..."DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY ...
"DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY ...
thanhluan21
 
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUMENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
HappieMontevirgenCas
 
How to Store Data on the Odoo 17 Website
How to Store Data on the Odoo 17 WebsiteHow to Store Data on the Odoo 17 Website
How to Store Data on the Odoo 17 Website
Celine George
 
No, it's not a robot: prompt writing for investigative journalism
No, it's not a robot: prompt writing for investigative journalismNo, it's not a robot: prompt writing for investigative journalism
No, it's not a robot: prompt writing for investigative journalism
Paul Bradshaw
 
AI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdfAI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdf
SrimanigandanMadurai
 
NAEYC Code of Ethical Conduct Resource Book
NAEYC Code of Ethical Conduct Resource BookNAEYC Code of Ethical Conduct Resource Book
NAEYC Code of Ethical Conduct Resource Book
lakitawilson
 
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdfThe Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
JackieSparrow3
 
Webinar Innovative assessments for SOcial Emotional Skills
Webinar Innovative assessments for SOcial Emotional SkillsWebinar Innovative assessments for SOcial Emotional Skills
Webinar Innovative assessments for SOcial Emotional Skills
EduSkills OECD
 
How to Create Sequence Numbers in Odoo 17
How to Create Sequence Numbers in Odoo 17How to Create Sequence Numbers in Odoo 17
How to Create Sequence Numbers in Odoo 17
Celine George
 
How to Install Theme in the Odoo 17 ERP
How to  Install Theme in the Odoo 17 ERPHow to  Install Theme in the Odoo 17 ERP
How to Install Theme in the Odoo 17 ERP
Celine George
 
Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...
Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...
Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...
MysoreMuleSoftMeetup
 
Delegation Inheritance in Odoo 17 and Its Use Cases
Delegation Inheritance in Odoo 17 and Its Use CasesDelegation Inheritance in Odoo 17 and Its Use Cases
Delegation Inheritance in Odoo 17 and Its Use Cases
Celine George
 
How to Handle the Separate Discount Account on Invoice in Odoo 17
How to Handle the Separate Discount Account on Invoice in Odoo 17How to Handle the Separate Discount Account on Invoice in Odoo 17
How to Handle the Separate Discount Account on Invoice in Odoo 17
Celine George
 
Front Desk Management in the Odoo 17 ERP
Front Desk  Management in the Odoo 17 ERPFront Desk  Management in the Odoo 17 ERP
Front Desk Management in the Odoo 17 ERP
Celine George
 
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
siemaillard
 
National Learning Camp( Reading Intervention for grade1)
National Learning Camp( Reading Intervention for grade1)National Learning Camp( Reading Intervention for grade1)
National Learning Camp( Reading Intervention for grade1)
SaadaGrijaldo1
 
Lecture_Notes_Unit4_Chapter_8_9_10_RDBMS for the students affiliated by alaga...
Lecture_Notes_Unit4_Chapter_8_9_10_RDBMS for the students affiliated by alaga...Lecture_Notes_Unit4_Chapter_8_9_10_RDBMS for the students affiliated by alaga...
Lecture_Notes_Unit4_Chapter_8_9_10_RDBMS for the students affiliated by alaga...
Murugan Solaiyappan
 
Split Shifts From Gantt View in the Odoo 17
Split Shifts From Gantt View in the  Odoo 17Split Shifts From Gantt View in the  Odoo 17
Split Shifts From Gantt View in the Odoo 17
Celine George
 

Recently uploaded (20)

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 
"DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY ...
"DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY ..."DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY ...
"DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY ...
 
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUMENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
 
How to Store Data on the Odoo 17 Website
How to Store Data on the Odoo 17 WebsiteHow to Store Data on the Odoo 17 Website
How to Store Data on the Odoo 17 Website
 
No, it's not a robot: prompt writing for investigative journalism
No, it's not a robot: prompt writing for investigative journalismNo, it's not a robot: prompt writing for investigative journalism
No, it's not a robot: prompt writing for investigative journalism
 
AI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdfAI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdf
 
NAEYC Code of Ethical Conduct Resource Book
NAEYC Code of Ethical Conduct Resource BookNAEYC Code of Ethical Conduct Resource Book
NAEYC Code of Ethical Conduct Resource Book
 
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdfThe Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
 
Webinar Innovative assessments for SOcial Emotional Skills
Webinar Innovative assessments for SOcial Emotional SkillsWebinar Innovative assessments for SOcial Emotional Skills
Webinar Innovative assessments for SOcial Emotional Skills
 
How to Create Sequence Numbers in Odoo 17
How to Create Sequence Numbers in Odoo 17How to Create Sequence Numbers in Odoo 17
How to Create Sequence Numbers in Odoo 17
 
How to Install Theme in the Odoo 17 ERP
How to  Install Theme in the Odoo 17 ERPHow to  Install Theme in the Odoo 17 ERP
How to Install Theme in the Odoo 17 ERP
 
“A NOSSA CA(U)SA”. .
“A NOSSA CA(U)SA”.                      .“A NOSSA CA(U)SA”.                      .
“A NOSSA CA(U)SA”. .
 
Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...
Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...
Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...
 
Delegation Inheritance in Odoo 17 and Its Use Cases
Delegation Inheritance in Odoo 17 and Its Use CasesDelegation Inheritance in Odoo 17 and Its Use Cases
Delegation Inheritance in Odoo 17 and Its Use Cases
 
How to Handle the Separate Discount Account on Invoice in Odoo 17
How to Handle the Separate Discount Account on Invoice in Odoo 17How to Handle the Separate Discount Account on Invoice in Odoo 17
How to Handle the Separate Discount Account on Invoice in Odoo 17
 
Front Desk Management in the Odoo 17 ERP
Front Desk  Management in the Odoo 17 ERPFront Desk  Management in the Odoo 17 ERP
Front Desk Management in the Odoo 17 ERP
 
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
 
National Learning Camp( Reading Intervention for grade1)
National Learning Camp( Reading Intervention for grade1)National Learning Camp( Reading Intervention for grade1)
National Learning Camp( Reading Intervention for grade1)
 
Lecture_Notes_Unit4_Chapter_8_9_10_RDBMS for the students affiliated by alaga...
Lecture_Notes_Unit4_Chapter_8_9_10_RDBMS for the students affiliated by alaga...Lecture_Notes_Unit4_Chapter_8_9_10_RDBMS for the students affiliated by alaga...
Lecture_Notes_Unit4_Chapter_8_9_10_RDBMS for the students affiliated by alaga...
 
Split Shifts From Gantt View in the Odoo 17
Split Shifts From Gantt View in the  Odoo 17Split Shifts From Gantt View in the  Odoo 17
Split Shifts From Gantt View in the Odoo 17
 

Bab 1 Fundamentals Of Testing

  • 1. Fundamentals Of Testing Lola Yoriva Program Studi S1 Sistem Informasi Fakultas Sains dan Teknologi Universitas Islam Negeri Sultan Syarif Kasim Riau
  • 2. Fundamentals Of Testing • Why is testing necessary? • What is testing? • Testing Principles • Fundamental Test Process • How much testing is enough? • Why Testers?
  • 3. Why is testing necessary • Software system context • Couses of software defects • Why we test? • Cost of software quality
  • 4. Why is testing necessary? • Software system context - Software can be found in many areas of life - When a system go wrong, it can result many effects start from user inconvenience, including loss of money, time or business reputation, and could even cause loss a life
  • 5. • Health equipment • TransportationsMission Critical • Banking • InsuranceBusiness • Education • Scientific ResearchOthers
  • 6. Errors & Mistakes - Documents - Code - Software System Failure Defect or Fault
  • 7. Why is testing necessary? • Causes of Software Defects  Humans do mistakes  Mistakes my lead do defects in source code or system specifications  Defects are detected only when they leads to failures (code is executed), not all defects do so  Failures are considered problems when they occurred in live systems  An observed failure is an incident
  • 8. Defect Injection Detection Prevention - A defect injected at the time the causing error is made - A defect is detected at the time when failure occurs - Finding defects in requirements docs or static code can prevent detecting them in running systems
  • 9. Why is testing necessary? • Why we Test ( Testing Goals ) Find defects Measure quality Provide confidence
  • 10. Why is testing necessary? • Costs of software defects  Msnbc published the news of 2000 bug hits millions of German bank cards  Guardian.co.uk said they paid about (€300m)  Apple Maps gives us directions to now here (2012)
  • 11. Risks (Poor Quality) Economy (Money, Time) Humans (Death, Injury) Business (Reveneu, Reputation)
  • 12. Fundamentals of Testing • Why is testing necessary? • What is testing?
  • 13. What is testing? • The process consisting of all life cycle activities, both static and dynamic concerned with planning, preparation and evaluation of software products and related work products to determine that they satisfy specified requirements, to demonstrate that they are fit for purpose and to detect defects.
  • 14. What is Testing? • Executing SW is only part of testing, other activities exist before and afer execution • Testing activities include: planning and control, choosing test conditions, designing test cases and checking results, evaluating exit criteria, reporting and closure
  • 15. Fundamentals of Testing • Why is testing necessary? • What is testing? • Testing Principles
  • 16. Testing Principles • Testing Shows Presence of defects • Exhaustive testing is impossible • Early Testing • Defect Clustering • Presticide Paradox • Testing is context dependent • Absence of errors fallacy
  • 17. Testing Principles • Testing Shows the presence of defects  Testing can show that defects are presents, but cannot prove that there are no defects  Testing reduces the probability of undiscovered defects remaining in the software  Discovering no more defects is not a proof of correctness
  • 18. Testing principles • Exhaustive testing is impossible Testing everything (all combinations of inputs and perconditions) is not feasible except for trivial cases Instead of exhaustive testing, risk analysis and priorities should be used to focus testing efforts Example: a simple screen with five input fields and to distinct values for each field has 10^5 different combination
  • 19. Testing Principles • Early Testing o The earlier defects are detected, the lower the cost of correction o To find defects early, testing activities shall be started as early as possible in the software or system development life cycle, and shall be focused on defined objectives
  • 20. Testing Principles • Defects Clustering  System modules vary in size, complexity and frequency of change  System modules do not experience the sama defect density or failure rate  Thus, pareto principle (80-20 rule) is applicable: A small number of modules contains most of the defects discovered during prerelease testing, or show the most optional failures
  • 21. Testing Principles • Defect Clustering Cont’d  When a defect is found in one area, changes are there that more defects can be found and more time can be invested there  Testers should not ignore any area as defects can be scattered around
  • 22. Testing Principles • Pesticide Paradox - If the same tests are repeated over and over again, eventually the same set of tests cases will no longer find any new defects - To overcome this, tests cases need to be regularly reviewed and revised - New and different tests need to be written to exercise different part of the software or system to find potentially more defects
  • 23. Testing Principles • Testing is context dependent  Testing is done differently in different contexts  Fo example, safety-critical software is tested differently from an e-commerce site
  • 24. Testing Principles • Absence of Error Fallacy Finding and fixing defects does not help if the system built is unusable and does not fulfill the users needs and ecpectations
  • 25. Fundamentals of Testing • Why is testing necessary? • What is testing? • Testing Principles • Fundamental Test Process
  • 27. Fundamental Test Process • Planning and Control  Ongoing comparison of actual progress against plan  Reporting  Takes into account feedback of monitoring and control
  • 28. Fundamental Test Process • Analysis and design  Reviewing the test basis  Evaluating testability of test basis and test objects  Identifying and prioritizing test conditions  Designing and prioritizing test cases  Identifying necessary test data  Designing the test environment set-up and identifying any required infrastructure and tools
  • 29. Fundamental Test Process • Implementation and execution o Creating test cases, writing test procedures o Creating test suits o Prepare test execution plans
  • 30. Fundamental Test Process • Evaluating Exit Criteria and Reporting  Checking test logs against the exit criteria specified in the planning  Assessing if more tests are needed  Writing a test summary report for stake holders
  • 31. Fundamental Test Process • Test Closure o Checking that deliverables have been delivered as planned o Archiving the test environment and the test infrastructure for later reuse o Analyzing lessons learned for future releases and projects
  • 32. Fundamentals of Testing • Why is testing necessary? • What is testing? • Testing Principles • Fundamental Test Process • How much testing is enough?
  • 33. How much testing is enough? • The amount of testing needed is proportionate with:  Risk  Defect cost  Information needed  Project constraints  Test infrastructure
  • 34. Fundamentals of Testing • Why is testing necessary? • What is testing? • Testing Principles • Fundamental Test Process • How much testing is enough? • Why Testers?
  • 35. Why Testers? • Characteristic of a tester  Curiosity  Clear thinking skills  Top flight reading speed and comprehension  Attention to details  Quick learner (outside of testing)
  • 36. Reference Graham, d., et al. 2006. foundations of software testing: ISTQB certification London, UK: international Thomson business press. http://www.uin-suska.ac.id/ http://sif.uin-suska.ac.id/ http://fst.uin-suska.ac.id/