Howdy!

Largely at the instigation of diverse messages here at PM, I have glanced at XP, Code Complete, and testing code.

I needed to revise my tablet weaving modules to extend their functionality and took that as an opportunity to rewrite them (what the hey!). I decided to try to write good and thorough testing scripts as early in the process as I could force myself. I stumbled across Test::Simple and Test::More.

Wow!

Writing the tests was amazingly easy; it also made finding my bugs go easier (note to self: practice dope slaps...).

My deepest thanks to folks like Michael Schwern for writing these wonderful tools and folks like chromatic for preaching.

yours,
Michael

Now to go write some tests for extant modules that need them...

Replies are listed 'Best First'.
Re: On testing...
by chromatic (Archbishop) on Oct 16, 2001 at 08:06 UTC
    You're certainly welcome!

    Don't forget that these modules also integrate *very* nicely with Test::Harness. If you use h2xs (or, I believe, ExtUtils::ModuleMaker), the 'make test' target of your makefile will run the tests automatically and make a nice report of success and failure.

    (And check the author info of Test::Builder sometime. This time, Schwern did the preaching.)

      Howdy!

      I'll be looking at Test::Builder...

      I have been writing test scripts and running them via 'make test'; I am in the habit of using h2xs real early.

      yours,
      Michael