On Tue, May 01, 2012 at 09:53:23PM -0400, Caleb Cushing via RT wrote:
Show quoted text> it'd be nice to have this convenience function
>
> attr_is( $obj, 'attr', 'value' );
>
> this would autofill the testname by creating the following message
>
> 'Class::Name->attr is value'
>
> I think that's better than doing
>
> is( $obj->attr, 'value', 'Class::Name->attr is value' );
This has nothing to do with attributes (you're just calling methods
here), and so I don't really see how this makes sense in Test::Moose.
Nothing going on here is Moose-specific.
-doy