Introduction to Software Testing: Why Software Fails
- Get link
- X
- Other Apps
Why Software
Fails.
Examples of software failure are depressingly common.
From rockets to tax returns, from bookstores to power grids — software failures span every industry and every scale of consequence.
Rocket
Returns
Wanted
Retailer
Blackout
Flight deviation.
The first launch of the European Space Agency Ariane 5 rocket in June 1996 failed after 37½ seconds. A software error caused the rocket to deviate from its vertical ascent.
The self-destruct capabilities were enacted before the then unpredictable flight path resulted in a bigger problem.
Privacy breach.
When the UK Government introduced online filing of tax returns, a user could sometimes see the amount that a previous user earned.
This was regardless of the physical location of the two applicants — a session or data leakage defect with serious privacy implications for every citizen using the system.
Performance collapse.
In November 2005, information on the UK's top 10 wanted criminals was displayed on a website. The publication of this information was described in newspapers and on morning radio and television.
As a result, many people attempted to access the site. The performance of the website proved inadequate under this load and the website had to be taken offline. The publicity created performance peaks beyond the capacity of the website.
Business logic oversight.
When a well-known online book retailer first went live, ordering a negative number of books meant that the transaction sum involved was refunded to the 'purchaser'.
Development staff had not anticipated that anyone would attempt to purchase a negative number of books. Code was developed to allow refunds to customers to be made by administrative staff — but self-requested refunds are not valid.
Cascading blackout.
A small, one-line change in the billing system of an electrical provider blacked out the whole of a major US city.
A single line of code — a tiny modification — cascaded into a catastrophic infrastructure failure affecting millions of residents and businesses.
Something fairly
obvious was missed.
- Get link
- X
- Other Apps
Comments
Post a Comment