![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Interesting testing idea ...by Corion (Patriarch) |
on Jan 21, 2009 at 14:23 UTC ( #737831=note: print w/replies, xml ) | Need Help?? |
This is close-yet-different to the idea of Test::Inline, which lets you write your tests in POD directly after the code. I think I prefer Test::Inline's way of allowing a more elaborate test setup, for example setting up a database etc.. The advantage of your idea is that no other tools are required to extract the tests from the POD, but this means that everybody wanting to use your module needs Test::With installed, while the inline tests can be extracted before creating the distribution file.
In Section
Meditations
|
|