There's more than one way to do things | |
PerlMonks |
Re: RFC: How did I do writing my first test?by jcb (Parson) |
on Sep 24, 2020 at 01:30 UTC ( [id://11122144]=note: print w/replies, xml ) | Need Help?? |
It looks mostly reasonable to me, although the die on line 11 should probably be BAIL_OUT instead — testing should probably abort immediately if the module to be tested cannot be loaded.
In Section
Seekers of Perl Wisdom
|
|