LittleMonk24 has asked for the wisdom of the Perl Monks concerning the following question:

How do I test perl code

Like Junit for Java, are there any frameworks for perl to test the code ?

Replies are listed 'Best First'.
Re: How to test Perl Code
by 2teez (Vicar) on Oct 19, 2013 at 07:34 UTC

    Like Junit for Java..
    Check Test::Class or Test::Unit
    There are others like: Test::More, Test::Simple and so many..

    If you tell me, I'll forget.
    If you show me, I'll remember.
    if you involve me, I'll understand.
    --- Author unknown to me
Re: How to test Perl Code
by kcott (Archbishop) on Oct 19, 2013 at 08:15 UTC

    G'day LittleMonk24,

    Welcome to the monastery.

    "How do I test perl code"

    If you're completely new to this, a good place to start might be Test::Tutorial.

    -- Ken

Re: How to test Perl Code
by mtmcc (Hermit) on Oct 19, 2013 at 07:37 UTC
    If you mean unit testing OO style, Test::Unit might be what you're looking for. It's a perl version of JUnit.

    Hope that helps

      Thank you very much

Re: How to test Perl Code
by davido (Cardinal) on Oct 19, 2013 at 17:03 UTC