Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
Perl Testing: A Developer's Notebook Paperback – July 21, 2005
|New from||Used from|
Windows 10 For Dummies Video Training
Get up to speed with Windows 10 with this video training course from For Dummies. Learn more.
Frequently Bought Together
Customers Who Bought This Item Also Bought
About the Author
Ian Langworth (http://langworth.com/) has been writing Perlfor years and actively involved in the community since 2003.He has contributed a handful of modules to the CPAN, most ofwhich are Kwiki-related. He has spoken at Perl-relatedconferences as LISA and YAPC. Ian is also the authorsurprisingly widespread utility, Cadubi, which is packagedfor many free operating systems.Ian is currently studying Computer Science and CognitivePsychology at Northeastern University. Whilst pursuinga degree, he's participating in an volunteer systemsadministration group and working toward making higher codequality and robustness an easier goal to achieve.He currently resides in Boston, Massachusetts where heparticipates in the local Boston Perl Mongers group and livesprecariously close to Fenway Park.
chromatic is the technical editor of the O'Reilly Network, coveringopen source, Linux, development, and dynamic languages. He is also the author of the Extreme Programming Pocket Guide and Running Weblogs with Slash, as well as the editor of BSD Hacks and Gaming Hacks. He is the original author of Test::Builder, the foundation for most modern testing modules in Perl 5, and has contributed many of the tests for core Perl. He has given tutorials and presentations at several Perl conferences, including OSCON, and often writes for Perl.com, which he also edits. He lives just west of Portland, Oregon, with two cats, a creek in his backyard, and, as you may have guessed, several unfinished projects.
Top Customer Reviews
Testing is Really Important. It serves as a secondary form of documentation, it makes it easier to add new features, it makes it easier to fix broken features, and it makes your replacement's job a lot easier when you win the lottery and retire early. It's a sad fact that plenty of people don't test their code, and that many of those who want to just don't know how. PTDN is a crash course for those people. It gets right to the point: page one says, roughly, "You know you should be testing, so here's how you do it. First, run the CPAN shell and install Test::Simple."
The rest of the book sticks to that no-crap attitude. "You want to do X. Here's what you do, and here's what happens when you do it." There isn't much of "why should I do this" or "how does this work on the inside" and that's just right. The book isn't there to show you how Devel::Cover works, or to explain the ideas behind agile development. It's there to help you do the job you know you need to do. It's like an old-style HOWTO extracted back one level of abstraction, or a set of nice fat articles on a series of related topics.Read more ›
it's concise, it's fun and it will change your
testing attitude. You'll be inspired immediately,
roll up your sleeves and get started.
Sure, Ian Langworth and chromatic could have
written a 700-page reference tome on all the
different testing modules available and how to use
every single feature. Instead, they just show you
what expert perl programmers do when they're
testing their work.
They're getting you 90% there. If you need more,
it's easy to pick up the details from the manual
pages of the various testing modules, most of
which come with excellent documentation. The
value of this book is that it shows you what's
available and covers an astonishing amount of
different use cases.
O'Reilly's "Developer's Notebook" style is
somewhat unusual, very FAQ-like. The only gripe I
have with this series are recurring headlines like
"How do I do that?" and "What just happened?",
which I'd rather like to be replaced by
Summary: I strongly recommend this book if you
want to improve the quality of your code by
verifying it thoroughly. Using the recipes in
"Perl Testing" takes the unsexyness out of
Contents include the following:
Test::More, Dest::Deep, test_ok, cmp_deeply, is, Devel::Cover, Test::Harness, Mock modules, program testing, testing databases and Apache, and much more.
Fairly easy to follow. If you program seriously in Perl, but need to learn more about testing, this is the book to have.
If you are already testing your Perl programs, this book may give you some ideas or get you thinking about different ways to test. If you have never tested your Perl programs before, this book is a fantastic resource.
While you are looking you should also check out "Perl Best Practices", which is phenomenal.
I especially like the no-nonsense approach to the topic: this is a "lab", not a "lecture". Hats off to the O'Reilly folks for changing the paradigm and creating a winner!
Most Recent Customer Reviews
This is not a book on the language itself, but on the interesting ways we can use to write unit-level tests in Perl. Perl testing is essential for any good Perl programmer. Read morePublished on April 7, 2012 by Amazon Customer
This is a great book because it teaches the novice how to do simple tests and shows experienced testers some of the more complicated things you can do with tests. Read morePublished on October 18, 2009 by David Mertens
So you want to learn about testing your Perl programs? This book will teach the mechanics of how to use the test frameworks. Read morePublished on March 31, 2009 by Volker Kleinschmidt
As always this O'Reilly book is written in simple to understand language and also delves deep into the technical aspects of the subject. Read morePublished on January 14, 2009 by RBush
This book is a decent, gap-filling, focused and useful volume on testing perl with the use of the perl Test modules. Read morePublished on September 16, 2008 by W. Collier
I'm written a lot of perl code, and read a lot of evangelism about testing, but had never done much in the way of actual testing. Read morePublished on July 28, 2008 by Amazon Customer
I've been working with perl for many years, but it seems that every time I pick up a new perl book, there's always something to learn. Read morePublished on September 6, 2007 by Jerome C. Wilcox
Throughout history, many writers have written glowingly about the noble tester; the one who ensures that quality is part of every line of code. Read morePublished on August 19, 2007 by Craig Maloney
This is a decent overview of Perl testing libraries, that goes further than the material in Intermediate Perl and the second edition of Advanced Perl Programming. Read morePublished on July 23, 2007 by Thing with a hook