[tpm] Test module output
Matthew Phillips
mattp at cpan.org
Fri Feb 15 10:07:47 PST 2013
Looking at prove opts, there is also
-m, --merge Merge test scripts' STDERR with their STDOUT.
Cheers,
Matt
On Fri, Feb 15, 2013 at 12:33 PM, Stuart Watt <stuart at morungos.com> wrote:
> This is an interesting problem. I've seen and used progressive tests in
> Test::Perl::Critic. It would be a big win if this existed as a more general
> purpose module.
>
> Another option that may be useful. You can also do:
>
> prove -v --archive myarchive.tgz …
>
> which builds a tgz of the individual TAP outputs. Just don't uncompress
> them in the same place (like I just did) because they will overwrite your
> .t files :-)
>
> --S
>
> On 2013-02-15, at 12:21 PM, arocker at Vex.Net wrote:
>
> >> You need to redirect stderr.
> >>
> >> prove -rl t &> foo
> >>
> >
> > Perfect. Brain-fade is obviously in operation. Thanks.
> >
> > _______________________________________________
> > toronto-pm mailing list
> > toronto-pm at pm.org
> > http://mail.pm.org/mailman/listinfo/toronto-pm
>
> _______________________________________________
> toronto-pm mailing list
> toronto-pm at pm.org
> http://mail.pm.org/mailman/listinfo/toronto-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20130215/f618a77f/attachment.html>
More information about the toronto-pm
mailing list