[Perlunit-users] How we use Test::Unit, real life example
Status: Beta
Brought to you by:
mca1001
From: Andrew M. <am...@xa...> - 2002-01-16 23:56:38
|
Hi! Just thought to let you guys know. We (http://xao.com/) use Test::Unit for all of our development, you can check it out on CPAN or freshmeat - just search for 'xao'. This is a hierarchical database API, web templating system and some other pretty interesting modules with quite complex tests sometimes. Although we do not use all functionality provided I think that the way we use it is very flexible and powerful. If anyone wants to adopt the same style - feel free. And if you want to ask questions -- go ahead, I'm subscribed to this list. The difference in our approach is that we use a self-made test.pl script that builds stubs for testacases and the executes them in random order. For each .pm test case module it build two scripts, one .t for normal perl testing and one .pl to run by hands if something goes wrong and one wants to get more readable output and more details. All in all -- Test::Unit works great for us! Thanx to all developers. Andrew. |