Re: [Boston.pm] test::something that captures/hide expected stderr

Bill Ricker via Boston-pm <[email protected]> Mon, 7 Mar 2022 21:49:00 -0500
Newsgroups gmane.comp.lang.perl.perl-mongers.boston
Message-ID <CAAbKA3V-H+9cbNeXA5rOXyB5LQxVghzUm=iQVqYcEQ_aCooS-Q@mail.gmail.com>
> I'm using Test::More, but I'm not attached.

That legacy API has been reimplemented on Test2 internals, so a lot of
folks are moving to Test2::* API.
But there's nothing /wrong/ with Test::More.

On 07/03/2022 19:03, email-2Ro/Dj86MvDSUeElwK9/[email protected] wrote:

> > Another issue I'm running into is that I'm doing a lot of negative
> testing.
> > I'm testing a module I wrote and making sure it errors out when given
> > bad data.
>

Good!

On Mon, Mar 7, 2022 at 2:16 PM David Cantrell <[email protected]> wrote:

> The best tool for this is Capture::Tiny.
>

I won't disagree with David.

IDK if my team's testing gury will be on the Boston.PM virtual meeting
Tuesday but you can bring questions about testing.

-- 
Bill Ricker
[email protected]
https://www.linkedin.com/in/n1vux