SlideShare a Scribd company logo
Fundamentals of Testing - Section 1
ISTQB Foundation
Summary
What you will learn in this first section
- Why Testing?
- Causes of software defects
- Tester objectives
- Testing and debugging
- Principles of testing
- Test activities
- Retesting
- Resource triangle
- Completion criteria
- Static and dynamic testing
- Testing independencies
- Code of ethics
Why Testing Is Necessary
People make mistakes due
to fallibility but also other
pressures.
i.e.:
- Attention to detail
- Time constraint
- Lack of Knowledge
- Experience
Software (Program Code) is present
everywhere.
From Banking, e-commerce to Cars,
Electrical Appliances, Arms, Heating
Systems and many more.
Failure results in financial loss, waste of
time, loss of reputation or, in worst cases,
injury and death.
Testing reduces the risk of software failure.
Causes Of Software Defects
Error: Human make a mistake in code. Development of a document
specification.
Defect: A problem caused by an error.
Fault: A failure of the system or component caused by a defect.
Failure: Failures don’t only happen due to defects, but also environmental
conditions, hardware problems, etc.
All defects start with a human error (for example a typo, misunderstanding, lack planning, capability, etc.)
The tester’s job is to expose the defect by causing a failure before the software gets to production.
Objectives Of Testing
Avoid and rectify errors.
Ensure that key functional and non-functional requirements are examined.
Testing is not about removing defects, but about notifying developers about
them.
Testing is also about reducing risk in releasing.
Testing can give confidence in the quality of the software if it finds few or no defects.
Tests can and must be measured.
Typical measurements are:
- Number of defects found
- Number of failures in a given time period (reliability)
- Usability rating
- Maintainability
Difference Between Testing And Debugging
Debugging is a process used
to identify causes of bugs in
code and correct them.
Testing is the exploration of
the system in order to find
defects.
Dynamic Testing Debugging
(Developer)(Tester)
Observe failure
Re-test to
confirm failure
no longer
occurs
Investigate and
Isolate defect
Fix defect
Check fix works
Fundamental Principles Of Testing
1. Testing shows the presence of bugs.
2. Exhaustive testing (testing all possible data combinations) is impossible.
3. Early testing saves money.
4. Defect clustering happens. If there is a bug in one part of the software, chances are
there are other, related bugs nearby.
5. “The pesticide paradox”: continuing to run the same tests won’t find new bugs.
6. Testing is context dependent. Testing is done differently in different contexts.
7. Software with no known errors is not necessarily ready to be shipped. Does it match
user/business expectations?
Five Fundamental Test Activities And Tasks From Planning To Test Closure
Planning - Verify the mission of testing. Planning and
Control
Analysis and
Design
Implementation and
Execution
Evaluating Exit Criteria
and Reporting
Test Closure Activities
Control - Monitor, check progress and take action.
Test analysis and test design is the testing
objectives to create test conditions and test
designs.
Activity where test procedures or scripts are in
order, the environment is setup and tests are run.
Activity where test execution is assessed against
the defined objectives.
Occurs at project milestones such as release,
completion, cancellation or maintenance release has
been complete.
Retesting & Regression Tests
Retest - Running the tests again after they fail and the bugs have been in theory fixed.
Regression – Running testing to check the cross impact of defect fix in the whole functionality
or system.
Defect/Bug Raised
Dev Team
Fixed
Test Team
Retest
Regression
Tests
Resource Triangle
Time, Cost, and Quality. You can’t have them all, only pick two.
You are given the options of Fast, Good, and Cheap, and told to pick any two. Here Fast refers to the
time required to deliver the product, Good is the quality of the final product, and Cheap refers to the
total cost of designing and building the product. This triangle reflects the fact that the three properties
of a project are interrelated, and it is not possible to optimize all three – one will always suffer. In other
words, you have three options:
Design something quickly and to a high standard, but then it will not be cheap.
Design something quickly and cheaply, but it will not be of high quality.
Design something with high quality and cheaply, but it will take a
relatively longer time.
Fast
(Time)
Cheap
(Cost)
Good
(Quality)
Completion Criteria
Criteria you set at the beginning of a project that determines when it is safe to stop testing. Exit
criterion is connected to the test coverage, test case design technique adopted, risk level of the
product varies from one test level to another.
• Specified coverage has been achieved.
• No Showstoppers or critical defects.
• There are very few known medium or low-
priority defects that don't affect the usage
of the product.
• If Exit criterion has not met, the test cannot
be stopped.
• The Exit criterion has to be revamped or the
time should be extended for testing based
on the quality of the product.
• Any changes to the test completion
criterion must be documented and signed
off by the stakeholders.
• The test ware can be released upon
successful completion of exit criteria.
Static & Dynamic Testing
Static - Testing where code is not exercised: document specification analysis,
reviews, even code itself, etc.
Can be done as Review by humans carrying out manual examination of
documents or Static Analysis of the code and software models by using
automation tools.
Dynamic - Kind of testing that exercises the program with some test data.
Dynamic testing is performed by executing software under test and comparing
actual and expected results.
Testing Independence
Developers are least independent, whereas outsourced testing companies are most
independent, because they don’t take defects as criticism.
Several levels of independence can be defined as shown below:
• Tests designed by the person(s) who wrote the software under test
• Tests designed by another person(s) within the development team
• Tests designed by a person(s) from a different organisational group
(i.e.: an independent test team) or test specialists (i.e.: usability or performance
testers)
• Tests designed by a person(s) from a different organisation or company
(i.e.: outsourcing or certification by an external body)
Low
High
Code of Ethics
Involvement in software testing enables individuals to lean confidential and privileged information.
A code of ethics is necessary, the ISTQB® states the following code of ethics:
Public – Testers shall act consistently with the
public interest
Client and Employer – Testers shall act in a manner
that is in the best interests of their client and
employer, consistent with the public interest
Product – Testers shall ensure that the
deliverables they provide (on the products and
systems they test) meet the highest professional
standards possible
Judgement – Testers shall maintain integrity and
independence in their professional judgement
Management – Test managers and leaders shall
subscribe to and promote an ethical approach to
the management of software testing
Profession – Testers shall advance the integrity
and reputation of the profession consistent with
the public interest
Colleagues – Testers shall be fair to and
supportive of their colleagues, and promote
cooperation with software developers
Self – Testers shall participate in lifelong learning
regarding the practice of their profession and shall
promote an ethical approach to the practice of the
profession
Review
This is what you have learned so far...
• Why Testing is necessary
• Common causes of software defects
• What is testers objectives
• Differences between testing and
debugging
• Fundamentals principles of testing
• Five fundamental test activities and
tasks from planning to closure
• Why retesting is one of the most
important tasks in testing
• Resource triangle - Time, Money and
Quality
• Definition of completion criteria
• When carryout a static and dynamic
testing
• Why is important to get testing
independence
• Why code of ethics is necessary
End of Section
1
Do the Quiz (attached) for Section
1
Questions?
Comments?
Thumbs up and Share it if you like
this.
Fundamentals of Testing - Section
1
ISTQB Foundation
Thank You

More Related Content

What's hot

Software Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, PuneSoftware Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, Pune
sanjayjadhav8789
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and typesConfiz
 
Software testing
Software testingSoftware testing
Software testing
ssusere50573
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
gueste730d5
 
functional testing
functional testing functional testing
functional testing
bharathanche
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
Raviteja Chowdary Adusumalli
 
Fundamentals of software testing
Fundamentals of software testingFundamentals of software testing
Fundamentals of software testing
Noha Gamal
 
Software Testing and Quality Assurance unit1
Software Testing and Quality Assurance  unit1Software Testing and Quality Assurance  unit1
Software Testing and Quality Assurance unit1
Bhagyashree Dhakulkar
 
Software testing
Software testingSoftware testing
Software testing
Dhanasekaran Narayanaswamy
 
11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot
Harshil Barot
 
CTFL chapter 05
CTFL chapter 05CTFL chapter 05
CTFL chapter 05
Davis Thomas
 
SDLC vs STLC
SDLC vs STLCSDLC vs STLC
SDLC vs STLC
David Tzemach
 
Software testing
Software testingSoftware testing
Software testing
mkn3009
 
software testing
 software testing software testing
software testing
Sara shall
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Ajit Waje
 
Eleven step of software testing process
Eleven step of software testing processEleven step of software testing process
Eleven step of software testing process
Himanshu
 

What's hot (20)

Software Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, PuneSoftware Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, Pune
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
 
functional testing
functional testing functional testing
functional testing
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Fundamentals of software testing
Fundamentals of software testingFundamentals of software testing
Fundamentals of software testing
 
Software Testing and Quality Assurance unit1
Software Testing and Quality Assurance  unit1Software Testing and Quality Assurance  unit1
Software Testing and Quality Assurance unit1
 
St
StSt
St
 
Software testing
Software testingSoftware testing
Software testing
 
11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot
 
CTFL chapter 05
CTFL chapter 05CTFL chapter 05
CTFL chapter 05
 
SDLC vs STLC
SDLC vs STLCSDLC vs STLC
SDLC vs STLC
 
3.software testing
3.software testing3.software testing
3.software testing
 
Software testing
Software testingSoftware testing
Software testing
 
software testing
 software testing software testing
software testing
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Eleven step of software testing process
Eleven step of software testing processEleven step of software testing process
Eleven step of software testing process
 
Test Life Cycle
Test Life CycleTest Life Cycle
Test Life Cycle
 

Viewers also liked

ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
Erol Selitektay
 
Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
Shuchi Singla AKT,SPC4,PMI-ACP,ITIL(F),CP-AAT
 
Istqb foundation level
Istqb foundation levelIstqb foundation level
Istqb foundation level
Le Trung Hieu
 
Independence of testing
Independence of testingIndependence of testing
Independence of testingQA Guards
 
Grey box techniques
Grey box techniquesGrey box techniques
Grey box techniquesQA Guards
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing Fundamentals
Kiran Kumar
 
Terms and definitions
Terms and definitionsTerms and definitions
Terms and definitions
QA Guards
 
ISTQB Foundation Level: Why, Why Not and How?
ISTQB Foundation Level: Why, Why Not and How?ISTQB Foundation Level: Why, Why Not and How?
ISTQB Foundation Level: Why, Why Not and How?
OdessaQA
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
Selin Gungor
 
ISTQB Foundation Level Certification - Intruduction
ISTQB Foundation Level Certification - IntruductionISTQB Foundation Level Certification - Intruduction
ISTQB Foundation Level Certification - Intruduction
QA Guards
 
Agile for Non-IT
Agile for Non-ITAgile for Non-IT
ISTQB - Foundation Level Syllabus 2011
ISTQB - Foundation Level Syllabus 2011ISTQB - Foundation Level Syllabus 2011
ISTQB - Foundation Level Syllabus 2011
Professional Testing
 
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
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing FundamentalsChankey Pathak
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Heritage Institute Of Tech,India
 

Viewers also liked (16)

ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
 
Istqb foundation level
Istqb foundation levelIstqb foundation level
Istqb foundation level
 
Independence of testing
Independence of testingIndependence of testing
Independence of testing
 
Grey box techniques
Grey box techniquesGrey box techniques
Grey box techniques
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing Fundamentals
 
Terms and definitions
Terms and definitionsTerms and definitions
Terms and definitions
 
ISTQB Foundation Level: Why, Why Not and How?
ISTQB Foundation Level: Why, Why Not and How?ISTQB Foundation Level: Why, Why Not and How?
ISTQB Foundation Level: Why, Why Not and How?
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
ISTQB Foundation Level Certification - Intruduction
ISTQB Foundation Level Certification - IntruductionISTQB Foundation Level Certification - Intruduction
ISTQB Foundation Level Certification - Intruduction
 
Agile for Non-IT
Agile for Non-ITAgile for Non-IT
Agile for Non-IT
 
ISTQB - Foundation Level Syllabus 2011
ISTQB - Foundation Level Syllabus 2011ISTQB - Foundation Level Syllabus 2011
ISTQB - Foundation Level Syllabus 2011
 
ISTQB foundation level - day 2
ISTQB foundation level - day 2ISTQB foundation level - day 2
ISTQB foundation level - day 2
 
ISTQB REX BLACK book
ISTQB REX BLACK bookISTQB REX BLACK book
ISTQB REX BLACK book
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 

Similar to Fundamentals of Testing Section 1/6

Fundamentals of Testing (2013)
Fundamentals of Testing (2013)Fundamentals of Testing (2013)
Fundamentals of Testing (2013)
Jana Gierloff
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGWelingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Sachin Pathania
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
acemindia
 
Aim (A).pptx
Aim (A).pptxAim (A).pptx
Aim (A).pptx
14941
 
Software Testing
Software TestingSoftware Testing
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
BugRaptors
 
An introduction to Software Testing and Test Management
An introduction to Software Testing and Test ManagementAn introduction to Software Testing and Test Management
An introduction to Software Testing and Test Management
Anuraj S.L
 
38475471 qa-and-software-testing-interview-questions-and-answers
38475471 qa-and-software-testing-interview-questions-and-answers38475471 qa-and-software-testing-interview-questions-and-answers
38475471 qa-and-software-testing-interview-questions-and-answers
Maria FutureThoughts
 
Software Testing PPT | Software All Testing
Software Testing PPT | Software All TestingSoftware Testing PPT | Software All Testing
Software Testing PPT | Software All Testing
sankalpkumarsahoo174
 
Software testing for project report .pdf
Software testing for project report .pdfSoftware testing for project report .pdf
Software testing for project report .pdf
Kamal Acharya
 
Software_Testing_ppt.pptx
Software_Testing_ppt.pptxSoftware_Testing_ppt.pptx
Software_Testing_ppt.pptx
BharathReddy615859
 
Istqb lesson1
Istqb lesson1Istqb lesson1
Istqb lesson1
Sunday Ayandele
 
testing.pptx
testing.pptxtesting.pptx
testing.pptx
jagadeeppapisettipal
 
Stm unit1
Stm unit1Stm unit1
Stm unit1
Chaitanya Kn
 

Similar to Fundamentals of Testing Section 1/6 (20)

Fundamentals of Testing (2013)
Fundamentals of Testing (2013)Fundamentals of Testing (2013)
Fundamentals of Testing (2013)
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGWelingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Aim (A).pptx
Aim (A).pptxAim (A).pptx
Aim (A).pptx
 
Check upload1
Check upload1Check upload1
Check upload1
 
Prvt file test
Prvt file testPrvt file test
Prvt file test
 
Software Testing 2/5
Software Testing 2/5Software Testing 2/5
Software Testing 2/5
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
An introduction to Software Testing and Test Management
An introduction to Software Testing and Test ManagementAn introduction to Software Testing and Test Management
An introduction to Software Testing and Test Management
 
38475471 qa-and-software-testing-interview-questions-and-answers
38475471 qa-and-software-testing-interview-questions-and-answers38475471 qa-and-software-testing-interview-questions-and-answers
38475471 qa-and-software-testing-interview-questions-and-answers
 
Check upload1
Check upload1Check upload1
Check upload1
 
Software Testing PPT | Software All Testing
Software Testing PPT | Software All TestingSoftware Testing PPT | Software All Testing
Software Testing PPT | Software All Testing
 
Software testing for project report .pdf
Software testing for project report .pdfSoftware testing for project report .pdf
Software testing for project report .pdf
 
Software_Testing_ppt.pptx
Software_Testing_ppt.pptxSoftware_Testing_ppt.pptx
Software_Testing_ppt.pptx
 
Istqb lesson1
Istqb lesson1Istqb lesson1
Istqb lesson1
 
testing.pptx
testing.pptxtesting.pptx
testing.pptx
 
Stm unit1
Stm unit1Stm unit1
Stm unit1
 
Testing
TestingTesting
Testing
 

Recently uploaded

First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
vrstrong314
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 

Recently uploaded (20)

First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 

Fundamentals of Testing Section 1/6

  • 1. Fundamentals of Testing - Section 1 ISTQB Foundation
  • 2. Summary What you will learn in this first section - Why Testing? - Causes of software defects - Tester objectives - Testing and debugging - Principles of testing - Test activities - Retesting - Resource triangle - Completion criteria - Static and dynamic testing - Testing independencies - Code of ethics
  • 3. Why Testing Is Necessary People make mistakes due to fallibility but also other pressures. i.e.: - Attention to detail - Time constraint - Lack of Knowledge - Experience Software (Program Code) is present everywhere. From Banking, e-commerce to Cars, Electrical Appliances, Arms, Heating Systems and many more. Failure results in financial loss, waste of time, loss of reputation or, in worst cases, injury and death. Testing reduces the risk of software failure.
  • 4. Causes Of Software Defects Error: Human make a mistake in code. Development of a document specification. Defect: A problem caused by an error. Fault: A failure of the system or component caused by a defect. Failure: Failures don’t only happen due to defects, but also environmental conditions, hardware problems, etc. All defects start with a human error (for example a typo, misunderstanding, lack planning, capability, etc.) The tester’s job is to expose the defect by causing a failure before the software gets to production.
  • 5. Objectives Of Testing Avoid and rectify errors. Ensure that key functional and non-functional requirements are examined. Testing is not about removing defects, but about notifying developers about them. Testing is also about reducing risk in releasing. Testing can give confidence in the quality of the software if it finds few or no defects. Tests can and must be measured. Typical measurements are: - Number of defects found - Number of failures in a given time period (reliability) - Usability rating - Maintainability
  • 6. Difference Between Testing And Debugging Debugging is a process used to identify causes of bugs in code and correct them. Testing is the exploration of the system in order to find defects. Dynamic Testing Debugging (Developer)(Tester) Observe failure Re-test to confirm failure no longer occurs Investigate and Isolate defect Fix defect Check fix works
  • 7. Fundamental Principles Of Testing 1. Testing shows the presence of bugs. 2. Exhaustive testing (testing all possible data combinations) is impossible. 3. Early testing saves money. 4. Defect clustering happens. If there is a bug in one part of the software, chances are there are other, related bugs nearby. 5. “The pesticide paradox”: continuing to run the same tests won’t find new bugs. 6. Testing is context dependent. Testing is done differently in different contexts. 7. Software with no known errors is not necessarily ready to be shipped. Does it match user/business expectations?
  • 8. Five Fundamental Test Activities And Tasks From Planning To Test Closure Planning - Verify the mission of testing. Planning and Control Analysis and Design Implementation and Execution Evaluating Exit Criteria and Reporting Test Closure Activities Control - Monitor, check progress and take action. Test analysis and test design is the testing objectives to create test conditions and test designs. Activity where test procedures or scripts are in order, the environment is setup and tests are run. Activity where test execution is assessed against the defined objectives. Occurs at project milestones such as release, completion, cancellation or maintenance release has been complete.
  • 9. Retesting & Regression Tests Retest - Running the tests again after they fail and the bugs have been in theory fixed. Regression – Running testing to check the cross impact of defect fix in the whole functionality or system. Defect/Bug Raised Dev Team Fixed Test Team Retest Regression Tests
  • 10. Resource Triangle Time, Cost, and Quality. You can’t have them all, only pick two. You are given the options of Fast, Good, and Cheap, and told to pick any two. Here Fast refers to the time required to deliver the product, Good is the quality of the final product, and Cheap refers to the total cost of designing and building the product. This triangle reflects the fact that the three properties of a project are interrelated, and it is not possible to optimize all three – one will always suffer. In other words, you have three options: Design something quickly and to a high standard, but then it will not be cheap. Design something quickly and cheaply, but it will not be of high quality. Design something with high quality and cheaply, but it will take a relatively longer time. Fast (Time) Cheap (Cost) Good (Quality)
  • 11. Completion Criteria Criteria you set at the beginning of a project that determines when it is safe to stop testing. Exit criterion is connected to the test coverage, test case design technique adopted, risk level of the product varies from one test level to another. • Specified coverage has been achieved. • No Showstoppers or critical defects. • There are very few known medium or low- priority defects that don't affect the usage of the product. • If Exit criterion has not met, the test cannot be stopped. • The Exit criterion has to be revamped or the time should be extended for testing based on the quality of the product. • Any changes to the test completion criterion must be documented and signed off by the stakeholders. • The test ware can be released upon successful completion of exit criteria.
  • 12. Static & Dynamic Testing Static - Testing where code is not exercised: document specification analysis, reviews, even code itself, etc. Can be done as Review by humans carrying out manual examination of documents or Static Analysis of the code and software models by using automation tools. Dynamic - Kind of testing that exercises the program with some test data. Dynamic testing is performed by executing software under test and comparing actual and expected results.
  • 13. Testing Independence Developers are least independent, whereas outsourced testing companies are most independent, because they don’t take defects as criticism. Several levels of independence can be defined as shown below: • Tests designed by the person(s) who wrote the software under test • Tests designed by another person(s) within the development team • Tests designed by a person(s) from a different organisational group (i.e.: an independent test team) or test specialists (i.e.: usability or performance testers) • Tests designed by a person(s) from a different organisation or company (i.e.: outsourcing or certification by an external body) Low High
  • 14. Code of Ethics Involvement in software testing enables individuals to lean confidential and privileged information. A code of ethics is necessary, the ISTQB® states the following code of ethics: Public – Testers shall act consistently with the public interest Client and Employer – Testers shall act in a manner that is in the best interests of their client and employer, consistent with the public interest Product – Testers shall ensure that the deliverables they provide (on the products and systems they test) meet the highest professional standards possible Judgement – Testers shall maintain integrity and independence in their professional judgement Management – Test managers and leaders shall subscribe to and promote an ethical approach to the management of software testing Profession – Testers shall advance the integrity and reputation of the profession consistent with the public interest Colleagues – Testers shall be fair to and supportive of their colleagues, and promote cooperation with software developers Self – Testers shall participate in lifelong learning regarding the practice of their profession and shall promote an ethical approach to the practice of the profession
  • 15. Review This is what you have learned so far... • Why Testing is necessary • Common causes of software defects • What is testers objectives • Differences between testing and debugging • Fundamentals principles of testing • Five fundamental test activities and tasks from planning to closure • Why retesting is one of the most important tasks in testing • Resource triangle - Time, Money and Quality • Definition of completion criteria • When carryout a static and dynamic testing • Why is important to get testing independence • Why code of ethics is necessary
  • 16. End of Section 1 Do the Quiz (attached) for Section 1 Questions? Comments? Thumbs up and Share it if you like this. Fundamentals of Testing - Section 1 ISTQB Foundation Thank You