After an earlier discussion of improving the explain function in Test::Most, I've released a new version which basically eliminates the need for using Data::Dumper in most testing. Thus, instead of this:
my $self = Some::Object->new($id); use Data::Dumper; explain 'I was just created', Dumper($self);
You can now just do this:
my $self = Some::Object->new($id); explain 'I was just created: ', $self;
That output will look similar to:
I was just created: bless( { 'id' => 2, 'stack' => [] }, 'Some::Object' )
(Thanks to swillert for improving on my first implementation of this).
Test::Most has now become so powerful that I'm thinking about just making it a dependency of any new software I ship. I can't imagine life without it.
I'm also thinking about the 'failure handler' in Test::Most. Right now it's only internal and allows me to control dieing or bailing out on test failure, but I'd like to expose that. However, I've no idea if anyone would use it. Would it be useful?
Oh, and I also now have co-maintainership of Test::Differences. This is mainly to fix an outstanding bug which has a tiny monkey-patch fix in Test::Most. Barrie Slaymaker has put out an excellent module which doesn't need much help, but if you have suggestions (such as how to implement the screen-width feature), I'm open to them).