Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re (tilly) 1: Stopgap measures when you don't have a QA departmentby jackdied (Monk) |
on Oct 19, 2001 at 02:05 UTC ( [id://119817]=note: print w/replies, xml ) | Need Help?? |
I've used Test::Unit, and really like it. One of the nice things about perl is that it is very good language for writing self-testing routines in. When you can, have the tests run outside the production environment. This isn't doable for everything, but offload as much as you can to 'make test' and 'make check' kinda tests. Another good place to test modules is when they are loaded. Have modules register with a central module to announce themselves, when they call GateKeeper::register() use the caller(0) information to perform any runtime tests on the newly loaded module
Someday I plan on posting a more complete version of registration and testing of virtual interfaces to PM, but today isn't going to be that day. -jackdied
In Section
Meditations
|
|