in reply to Checking multiple named assertions (outside Test::More and co)

Although it doesn't allow named assertions, I suggest taking a look at Devel::Assert for this. It's rather nice.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
  • Comment on Re: Checking multiple named assertions (outside Test::More and co)

Replies are listed 'Best First'.
Re^2: Checking multiple named assertions (outside Test::More and co)
by Dallaylaen (Chaplain) on Aug 19, 2013 at 08:47 UTC

    I would love to put asserts of some kind into our production code, so thanks for the link.

    However, this particular question is more about offline testing/analysis of how isolated code behaves when given production data.