has raw_data => (is => 'ro');
creates a read only attribute called raw_data is already tested in the test suite of Moose itself. Test only the public methods of your classes.
(Well, you should also test complex type constraints etc., but you get the idea.)
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
In reply to Re: Automation of testing of Moose class structure
by choroba
in thread Automation of testing of Moose class structure
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |