"Frank's skill in asking the right questions is un-mistakable, and is at the core of his leadership philosophy.

The power of these questions cannot be underestimated, especially if you want to lead and not manage."
—John Cave
Westhaven Worldwide Logistics

If not otherwise stated—all postings © Frank D. Kanu. All rights reserved.

Posts

How many test data do we really need?

In the mid 90’s I was working on a project which had a designated data tester. In his opinion having a few hundred records in the database was enough. A few thousand he considered the upper limit. My request of having a few million records in the test database was seen as “crazy”.

Once I got my way the largest tables had around 1 million records each and the whole database roughly three million records. The developers and testers considered going postal on me - after all these tests took longer and some of the software had to be rewritten - because the user interface was crawling, at the best. Everyone told me how stupid it was to fill a database with that many records.

Half a year into production, one database had more than 60,000 personal records. The largest table had more than five million records.

At the end of the 90’s I worked on another project. A web based user interface. A live system used from more then 30 different customers. A lot of real test data available. The biggest database had a few million records altogether. Many fields were blobs, normalization wasn’t really done. The whole programming team - including management - didn’t see the need for any testing on databases with more then a handful records.

When it works with one record, it will work with a few million records.

Yeah, right!

One of their websites regularly timed out - the SQL just took too much time. So what did the developer do? Takes his test database. Two records in the one table, twenty, thirty in another one. Plus a handful more in the other tables involved in a badly written join. SQL takes a few seconds to run. Then he comes to me: “I don’t understand. My computer is slower then the server, yet the result page shows up in seconds!”
Well, duh! The customer database had a few hundred thousand records in the tables which got joined.

Yet until today that development team still insists that testing with the smallest database possible is all what it takes.

How many test data do you generate?

Tags:
 

This blog-entry is protected by a digital fingerprint:785273ed81985582c8a1be62f78c9459

Because I value your thoughtful opinions, I encourage you to add them.

Please leave your Response right here:




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Please do not be offended if I edit your response for clarity or to keep out questionable matters, however, and I may even delete off-topic responses.

« IT Labor Boomerangs Back Home     Phishing »

Navigation, Archives and Links


This blog is designed to provide accurate and authoritative information in regard to the subject matter covered. If legal advice or other expert assistance is required, the services of a competent professional should be sought.