in reply to Re: RFC: Basic Testing Tutorial
in thread RFC: Basic Testing Tutorial

Thanks, stevieb. I've added in an example of skip now as that is definitely worth bringing to the beginner's attention.

Regarding the error trapping, if anything I'd be more inclined to steer the new tester towards Test::Exception or Test::Fatal rather than rolling their own. What's your reasoning for using the bare eval instead?

Replies are listed 'Best First'.
Re^3: RFC: Basic Testing Tutorial
by stevieb (Canon) on Jul 11, 2019 at 14:36 UTC
    "What's your reasoning for using the bare eval instead?"

    Habit, less prerequisites in my distributions, and less abstraction. I'm not saying that a distribution isn't a good idea, I just avoid going that route where I can.