SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Software Testing
Van Thi Kim Ngan
Aug-2005
Agenda
•
•
•
•
•

What is test?
Why is testing necessary?
What is bug?
Lifecycle of a bug
Record and Manage bug
What is test?
• Testing is the process of exercising or
evaluating a system or system component
by manual or automated means to verify
that it satisfies specified requirements
Some English…
• Verification : Methods to ensure that the
system complies with an organizational
standard or process
• Validation: Ensure that the system operates
according to a plan by executing system
functions
Why is testing necessary?
• Because software is likely to have faults
• To learn about the reliability of the
software
• Because failures can be very expensive
• To avoid being sued by customers
• To stay in business
What is bug?
• A fault in a program which causes the
program to perform in an unintended or
unanticipated manner.
Failure
• Deviation of the software from its expected
delivery or service
• Failure is an event
Fault
• Cause that failure is caused
• Defect or error inside a program

It is said to be a bug generally
Error
• A human action that produces an incorrect
result
Mistake
Oversight
Hand omission
Relation of failure, fault and error
A person
makes
an error ...
… that creates
a
fault in the
software ...
… that can
cause
a failure
in operation
“Importance” of bugs (in $$)
• Frequency (Fre)
• Correction cost (Cor):
– Typically, significantly more the later the bug is
discovered

• Installation cost (Ins):
– Cost of installing the fix

• Consequences (Con)
“Importance” of bugs (Con.)
• Importance = Fre * (Cor + Ins + Con)
– It’s not obvious that these costs can simply be
added.
– Another cost item may be “bug maintenance”: help
desk effort, etc., to assist users to work around it
Cost of bugs
Bug Lifecycle
LOG DEFECT
Defect status: ERROR

Analyse Defect

ASSIGN DEFECT
Defect status: ASSIGNED

CORRECT DEFECT
Defect status: PENDING

Error

Retest Defect

Corrected

CLOSE DEFECT
Defect status: TESTED

ACCEPT DEFECT
Defect status: ACCEPTED
Not all bugs are equal
Fatal
Damage
Serious

Medium
Cosmetic
Bug Type
Bug severity
• Cosmetic bugs
– A defect that in no way affects the performance of
the product. It may be a grammatical error

• Medium bugs
– This defect doesn’t stop the user from proceeding,
but causes inconvenience
Bug severity (Con.)
• Serious bugs
– System cannot work around

• Fatal bugs
– Defects may stop the user from using the system
further, the system is crashed
Bug Status
• ERROR
– The defect is not fixed, or fixed but not satisfactorily
as required

• ASSIGNED
– The defect is reviewed and assigned to fix it

• PENDING
– The defect is already fixed and waiting to retest
Bug Status (Con.)
• TESTED
– The defect is fixed satisfactorily as required

• ACCEPTED
– The defect has not been fixed satisfactorily as
required, but it’s accepted by concession of authority
or customer

• CANCELLED
– It’s not a defect or defect is removed by actions
other than bug fixing
Bug classification
•
•
•
•
•
•

Requirements and feature bugs
Structural bugs
Data bugs
Coding bugs
Interface, integration and system bugs
Test and test design bugs
Bug classification (Con.)
• Requirements & Feature Bugs
– Requirements bugs are the first to invade the system
and the last to leave
– Specs are often self-contradictory, incomplete and
ambiguous
– Extra features, other gratuitous enhancements tend
to be error prone
– Feature interaction problems
Bug classification (Con.)
• Structural Bugs
–
–
–
–

Control and sequence bugs
Logic bugs
Processing bugs
Initialization and dataflow bugs
Bug classification (Con.)
• Structure & Sequence Bugs
–
–
–
–

Unreachable code
Paths left out
Goto problems
Spaghetti code
Bug classification (Con.)
• Logic Bugs
–
–
–
–

Misunderstood switch-statement semantics
Improper Boolean logic
Improper simplification and combination of cases
Misunderstood expression evaluation
Bug classification (Con.)
• Processing Bugs
–
–
–

Arithmetic bugs
Algebraic bugs
Incorrect conversion
Bug classification (Con.)
• Initialization and data bugs
–
–
–
–
–

Improper initialization
Using an un-initialized variable
Double initialization
Modifying data but not keeping the result
Dangling pointers
Bug classification (Con.)
• Coding Bugs
–
–
–

Typos
Misunderstood language syntax and semantics
Erroneous comments
Bug classification (Con.)
• Interface, Integration & System Bugs
–
–
–

External interfaces
Internal interfaces
Bugs related to hardware, system software, or OS
interface
– Integration bugs
Bug classification (Con.)
• Tests & Test Design Bugs
–
–

Bugs in the test (“scaffolding”) software
Bugs in test data
Bug Tracking Tools
• Trakium: Issue Tracking System
–
–

Vendor: Multitech
www.trakium.com

• Test Director: Provide -Requirements
Management, Test Plan, Test Case, and Defects
Management
–
–

Vendor: Mercury
www.mercury.com
Questions & Answers

Weitere ähnliche Inhalte

Was ist angesagt?

Defect Life Cycle
Defect Life CycleDefect Life Cycle
Defect Life CycleSachin-QA
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual TestingMurageppa-QA
 
Validation testing
Validation testingValidation testing
Validation testingSlideshare
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesPunjab University
 
software testing methodologies
software testing methodologiessoftware testing methodologies
software testing methodologiesJhonny Jhon
 
7 stages of unit testing
7 stages of unit testing7 stages of unit testing
7 stages of unit testingJorge Ortiz
 
Software quality and testing (func. & non func.)
Software quality and testing (func. & non   func.)Software quality and testing (func. & non   func.)
Software quality and testing (func. & non func.)Pragya G
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146vidhyyav
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingVeneet-BA
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testingHaris Jamil
 
Software requirement verification & validation
Software requirement verification & validationSoftware requirement verification & validation
Software requirement verification & validationAbdul Basit
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testingHadi Fadlallah
 
Testing of Object-Oriented Software
Testing of Object-Oriented SoftwareTesting of Object-Oriented Software
Testing of Object-Oriented SoftwarePraveen Penumathsa
 
Software Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software TestingSoftware Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software TestingKostCare
 

Was ist angesagt? (20)

Defect Life Cycle
Defect Life CycleDefect Life Cycle
Defect Life Cycle
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
 
System testing
System testingSystem testing
System testing
 
Manual testing
Manual testingManual testing
Manual testing
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
 
Validation testing
Validation testingValidation testing
Validation testing
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slides
 
software testing methodologies
software testing methodologiessoftware testing methodologies
software testing methodologies
 
System testing
System testingSystem testing
System testing
 
Integration test
Integration testIntegration test
Integration test
 
7 stages of unit testing
7 stages of unit testing7 stages of unit testing
7 stages of unit testing
 
Software quality and testing (func. & non func.)
Software quality and testing (func. & non   func.)Software quality and testing (func. & non   func.)
Software quality and testing (func. & non func.)
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
Software requirement verification & validation
Software requirement verification & validationSoftware requirement verification & validation
Software requirement verification & validation
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
Testing of Object-Oriented Software
Testing of Object-Oriented SoftwareTesting of Object-Oriented Software
Testing of Object-Oriented Software
 
Software Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software TestingSoftware Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software Testing
 
Software testing
Software testingSoftware testing
Software testing
 

Andere mochten auch

Method to Print Multiple Notes on a single page
Method to Print Multiple Notes on a single pageMethod to Print Multiple Notes on a single page
Method to Print Multiple Notes on a single pagepeterb8
 
Laporan eksekutif
Laporan eksekutifLaporan eksekutif
Laporan eksekutifSavyN1234
 
How to Create a New PST file from Old Emails?
How to Create a New PST file from Old Emails?How to Create a New PST file from Old Emails?
How to Create a New PST file from Old Emails?peterb8
 
Kertas kerja amsa malaysia jppel updated
Kertas kerja amsa malaysia   jppel updatedKertas kerja amsa malaysia   jppel updated
Kertas kerja amsa malaysia jppel updatedSavyN1234
 
Laporan eksekutif 2
Laporan eksekutif 2Laporan eksekutif 2
Laporan eksekutif 2SavyN1234
 
Common Problems with Outlook 2010
Common Problems with Outlook 2010Common Problems with Outlook 2010
Common Problems with Outlook 2010peterb8
 
How to Change Time Format in Outlook ?
How to Change Time Format in Outlook ?How to Change Time Format in Outlook ?
How to Change Time Format in Outlook ?peterb8
 
Sync Google Calendar with Outlook 2010 !!
Sync Google Calendar with Outlook 2010 !!Sync Google Calendar with Outlook 2010 !!
Sync Google Calendar with Outlook 2010 !!peterb8
 
What is journals
What is journalsWhat is journals
What is journalspeterb8
 
How to add RSS Feed in MS Outlook?
How to add RSS Feed in MS Outlook?How to add RSS Feed in MS Outlook?
How to add RSS Feed in MS Outlook?peterb8
 
Omgevingsloket test slideshow
Omgevingsloket test slideshowOmgevingsloket test slideshow
Omgevingsloket test slideshowjaneerdekens
 
Minit mesyuarat 2
Minit mesyuarat 2Minit mesyuarat 2
Minit mesyuarat 2SavyN1234
 
High Pressure Refolding BPS 2015 LG
High Pressure Refolding BPS 2015 LGHigh Pressure Refolding BPS 2015 LG
High Pressure Refolding BPS 2015 LGMatt Brewer
 

Andere mochten auch (15)

Method to Print Multiple Notes on a single page
Method to Print Multiple Notes on a single pageMethod to Print Multiple Notes on a single page
Method to Print Multiple Notes on a single page
 
Laporan eksekutif
Laporan eksekutifLaporan eksekutif
Laporan eksekutif
 
How to Create a New PST file from Old Emails?
How to Create a New PST file from Old Emails?How to Create a New PST file from Old Emails?
How to Create a New PST file from Old Emails?
 
Kertas kerja amsa malaysia jppel updated
Kertas kerja amsa malaysia   jppel updatedKertas kerja amsa malaysia   jppel updated
Kertas kerja amsa malaysia jppel updated
 
Laporan eksekutif 2
Laporan eksekutif 2Laporan eksekutif 2
Laporan eksekutif 2
 
Common Problems with Outlook 2010
Common Problems with Outlook 2010Common Problems with Outlook 2010
Common Problems with Outlook 2010
 
How to Change Time Format in Outlook ?
How to Change Time Format in Outlook ?How to Change Time Format in Outlook ?
How to Change Time Format in Outlook ?
 
Sync Google Calendar with Outlook 2010 !!
Sync Google Calendar with Outlook 2010 !!Sync Google Calendar with Outlook 2010 !!
Sync Google Calendar with Outlook 2010 !!
 
What is journals
What is journalsWhat is journals
What is journals
 
Tp addition
Tp additionTp addition
Tp addition
 
How to add RSS Feed in MS Outlook?
How to add RSS Feed in MS Outlook?How to add RSS Feed in MS Outlook?
How to add RSS Feed in MS Outlook?
 
Omgevingsloket test slideshow
Omgevingsloket test slideshowOmgevingsloket test slideshow
Omgevingsloket test slideshow
 
Minit mesyuarat 2
Minit mesyuarat 2Minit mesyuarat 2
Minit mesyuarat 2
 
High Pressure Refolding BPS 2015 LG
High Pressure Refolding BPS 2015 LGHigh Pressure Refolding BPS 2015 LG
High Pressure Refolding BPS 2015 LG
 
Hhhc 9201
Hhhc 9201Hhhc 9201
Hhhc 9201
 

Ähnlich wie Software testing day1

Software_Testing_Overview.pptx
Software_Testing_Overview.pptxSoftware_Testing_Overview.pptx
Software_Testing_Overview.pptxJayPrakash255
 
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0Samer Desouky
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysisWBUTTUTORIALS
 
Seminar on Software Testing
Seminar on Software TestingSeminar on Software Testing
Seminar on Software TestingMD ISLAM
 
Why Automated Testing Matters To DevOps
Why Automated Testing Matters To DevOpsWhy Automated Testing Matters To DevOps
Why Automated Testing Matters To DevOpsdpaulmerrill
 
Testing & implementation system 1-wm
Testing & implementation system 1-wmTesting & implementation system 1-wm
Testing & implementation system 1-wmWiwik Muslehatin
 
Quality Analyst Training - Gain America
Quality Analyst Training - Gain AmericaQuality Analyst Training - Gain America
Quality Analyst Training - Gain AmericaGainAmerica
 
Why test automation projects are failing
Why test automation projects are failingWhy test automation projects are failing
Why test automation projects are failingIgor Khrol
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testingASIT Education
 
SENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptxSENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptxMinsasWorld
 
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...TEST Huddle
 
Verifcation &validation
Verifcation &validationVerifcation &validation
Verifcation &validationssusere50573
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing FundamentalsChankey Pathak
 
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
 
Real%20 world%20software%20testing%20white%20backgoround1
Real%20 world%20software%20testing%20white%20backgoround1Real%20 world%20software%20testing%20white%20backgoround1
Real%20 world%20software%20testing%20white%20backgoround1Varun Sharma
 

Ähnlich wie Software testing day1 (20)

Software_Testing_Overview.pptx
Software_Testing_Overview.pptxSoftware_Testing_Overview.pptx
Software_Testing_Overview.pptx
 
testing
testingtesting
testing
 
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
Seminar on Software Testing
Seminar on Software TestingSeminar on Software Testing
Seminar on Software Testing
 
Why Automated Testing Matters To DevOps
Why Automated Testing Matters To DevOpsWhy Automated Testing Matters To DevOps
Why Automated Testing Matters To DevOps
 
Testing & implementation system 1-wm
Testing & implementation system 1-wmTesting & implementation system 1-wm
Testing & implementation system 1-wm
 
QA Basics and PM Overview
QA Basics and PM OverviewQA Basics and PM Overview
QA Basics and PM Overview
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
Quality Analyst Training - Gain America
Quality Analyst Training - Gain AmericaQuality Analyst Training - Gain America
Quality Analyst Training - Gain America
 
Why test automation projects are failing
Why test automation projects are failingWhy test automation projects are failing
Why test automation projects are failing
 
ST UNIT-1.pptx
ST UNIT-1.pptxST UNIT-1.pptx
ST UNIT-1.pptx
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
SENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptxSENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptx
 
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
 
Verifcation &validation
Verifcation &validationVerifcation &validation
Verifcation &validation
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
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)
 
Real%20 world%20software%20testing%20white%20backgoround1
Real%20 world%20software%20testing%20white%20backgoround1Real%20 world%20software%20testing%20white%20backgoround1
Real%20 world%20software%20testing%20white%20backgoround1
 
Course Slides.pdf
Course Slides.pdfCourse Slides.pdf
Course Slides.pdf
 

Kürzlich hochgeladen

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)Samir Dash
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 

Kürzlich hochgeladen (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Software testing day1

  • 1. Software Testing Van Thi Kim Ngan Aug-2005
  • 2. Agenda • • • • • What is test? Why is testing necessary? What is bug? Lifecycle of a bug Record and Manage bug
  • 3. What is test? • Testing is the process of exercising or evaluating a system or system component by manual or automated means to verify that it satisfies specified requirements
  • 4. Some English… • Verification : Methods to ensure that the system complies with an organizational standard or process • Validation: Ensure that the system operates according to a plan by executing system functions
  • 5. Why is testing necessary? • Because software is likely to have faults • To learn about the reliability of the software • Because failures can be very expensive • To avoid being sued by customers • To stay in business
  • 6. What is bug? • A fault in a program which causes the program to perform in an unintended or unanticipated manner.
  • 7. Failure • Deviation of the software from its expected delivery or service • Failure is an event
  • 8. Fault • Cause that failure is caused • Defect or error inside a program It is said to be a bug generally
  • 9. Error • A human action that produces an incorrect result Mistake Oversight Hand omission
  • 10. Relation of failure, fault and error A person makes an error ... … that creates a fault in the software ... … that can cause a failure in operation
  • 11. “Importance” of bugs (in $$) • Frequency (Fre) • Correction cost (Cor): – Typically, significantly more the later the bug is discovered • Installation cost (Ins): – Cost of installing the fix • Consequences (Con)
  • 12. “Importance” of bugs (Con.) • Importance = Fre * (Cor + Ins + Con) – It’s not obvious that these costs can simply be added. – Another cost item may be “bug maintenance”: help desk effort, etc., to assist users to work around it
  • 14. Bug Lifecycle LOG DEFECT Defect status: ERROR Analyse Defect ASSIGN DEFECT Defect status: ASSIGNED CORRECT DEFECT Defect status: PENDING Error Retest Defect Corrected CLOSE DEFECT Defect status: TESTED ACCEPT DEFECT Defect status: ACCEPTED
  • 15. Not all bugs are equal Fatal Damage Serious Medium Cosmetic Bug Type
  • 16. Bug severity • Cosmetic bugs – A defect that in no way affects the performance of the product. It may be a grammatical error • Medium bugs – This defect doesn’t stop the user from proceeding, but causes inconvenience
  • 17. Bug severity (Con.) • Serious bugs – System cannot work around • Fatal bugs – Defects may stop the user from using the system further, the system is crashed
  • 18. Bug Status • ERROR – The defect is not fixed, or fixed but not satisfactorily as required • ASSIGNED – The defect is reviewed and assigned to fix it • PENDING – The defect is already fixed and waiting to retest
  • 19. Bug Status (Con.) • TESTED – The defect is fixed satisfactorily as required • ACCEPTED – The defect has not been fixed satisfactorily as required, but it’s accepted by concession of authority or customer • CANCELLED – It’s not a defect or defect is removed by actions other than bug fixing
  • 20. Bug classification • • • • • • Requirements and feature bugs Structural bugs Data bugs Coding bugs Interface, integration and system bugs Test and test design bugs
  • 21. Bug classification (Con.) • Requirements & Feature Bugs – Requirements bugs are the first to invade the system and the last to leave – Specs are often self-contradictory, incomplete and ambiguous – Extra features, other gratuitous enhancements tend to be error prone – Feature interaction problems
  • 22. Bug classification (Con.) • Structural Bugs – – – – Control and sequence bugs Logic bugs Processing bugs Initialization and dataflow bugs
  • 23. Bug classification (Con.) • Structure & Sequence Bugs – – – – Unreachable code Paths left out Goto problems Spaghetti code
  • 24. Bug classification (Con.) • Logic Bugs – – – – Misunderstood switch-statement semantics Improper Boolean logic Improper simplification and combination of cases Misunderstood expression evaluation
  • 25. Bug classification (Con.) • Processing Bugs – – – Arithmetic bugs Algebraic bugs Incorrect conversion
  • 26. Bug classification (Con.) • Initialization and data bugs – – – – – Improper initialization Using an un-initialized variable Double initialization Modifying data but not keeping the result Dangling pointers
  • 27. Bug classification (Con.) • Coding Bugs – – – Typos Misunderstood language syntax and semantics Erroneous comments
  • 28. Bug classification (Con.) • Interface, Integration & System Bugs – – – External interfaces Internal interfaces Bugs related to hardware, system software, or OS interface – Integration bugs
  • 29. Bug classification (Con.) • Tests & Test Design Bugs – – Bugs in the test (“scaffolding”) software Bugs in test data
  • 30. Bug Tracking Tools • Trakium: Issue Tracking System – – Vendor: Multitech www.trakium.com • Test Director: Provide -Requirements Management, Test Plan, Test Case, and Defects Management – – Vendor: Mercury www.mercury.com

Hinweis der Redaktion

  1. Process: Sequence of steps performed for a given purpose. (IEEE – Institute Electrical & Electronic Engineers ) Software Process A set of activities, methods, practices, and transformations that people use to develop and maintain software and associated products.(SEI-CMM – Software Engineering Institute – Capability Maturity Model for Software)
  2. if executed, a fault may cause a failure also known as a defect or bug fault is a state of the software, caused by an error