to.pm.org Jan 2005 Testing the Testers #1

Testing the testers

Test::Builder simplifies the creation of custom testing modules that play nicely with Test::More, Test::Exception et. al.

Like all code, testing code needs to itself be tested. But how? It's not enough to test that functions don't die - you must ensure that the expected failure and warning outputs are emitted given the proper input.

In this talk, we will create a custom testing module, then explore different ways of testing it, from rolling your own to using purpose-built modules like Test::Builder::Tester and Test::Tester.

< | ^ | >
Copyright © 2005 James FitzGibbon