On Tue, 29 Oct 2013 17:10:51 +0100
Manfred Lotz <[email protected]> wrote:
> Hi there,
> I have some relatively small standalone perl scripts where I would
> like to include tests.
>
> Which is the recommended way to test standalone scripts?
>
>
Put the tests in a directory call "t" under the source. And see
`man prove`. `prove` is a Perl tool for testing modules but it can be
adapted for scripts. Each test script is given the extension *.t .
--
Don't stop where the ink does.
Shawn
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/