O'Reilly Open Source Convention
oreilly.comO'Reilly Network
ConferencesSoftwareInternational


Arrow Home
Arrow Registration
Arrow Hotel/Travel
Arrow See & Do
Arrow Tutorials
Arrow Sessions
Arrow Evening Events
Arrow BOFs
Arrow Speakers
Arrow Press
Arrow Mail List
Arrow Exhibitors
Arrow Sponsors
Innovate--Collaborate--Discover
O'Reilly Open Source Convention
Sheraton San Diego Hotel, San Diego, CA
July 23-27, 2001

News Coverage

Session

Embedded Testing with Pod::Tests

Michael G. Schwern

Track: Perl Conference 5
Date: Friday, July 27
Time:†4:30pm - 5:15pm
Location: Grande Ballroom A

Its long been known that the closer your documentation is to the code it documents, the more likely it will be kept up to date and the more accurate it will be. Perl has POD for this purpose, allowing us to intermingle docs and code as we please. But what about tests? Shouldn't a test be close to the code itís testing?

Pod::Tests and the accompanying pod2test squeeze one more feature out of POD by allowing tests to be embedded right next to the code its testing and the documentation its validating! As an added bonus, itís also possible to test example code in your documentation. And with no performance penalties!

We'll show how this was pulled off, how it is used in concert with traditional tests, how it is made to work *without* Pod::Tests installed, and how it makes the unglamorous job of writing tests a bit more palatable than licking all the bathrooms in Grand Central Station.


oreilly.com Home | Conferences Home | Open Source Convention Home
Registration | Hotels/Travel | Tutorials | Sessions | Speakers
Press | Mail List | Exhibitors | Sponsors


© 2001, O'Reilly Media, Inc.
conftech@oreilly.com