Chapter 1 – Principles of testing
What do you think was the error, fault and failure in this example?The error is __________ The fault is ___________ The failure is __________
Reliability is the probability that software will not cause the failure of a system for aspecified time under specified conditions. Measures of reliability include MTBF (mean time between failure), MTTF (mean time to failure) as well as service level agreements and other mechanisms.
1.4.3 Errors and how they occur
Why do we make
in computer software leading to potential
of our systems? Well, firstly we are all prone to making simple human errors. This is anunavoidable fact of life. However, this is compounded by the fact that we all operate under real world pressures such as tight deadlines, budget restrictions, conflicting priorities and soon.
1.4.4 Cost of errors
The cost of an error can vary from nothing at all to large amounts of money and even loss of life. The aborted Mercury mission was obviously very costly but surely this is just an isolatedexample. Or is it? There are hundreds of stories about failures of computer systems that have been attributed to errors in the software. A few examples are shown below:A nuclear
reactor was shut down
because a single line of code was coded as X = Y insteadof X=ABS (Y) i.e. the absolute value of Y irrespective of whether Y was positive or negative.Blue Cross of Wisconsin installed a new $200m claims processing system - it sent out $60million in unwarranted and
Also, when a data entry clerk typed 'none'in the town field the system sent hundreds of checks to the non-existent town of 'NONE' inWisconsin.In May 1992, Pepsi fan a promotion in the Philippines. It told customers they could win amillion pesos (approx. $40,000) if they bought a bottle of Pepsi and found number 349stamped on the underside of the bottle cap. Unfortunately, due to a software error, 800,000 bottle caps were produced with number 349 instead of one, which was an equivalent of $42 billion in prize money. It cost the company dearly as some people pursued their claimsthrough the courts and
Pepsi paid out millions of dollars in compensation.
Another story was printed in the New York Times on 18th February 1994. Chemical Bank 3