O'Reilly Open Source Convention
oreilly.comO'Reilly Network
Conferences International Safari: Books Online


Arrow Home
Arrow Registration
Arrow Speakers
Arrow Keynotes
Arrow Tutorials
Arrow Sessions
Arrow At-a-Glance
Arrow BOFs
Arrow Events
Arrow Exhibitors
Arrow Sponsors
Arrow Hotel/Travel
Arrow Venue Map
Arrow See & Do
Arrow Press
Arrow Mail List
Kids World


From the Frontiers of Research to the Heart of the Enterprise
O'Reilly Open Source Convention
Sheraton San Diego Hotel and Marina
July 22-26, 2002 -- San Diego, CA


Apache

Session

Writing a Test Library with Test::Builder and Test::Harness::Straps
Michael G. Schwern

Track: Perl
Date: Friday, July 26
Time: 10:45am - 11:30am
Location: Grande Ballroom A

Writing a test library is harder than it looks. Test::Builder provides not only a starting point upon which you can start writing your own tests, but also allows any and all libraries built on top of it to be used together. For example, Test::Diffrences can be used in the same program as Test::More. This interoperability allows authors to write special-case test libraries without having to reimplement all the features offered in the generic ones. At the other end, Test::Harness::Straps (new with Test::Harness 2.00) allows you to get at the results of your test other than just by reading it off the screen. So you can dump your test results into a database, email people when something goes wrong, convert it into XML, put it up on a web page or make a cute little GUI.



oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy


© 2001, O'Reilly Media, Inc.
conf-webmaster@oreilly.com