Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jk2addict (4946)

jk2addict
  (email not shown publicly)
http://today.icantfocus.com/blog/
AOL IM: chrislaco (Add Buddy, Send Message)
Yahoo! ID: chrislaco@sbcglobal.net (Add User, Send Message)
Jabber: laco@scribblewerks.com

Journal of jk2addict (4946)

Tuesday October 10, 2006
10:45 AM

Test Everything: Part 2 of x

[ #31281 ]

In my last entry about testing, I mentioned that Andy's presentation got me rolling on testing everything that goes wrong from day to day even if it has nothing to do with actual code being written; ala testing your environment. Today we have part 2.

Through a series of data tubes, I must receive data from sources beyond my control. These sources sometimes don't have the kind of keys, indexes or data integrity that I would like it to have. Sometimes, that's how things just are.

In one such case this week, a list of names from a table should have one and only one entry per unique name, but duplicates were allowed to exist. This caused data imports to go boom.

So, in order to be notified of such data problems, I now have a test that checks the data feed for duplicate names.

For those keeping score, that's:

  1. Test part images exists on servers
  2. Test names in table X for duplicates

Two tests ensure that I never have to deal with investigating or identifying these problems again.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.