Testing Scripts

Randal L. Schwartz (FLOSS Weekly podcast)

Testing modules is easy. Testing scripts is hard. I show a few techniques I’ve recently aquired on pulling a script into a .t file, and using Test::Trap to handle die, exceptions, directory changes, and even capturing stdout and stderr.

Photo of Randal L. Schwartz

Randal L. Schwartz

FLOSS Weekly podcast

Randal L. Schwartz is a renowned expert on the Perl and Smalltalk programming
languages, having contributed to a dozen top-selling books on the subject, and
over 250 magazine articles. Schwartz runs a Perl and Smalltalk training and
consulting company (Stonehenge Consulting Services, Inc of Portland, Oregon),
and is a highly sought-after speaker for his masterful stage combination of
technical skill, comedic timing, and crowd rapport. And he’s a pretty good Karaoke
singer, winning contests regularly.

Books authored/coauthored:

  • Programming Perl (multiple editions)
  • Learning Perl (multiple editions)
  • Learning Perl on Win32 Systems
  • Learning Perl Objects References and Modules (multiple editions)
  • Effective Perl Programming: Writing Better Programs with Perl
  • Object Oriented Perl
  • Randal Schwartz’s Perls of Wisdom

Magazine articles and columns:

  • UnixReview Magazine
  • PerformanceComputing Magazine
  • SysAdmin Magazine and Website
  • WebTechniques Magazine and Website
  • Linux Magazine and Website
  • The Perl Journal E-Magazine
  • Apple Developer Works Website

Regular contributor to online forums:

Podcast producer:

Sponsors

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or scordesse@oreilly.com.

View a complete list of OSCON contacts