Trying to create one of those quick reference cards for Perl Testing. Download the work in progress (PDF). Suggestions welcome.
How about Test::NoWarnings? (not that there are any new test functions are are imported, but its still a something that might be of use to someone)
Re: Perl Test Reference Card
statico on 2004-04-28T17:44:50
Cool, I'll add in Test::Warn and Test::NoWarnings. Thanks:) Re: Perl Test Reference Card
rjbs on 2004-04-28T19:14:49
It looks spiffy. I think the font is a little big and bulky, or something. Or, to be less precise but more honest, it doesn't look enough like The Best Quick Ref Ever.
I'd suggest adding Test::Exception, which is really quite lovely. (Reminder to self: cpanrate that.) Oh, and Test::Pod. If there's still lots of room, Test::Differences, Test::DatabaseRow, Test::LongString. I'm not sure which of those are really used, these days. If you go to two pages, you can be pretty liberal in what you include.
Doing some more aligning of content might be nice, so the parens opening the param list lined up, then the params lined up as much as possible. I/think/ this would make things clearer. Give it a try, maybe?
Make it clearer, maybe, that eq_foo aren't tests. I bet there are some other functions in other modules that aren't tests. A big mistake when I was first testing was to use eq_array as a test.
The pixellated camel, though, is totally awesome.Re: Perl Test Reference Card
statico on 2004-04-29T02:48:16
rjbs++
I was trying to emulate the standard TeX-based reference cards I've seen in the past, but I was also trying to be a little artsy (with OpenOffice? riiight). However, you plopped the source of a TeX-based quick ref right in my lap.
Thanks for the suggesions, I'll get crackin':)
(Hrm, use TeX, or be artsy..)
Re: Perl Test Reference Card
statico on 2004-04-30T04:29:43
Okay, newer version uploaded. Tell me if you like this style more -- tidied code, equal-spaced columns. Download (PDF)
Re: Perl Test Reference Card
rjbs on 2004-04-30T10:15:22
Wow, nice. I think there's definitely tweaking to do, yet, but now I'm not sure what I'd suggest the tweaking is. It looks really good!