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

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.
  • It took my a long time to get it in my head that I should be writing my tests just like I wrie the code I'm testing: Modular and Reusable.

    It really hit home with me when I was writing tests for classes I knew other people would inherit or subclass. In that case, why not make it easier for the new distant coder to also reuse as much of your test suite as possible to also test their new code.

    That's sort of easy with Test::Class. Sometimes, it takes a little more effort in things like NUnit in .NET, where you're not tied to having test class base at all.