Les Hatton

A good software tester gets the picture

A camera that lost all its snaps is just one example of how basic programming checks are missed

Written by Les Hatton

Software testers rarely enjoy much kudos in their company because their job is viewed as “easy”. After all, anybody can break a piece of software. Well, this may be so, but breaking it in all the ways users might do when they get their hands on it is not so easy. Moreover, doing it within the limits of tight budgets and impossible deadlines imposed by people with as much idea about software development as a dandelion requires great skill and a fair amount of training.

Good software testers are rarer than good designers, and, given that about half the budget of a successful software development project is expended on testing, at least as important.

You don’t walk into a room full of flies and just swat the nearest one, or you will have a sore arm long before you can make a real difference to their numbers. A good tester knows that he or she has only so many swats, and will therefore seek out the most lucrative targets, like the week-old slice of pizza on the table. Defects cluster in software, and where you find one, there is a probability that there will be more. When good testers find one defect, they renew their efforts.

One of the places that defects cluster is around edges. An edge separates two sets of input parameters with potentially very different properties. If you want to sound impressive at a programmers’ party, they are called equivalence classes. A very simple example would be if you know an array can contain between 1 and 255 elements, an experienced tester will focus on elements 0,1,2,254,255 and 256 on the grounds that programmers have a thing about edges.

So do these defects really occur as often as I am suggesting? Oh yes, indeed they do. I have just returned from a trip to the US taking in New Orleans and then the Rockies. Unsurprisingly, I took lots of snaps with my nifty Canon Ixus digital camera. Next to a tranquil pool at around 9,000 feet, I snapped a beautiful scene. After a moment’s thought, my camera said: “Memory full”. “Bugger,” I said, and switched to edit mode to remove an earlier snap or two, at which point my camera said: “No images”. I switched back to snapping mode. “Memory full”, said the camera; back to edit mode, and “No images”.

I tried everything, to no avail. In the end, I had to reformat the memory card, losing everything. Thanks, Canon. I don’t mind you screwing up exotic details but you do not release boundary errors in basic file handling, and I don’t care if you can make the camera sing like a demented hamster every time I take a snap.

Tags:

reader comments

related articles

Applications testing breaches data law

Firms that test apps using live customer data could be failing the Data Protection Act 03 Jul 2006

 

Firms face shortage of software testers

Higher salaries alone might not solve the problem 13 Jun 2006

Security cannot be left to market forces

Calls are growing for regulations to penalise vendors if they ship insecure or bug-ridden software 04 Jul 2006

Software upgrades put users to the test

Problems with the Freeview TV text system illustrate weaknesses in software development processes 22 Aug 2006

related whitepapers

today's top stories

Solid as a rock - business continuity in a global manufacturer

From power supply problems in Nigeria to email availability in Stockport, PZ Cussons is prepared for anything 02 Dec 2008

Technology and privacy

Watch the final video in a two-part Computing roundtable debate on the importance of putting data privacy issues at the heart of your IT plans 02 Dec 2008

IT staff desperate to keep their jobs

Most would work longer hours for less pay 02 Dec 2008

VMware View 3 enhances virtual desktops

Virtual clients now take up less storage space and can be 'checked out' to a laptop 02 Dec 2008

Technology and privacy

Watch part one of a two-part Computing roundtable debate on the importance of putting data privacy issues at the heart of your IT plans 01 Dec 2008

Advertisement

Newsletter signup

Sign up for our range of FREE newsletters:

Existing User

Newsletter user login:

Advertisement

Jobs

Related jobs

Job of the week

Job alerts

Sign up here

Find your next job

IT Salary Checker

Check salary here

Advertisement

White papers

Search white papers

Top categories

VPN, Extranet and Intranet Solutions

WAN/ LAN Solutions

Network Security

Interoperability-Connectivity

Grid/ Utility Computing

Latest poll

Will the terrorist attacks in Mumbai affect your offshoring plans?

Will the terrorist attacks in Mumbai affect your offshoring plans?

Is India becoming a risky destination?

Previous poll results

Latest audio and video articles

Padlocked CDVideo

Technology and privacy

Watch the final video in a two-part Computing roundtable debate on the importance of putting data privacy issues at the heart of your IT plans 02 Dec 2008

Podcast imageAudio

Computing podcast - Standard Life's offshoring plans; and the prospects for government IT

The insurance giant outlines its new outsourcing strategy; and we ask if the government's economic bailout will affect its IT plans 28 Nov 2008

Latest in-depth articles

Parcel being packedFeatures

Case study: eSpares and business continuity

Online electricals business has managed to decrease its downtime 02 Dec 2008

Royal Blackburn HospitalFeatures

NHS trust recovers from server overdose

Virtualisation technology breathed new life into East Lancashire's cost-intensive system 02 Dec 2008

Advertisement

Primary Navigation