Professional Documents
Culture Documents
UNIT 1 – DAY 1
SOFTWARE TESTING OVERVIEW
• SOFTWARE TESTING HISTORY
• ERROR-FAULT-FAILURE-INCIDENT
2
3
THINK….THINK… THINK
• AIR Ticketing app charged for 2 TWO AIR Ticket, BUT you bought ONE
• A flight can take off, BUT has challenge in landing
• You paid the toll but the door does not open….
• You always look for “expiry date” when you buy medicine / food item
• There are more…………….
4
• Video
5
FEW SOFTWARE DISASTERS…
Airbus
Crash of an Airbus A400M due to quality issue in the parts of the flying machine (01/Jul/2015)
Crash
MARS WASHINGTON (AP) Mars Climate Orbiter was speeding through space and speaking to NASA in
Orbiter metric for nine months. In fact, the engineers on the ground were replying in non-metric
Loss English.(23/Sep/1999)
NORTH-
EAST NEW YORK (AP) – The programming error caused alarm failure (8/14/2003)
Blackout
Military
An F-18 crashed because of a missing exception condition:
Aviation
if ... then ... without the else clause that was thought could not possibly arise
Problem
6
… LEAD TO ADVERSE EFFECTS
• Space Applications: Lost lives, launch delays.
• Money Management: Fraud, violation of privacy, shutdown of stock exchanges and banks,
negative interest rates.
• Control of Elections: Wrong results (intentional or non-intentional).
• Control of Jails: Technology-aided escape attempts and successes, accidental release of
inmates, failures in software controlled locks.
• Law Enforcement: False arrests and imprisonments.
• Communications: Loss or corruption of communication media, non delivery of data.
• Defense and Warfare: Misidentification of friend or foe.
• Transportation: Deaths, delays, sudden acceleration, inability to brake.
• Safety-critical Applications: Death, injuries.
• Electric Power: Death, injuries, power outages, long-term health hazards (radiation)
7
GUESS??
8
EXPLAIN?
9
SO WHY IS TESTING NECESSARY?
10
INTERESTING…
11
SOFTWARE TESTING HISTORY
12
SOFTWARE TESTING EVOLUTION
13
IMPACT OF CASUAL ATTITUDE MAY CAUSE LOSS TO BUSINESS
14
SOFTWARE QUALITY CONTROL (QC)
QC is
set of procedures
used by organizations
to ensure that software product meets it’s quality goals
at the best value to the customer
15 15
VERIFICATION VS.VALIDATION
16
SOFTWARE TESTING
Testing is a QC activity.
17 17
WHAT IS A COMPUTER BUG?
18
SOFTWARE “BUG”
19 19
SO WHY SOFTWARE HAVE BUGS?
• Miscommunication or no
communication
• Programming errors
• Changing requirements
• Time pressures
• Ego
• Poorly documented code
• Incorrect or inadequate
interfaces with other systems
etc.
20 20
WHO SHOULD TEST ?
21
DO’S & DON’TS
22 22
WHAT IS NOT SOFTWARE TESTING?
23 23/50
COST TO FIX DEFECT
24
BUGS A.K.A. …
• Defect • Failure
• Fault • Inconsistency
• Problem • Product Anomaly
• Error • Product Incidence
• Incident • Feature :-)
• Anomaly
• Variance
25
ERROR. FAULT. BUG. FAILURE
A person makes
an error ...
26
ERROR. FAULT. BUG. FAILURE
27
ERROR. FAULT. BUG. FAILURE
28
ERROR. FAULT. BUG. FAILURE
29
ERROR. FAULT. BUG. FAILURE
• It is an event.
• Deviation of the software from its expected result.
• In nutshell, the inability of a system or component to fulfill its required
functions within specified performance requirements.
30
WHAT IS THIS?
An Error?
A failure?
A Fault?
We need to describe specified and
desired behaviour first
31
ALGORITHM “FAULT”
32
OUTCOME … “FAILURE”
33
EXPECTED FROM A GOOD TESTER
34
CONCLUSION
• One certainty is that without sufficient testing any piece of software will
eventually fail, leaving the user base unhappy and in search of another solution.
• All companies want happy users, and thus effective software testing is of
paramount importance to their future and bottom line.
35
Q&A
THANKS