| Sign In/My Account | View Cart |
|
|
We've expanded our Perl news coverage and improved our search! Search for all things Perl across O'Reilly! OSCON 3.6: Practical Perl Testing
![]() Geoff Broadwell URL: http://conferences.oreillynet.com/cs/os2005/view/e_sess/7002... (Auggghhh! The original version of this entry was lost due to system crash. I'm recreating it here, but it may have lost something. Or it may not have had it to start out with, we'll never know.) Practical Perl testing was an odd session, with four instructors taking two session timeslots to deal somewhat randomly with various topics relating to Perl testing. Meanwhile MJD (in barefoot mode) lay on the floor chatting with Schwern and interrupted at random. During the course of the rambling talk, they recommended several helpful modules:
Along the way, they recommended a couple good books: Sean M. Burke's Perl & LWP and a Java testing book whose title I have clearly written down incorrectly, as searching for it is bringing up no obvious matches. Sigh. The Java book recommended a testing mnemonic called "Right BICEP", which roughly stands for:
Right: Correct output with normal inputs Finally, MJD asked about doing test-first development when you're unclear on the form that your app will eventually take. The most common suggestion was to write an exploratory mockup, write a full set of tests for it, comment out the entire mockup, and start uncommenting and fixing the mockup until the tests are happy again. (Now that I have written this entry twice and fought with a broken machine in between, I'm literally falling asleep at the keyboard during page refreshes. I'll save today's sessions for tomorrow -- sorry, folks.)Geoff Broadwell lives not far from O'Reilly headquarters in Santa Rosa, California, with a wonderful wife and daughter and four extremely spoiled cats. Geoff happily calls Perl the only computer language he ever really loved, having sampled a fair number before and since. He is on a personal mission to prove that dynamic languages are by far the best programming option for almost every purpose, and believes that the ultimate Linux distro of the future will contain little more than a kernel, an OpenGL and X server, the Parrot VM, and many, many Perl scripts.
What favorite Perl module or book would you recommend for test writers?
You must be logged in to the O'Reilly Network to post a comment. Showing messages 1 through 7 of 7.
Return to weblogs.oreilly.com. Weblog authors are solely responsible for the content and accuracy of their weblogs, including opinions they express, and O'Reilly Media, Inc., disclaims any and all liabililty for that content, its accuracy, and opinions it may contain.
|
|
Sponsored By: | |||||||||||||
Trust me, it felt odd being one of the presenters, too. In my opinion (and I think it's shared by my cohorts), the presentation format was an experiment that went awry. :-)
Fortunately, quite a few people told me afterwards that they got a lot out of the talk, and had added new tools to their toolboxes as a result of it. The session may have been choppy and a little surreal, but I'm thankful that a lot of folks found it useful nonetheless.
Meanwhile MJD (in barefoot mode) lay on the floor chatting with Schwern and interrupted at random.
Well, sort of. You may have seen me duck down early in the session to talk with both of them. I wasn't asking them to be quiet; rather, I was actually asking them to speak up if they had a question or comment, instead of just talking to each other. They're both really smart, with interesting (albeit very different) perspectives, so I asked them to jump in when appropriate. I was glad they did.
Test::LongString - Show shorter and hopefully more helpful failure messages when very long strings don't compare equal; several people pointed out that this module fell short of what it should have done.
Rafael was actually in the audience, and updated this module to address some of those shortcomings while the session was still underway. Sometimes the system works. :-)
Thanks for the synopsis, and the comments (even the ones that sting a little).
Bill Odom