SlideShare a Scribd company logo
1 of 42
Prepared By
Asmaa Matar
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 Systems Context
 Causes 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.
 Transportations.
 Banking
 Insurance
 Education
 Scientific Research
Errors
&
Mistakes
- Documents.
- Code
- Software system
Defect or Fault
Failure
Why is testing necessary ?
 Causes of Software Defects
 Humans do mistakes.
 Mistakes may lead to 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 2010 bug hits millions of
German bank cards.
 Guardin.co.uk said they paid about (€300m).
 Apple Maps gives us directions to nowhere (2012).
Risks
(Poor
Quality)
Humans
(Death, Injury)
Economy
(Money, Time)
Business
(Revenue,
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 after execution.
 Testing activities include: planning and control
,choosing test conditions , designing test cases and
checking results , evaluating exit criteria , reporting
and closure.
Suppose You are given “Pen” with instructions to test it .
What will you do ?
Testing
Static
Reviews
Dynamic
Functional
Non-
Functional
Performance
Security
Usability
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.
 Pesticide Paradox .
 Testing is context dependent.
 Absence of errors fallacy.
Testing Principles
 Testing Shows the presence of defects
 Testing can show that defects are present, 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
preconditions) 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 10
distinct values for each field has 10^5 different
combination.
Testing Principles
 Early Testing
 The earlier defects are detected , the lower the cost of
correction.
 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
 Defect Clustering
 System modules vary in size, complexity and frequency
of change.
 System modules do not experience the same 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 test cases will no longer find
any new defects.
 To overcome this, test cases need to be regularly
reviewed and revised
 New and different tests need to be written to exercise
different parts of the software or system to find
potentially more defects.
Testing Principles
 Testing is context dependent
 Testing is done differently in different contexts.
 For 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 expectations.
Fundamentals of Testing
 Why is testing necessary?
 What is testing?
 Testing Principles
 Fundamental Test Process
Testing Process...
Planning
and
Control
Analysis
and
design
Implementation
and execution
Evaluating
Exit criteria
And
reporting
Closure
Fundamental Test Process
 Planning and Control
 Ongoing comparison of actual progress against plan.
 Reporting status.
 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
 Creating test cases , writing test procedures.
 Creating test suits.
 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
 Checking that deliverables have been delivered as
planned.
 Archiving the test environment and the test
infrastructure for later reuse.
 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?
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).
Fundamentals of Testing
 Why is testing necessary?
 What is testing?
 Testing Principles
 Fundamental Test Process
 How much testing is enough
 Why Testers?
Fundamentals Testing Explained

More Related Content

What's hot

SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4 Mohammad Faizan
 
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 ManagementAnuraj S.L
 
Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Venkatesh Prasad Ranganath
 
STLC– software testing life cycle
STLC– software testing life cycleSTLC– software testing life cycle
STLC– software testing life cyclesubash kumar
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2Yogindernath Gupta
 
Software Testing - Software V&V and selection processes
Software Testing - Software V&V and selection processesSoftware Testing - Software V&V and selection processes
Software Testing - Software V&V and selection processesanasz3z3
 
Software testing and process
Software testing and processSoftware testing and process
Software testing and processgouravkalbalia
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingBugRaptors
 
Software Engineering- Types of Testing
Software Engineering- Types of TestingSoftware Engineering- Types of Testing
Software Engineering- Types of TestingTrinity Dwarka
 
software testing
 software testing software testing
software testingSara shall
 
Importance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your ProjectImportance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your ProjectSarah Elson
 
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 Introduction
Software Testing IntroductionSoftware Testing Introduction
Software Testing IntroductionArunKumar5524
 
Manual testing
Manual testingManual testing
Manual testingVivek V
 

What's hot (20)

Software testing
Software testingSoftware testing
Software testing
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
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
 
Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)
 
STLC– software testing life cycle
STLC– software testing life cycleSTLC– software testing life cycle
STLC– software testing life cycle
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software testing introduction
Software testing  introductionSoftware testing  introduction
Software testing introduction
 
stlc
stlcstlc
stlc
 
Software Testing - Software V&V and selection processes
Software Testing - Software V&V and selection processesSoftware Testing - Software V&V and selection processes
Software Testing - Software V&V and selection processes
 
Software testing and process
Software testing and processSoftware testing and process
Software testing and process
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Software Engineering- Types of Testing
Software Engineering- Types of TestingSoftware Engineering- Types of Testing
Software Engineering- Types of Testing
 
software testing
 software testing software testing
software testing
 
Importance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your ProjectImportance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your Project
 
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 Introduction
Software Testing IntroductionSoftware Testing Introduction
Software Testing Introduction
 
Manual testing
Manual testingManual testing
Manual testing
 
Software testing
Software testingSoftware testing
Software testing
 
STLC
STLCSTLC
STLC
 

Similar to Fundamentals Testing Explained

Bab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of TestingBab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of Testinglolayoriva
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance Webtech Learning
 
Fundamentals of testing 2
Fundamentals of testing 2Fundamentals of testing 2
Fundamentals of testing 2seli purnianda
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1Yogindernath Gupta
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testingTricia Karina
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notesonsoftwaretest
 
Fundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptxFundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptxMusaBashir9
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingYusran5
 
Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testingsuci maisaroh
 
ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5Yogindernath Gupta
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Ankit Prajapati
 
softwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfsoftwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfBabaShaikh3
 
fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)diana fitri, S.Kom
 

Similar to Fundamentals Testing Explained (20)

Bab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of TestingBab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of Testing
 
Testing
TestingTesting
Testing
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Istqb v.1.2
Istqb v.1.2Istqb v.1.2
Istqb v.1.2
 
Fundamentals of testing 2
Fundamentals of testing 2Fundamentals of testing 2
Fundamentals of testing 2
 
Fundamentals of Testing Section 1/6
Fundamentals of Testing   Section 1/6Fundamentals of Testing   Section 1/6
Fundamentals of Testing Section 1/6
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notes
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
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
 
Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testing
 
ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
 
Software Testing - SDLC Model
Software Testing - SDLC ModelSoftware Testing - SDLC Model
Software Testing - SDLC Model
 
softwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfsoftwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdf
 
fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)
 
Software test proposal
Software test proposalSoftware test proposal
Software test proposal
 

Recently uploaded

UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxRTS corp
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...Bert Jan Schrijver
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Anthony Dahanne
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsJean Silva
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITmanoharjgpsolutions
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingShane Coughlan
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolsosttopstonverter
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonApplitools
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 

Recently uploaded (20)

UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero results
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh IT
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration tools
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 

Fundamentals Testing Explained

  • 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 Systems Context  Causes 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.  Transportations.  Banking  Insurance  Education  Scientific Research
  • 6. Errors & Mistakes - Documents. - Code - Software system Defect or Fault Failure
  • 7. Why is testing necessary ?  Causes of Software Defects  Humans do mistakes.  Mistakes may lead to 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 2010 bug hits millions of German bank cards.  Guardin.co.uk said they paid about (€300m).  Apple Maps gives us directions to nowhere (2012).
  • 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 after execution.  Testing activities include: planning and control ,choosing test conditions , designing test cases and checking results , evaluating exit criteria , reporting and closure.
  • 15. Suppose You are given “Pen” with instructions to test it . What will you do ?
  • 17. Fundamentals of Testing  Why is testing necessary?  What is testing?  Testing Principles
  • 18. Testing Principles  Testing Shows Presence of defects.  Exhaustive testing is impossible.  Early Testing.  Defect Clustering.  Pesticide Paradox .  Testing is context dependent.  Absence of errors fallacy.
  • 19. Testing Principles  Testing Shows the presence of defects  Testing can show that defects are present, 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.
  • 20. Testing principles  Exhaustive testing is impossible  Testing everything (all combinations of inputs and preconditions) 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 10 distinct values for each field has 10^5 different combination.
  • 21. Testing Principles  Early Testing  The earlier defects are detected , the lower the cost of correction.  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.
  • 22. Testing Principles  Defect Clustering  System modules vary in size, complexity and frequency of change.  System modules do not experience the same 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
  • 23. 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
  • 24. Testing Principles  Pesticide Paradox  If the same tests are repeated over and over again, eventually the same set of test cases will no longer find any new defects.  To overcome this, test cases need to be regularly reviewed and revised  New and different tests need to be written to exercise different parts of the software or system to find potentially more defects.
  • 25. Testing Principles  Testing is context dependent  Testing is done differently in different contexts.  For example, safety-critical software is tested differently from an e-commerce site.
  • 26. 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 expectations.
  • 27. Fundamentals of Testing  Why is testing necessary?  What is testing?  Testing Principles  Fundamental Test Process
  • 30. Fundamental Test Process  Planning and Control  Ongoing comparison of actual progress against plan.  Reporting status.  Takes into account feedback of monitoring and control.
  • 31. 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.
  • 32. Fundamental Test Process  Implementation and execution  Creating test cases , writing test procedures.  Creating test suits.  Prepare test execution plans.
  • 33. 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.
  • 34. Fundamental Test Process  Test Closure  Checking that deliverables have been delivered as planned.  Archiving the test environment and the test infrastructure for later reuse.  Analyzing lessons learned for future releases and projects .
  • 35. Fundamentals of Testing  Why is testing necessary?  What is testing?  Testing Principles  Fundamental Test Process  How much testing is enough?
  • 36. How much testing is enough?
  • 37. How much testing is enough?  The amount of testing needed is proportionate with:  Risk.  Defect Cost.  Information needed.  Project constraints.  Test infrastructure.
  • 38. Fundamentals of Testing  Why is testing necessary?  What is testing?  Testing Principles  Fundamental Test Process  How much testing is enough  Why Testers?
  • 39.
  • 40. Why Testers?  Characteristic of a tester  Curiosity.  Clear thinking skills.  Top flight reading speed and comprehension.  Attention to details.  Quick learner (outside of testing).
  • 41. Fundamentals of Testing  Why is testing necessary?  What is testing?  Testing Principles  Fundamental Test Process  How much testing is enough  Why Testers?