LanX has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to get an overview about the possibilities to integrate the tests for a sub/method right away after defining them, much like POD embeds documentation right away in the code.
Till now I found Test::Pod::Snippets and Pod::Tests which use POD-parsers.
I slightly remember a discussion about a more functional than POD approach to do it.
UPDATE: Or code filter approach, like Smart::Comments
Anything more to be considered?
Any idea is appreciated...
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Embedding tests?
by Corion (Patriarch) on Nov 20, 2009 at 16:54 UTC | |
by LanX (Saint) on Nov 20, 2009 at 23:58 UTC | |
by Corion (Patriarch) on Nov 21, 2009 at 00:41 UTC | |
|
Re: Embedding tests?
by Bloodnok (Vicar) on Nov 20, 2009 at 20:47 UTC | |
|
Re: Embedding tests?
by JavaFan (Canon) on Nov 20, 2009 at 16:31 UTC |