[Pdx-pm] Rearranging tests
Andy Lester
andy at petdance.com
Sun Nov 13 15:29:04 PST 2005
> having said that, i really like the \d+\w+ naming scheme. e.g.:
>
> 0xx_xxx : test the test system and base classes
> 1xx_xxx : test the primary objects
> ...
> 8xx_xxx : reports and static data
> 9xx_xxx : automated interface tests
Or use subdirectories. See WWW::Mechanize's test layout.
http://svn.perl.org/modules/www-mechanize/trunk/t/
http://svn.perl.org/modules/www-mechanize/trunk/t/live/
http://svn.perl.org/modules/www-mechanize/trunk/t/local/
That makes it very easy to include and exclude sets of tests.
prove -r recurses through subdirectories.
xoxo,
Andy
--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
More information about the Pdx-pm-list
mailing list