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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Test File Names (Score:2)
What I usually recommend people to do, particularly if the test suite gets large, is to name tests after their packages. For SQL::Statement [cpan.org], you would get something like this:
If you want something more detailed because your packages are too large you can break down those final .t tests into finer-grained tests.
By switching to this system, it makes it ridiculously easy to figure out where every test goes (not true for many large test suites) and it also makes it easy to write editor tools to jump between tests and packages.
And cross-post this to blogs.perl.org [perl.org]! It's gotten to be fairly stable and more people are switching :)
Reply to This