Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Other Sellers on Amazon
+ $3.99 shipping
+ Free Shipping
+ Free Shipping
Perl Testing: A Developer's Notebook Paperback – July 21, 2005
|New from||Used from|
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
This book does a fantastic job of explaining that. The style adopted here is such that you can possibly start at any page in the book and get a list of steps to get your job done. Remember this is a developer's notebook, not a typical textbook. So it is going to be like a bunch of notes on different topics, all related to each other. In that sense the sequence of topics progresses only in terms of logical complexity and not such that you need to learn something from earlier chapters to understand later chapters. This however implies that advanced and thorough knowledge of Perl is assumed. This is not a book on Perl itself - more like a book on testing, but using Perl.
About the book:
This is narrowly and tightly focused on testing, and use of the "Test::" series of objects and techniques in Perl. It covers basic setups and use, and then expands into using mock objects and the mock modules, which are not covered well, if at all, in other published texts, at least not from the standpoint of being a software tester (as opposed to a coder).
It also shows how to drive and mock-up database testing, and the various ways to go about testing web sites and back-ends with Perl. Finally, it covers Test::Class, which sets up Unit Testing, for those coming from a jUnit or nUnit angle. And it touches on testing from other aspects, such as testing libraries or interactive code.
I have found that most of the O'Reilly "Notebooks" are priced too highly for their small amount of content, and the content is usually very minimal. This book is the one exception I've found in that series.
That being said, I still believe that it should be priced around $20, or perhaps $25. But $5-10 is a minor quibble considering this is the only book of its type (Perl testing).
Another valid criticism is that much of the information in this book can be found spread all over the internet in various places, and some parts can be found in other Perl books. That is true - but ultimately irrelevant. Disparate clusters of information without completeness or context is simply not very valuable when compared to a solid text focused on the subject matter.
It is a good compilation and reference for its subject, with a lot of information and context provided, which makes it superior to a collection of links and snippets here and there on the internet.
If you are a Perl coder or a tester, this is a handy book to have on your shelf.
Why 4/5 stars? I have found a few bits and pieces of information that would have been useful but the book did not cover (or, more precisely, I do not remember the book covering). Perhaps the most important omission is specification-based testing using LectroTest. It could be that the module came out after the book was published in which case the book gets 4/5 stars for its age. I could be wrong, but I get the impression that Perl testing has grown a lot since 2005, so perhaps they should write a second edition.
I can say this much: If O'Reilly were to put out a second edition of this book, I would buy it.
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.
Most recent customer reviews
What it's not:
* an intro to TDD methodologies; for that you...Read more