Slash Boxes
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 ]

Matts (1087)

  (email not shown publicly)

I work for MessageLabs [] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.

Journal of Matts (1087)

Thursday April 10, 2003
02:00 AM


[ #11567 ]

Giving a talk on Testing (mostly a repeat of Schwern+Chromatic's Test::Tutorial) this afternoon at work. Should be fun, for various definitions of "fun".

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Idioms (Score:2, Insightful)

    At work, we've sort of discovered testing, but it seems to be at a primitive level. It might be worth covering best practises when testing as well. For example, using is() instead of ok() when possible. Also, using File::Temp instead of hard coding pathnames in /tmp (a local favourite).


    • My new current favorite: Use isa_ok on anything that returns an object. You get the undef checking and type checking in one handy routine.

      This is exactly the sort of stuff I'm going to cover in my OSCON talk [].

      I have a different, more introductory version [] of the talk available online. Please excuse the extreme powerpointiness.