Skip Menu |
 

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 76933
Status: rejected
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Test::Moose::attr_is
Date: Tue, 1 May 2012 20:53:14 -0500
To: bugs-moose [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
Download (untitled) / with headers
text/plain 318b
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' ); -- Caleb Cushing http://xenoterracide.com
Subject: Re: [rt.cpan.org #76933] Test::Moose::attr_is
Date: Tue, 1 May 2012 20:56:43 -0500
To: Caleb Cushing via RT <bug-Moose [...] rt.cpan.org>
From: Jesse Luehrs <doy [...] cpan.org>
Download (untitled) / with headers
text/plain 550b
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
Subject: Re: [rt.cpan.org #76933] Test::Moose::attr_is
Date: Tue, 1 May 2012 21:07:46 -0500
To: bug-Moose [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
Download (untitled) / with headers
text/plain 416b
On Tue, May 1, 2012 at 8:56 PM, Jesse Luehrs via RT <bug-Moose@rt.cpan.org> wrote: Show quoted text
> 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.
just making suggestions about things that have been annoying me. If it doesn't fit feel free to close -- Caleb Cushing http://xenoterracide.com


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.