Perl Testing: A Developer's Notebook (Developers Notebook)
|
|
click here
for more details, find new or used items |
Ian Langworth, Shane Warden
| Our price £13.62 (£20.95) | | New from £9.11 | | Used from £14.06 | |
Pages:
200 (Paperback)
ISBN: 0596100922 Pub: O'Reilly Media, Inc. Pub date: 2005-07-14
Amazon.co.uk Sales Rank: 236300 |
|
 |
 |
Reader Reviews:
 A brisk canter around Perl testing modules (3/3 people found this helpful)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. It also moves pretty fast, as is the practical bent of the Developer's Notebook series. This will be welcome for any programmer familiar with testing tools in other languages, although testing newbies should be able to understand the mechanics without trouble.
Apart from the unit testing basics, it also goes over mocks, coverage, databases, webpages, testing documentation and module layout, and (most importantly for Perl) testing scripts. The Test::Class module, a xUnit-style module is also covered, although the more procedural Test::More seems to be the standard tool in Perl and is given the most attention. Code for a simple continuous integration tool is presented, which is pretty neat, given how short it is.
The emphasis in this book is very much on the how, rather than the why. Unlike many other books, you are given complete code along with how to execute the scripts and the expected output, which is very helpful. What isn't covered is any of the development methodologies that have driven the interest in testing methods. There's no discussion of Test Driven Development here, or how developer-driven unit testing meshes with the software building process, and there's only cursory or no discussion of what to test, where to start, test organisation (which IMO quickly becomes the limiting step in going test-infected), dealing with legacy code, dummies vs stubs vs mocks, white box vs black box testing etc. For the latter, you will have to consult the likes of xUnit Test Patterns, Unit Testing in Java and Test Driven Development: A Practical Guide. None of these books contain Perl code, however.
This is not a very long book, and there's not always the detail you might want for the more advanced topics. The emphasis on applications rather than principles also means that the book is a little vulnerable to API changes and newer CPAN modules. That said, part of the deal with the Developer's Notebook series is the lack of ceremony, so as long as you know what you're getting it's hard to complain, particularly as it's possible to pick up a copy at a reasonable price. Also, the writing itself is clear, direct and no-nonsense. It's a useful resource, and certainly in a more convenient format than scrolling through countless perldoc pages. Similar Products
Perl Best Practices Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving (Hacks) Mastering Perl (Mastering) Perl Template Toolkit Higher Order Perl
Categories
Amazon.co.uk places this book into the following categories:
Books -> Subjects -> Computing & Internet -> General
Books -> Subjects -> Computing & Internet -> Programming -> Languages -> Perl
Books -> Subjects -> Computing & Internet -> Programming -> Software Design, Testing & Engineering -> Software Testing
Books -> Subjects -> Computing & Internet -> Digital Lifestyle -> Online Shopping -> Amazon
Books -> Subjects -> Computing & Internet -> Digital Lifestyle -> Online Shopping -> General AAS
Books -> Subjects -> Computing & Internet -> General AAS
Books -> Subjects -> Computing & Internet -> Software & Graphics -> General AAS
Books -> Subjects -> Computing & Internet -> Web Development -> General AAS
Books -> Subjects -> Computing & Internet -> Web Development -> Web Scripting & Programming -> General AAS
Books -> Refinements -> Language (feature_browse-bin) -> English
Books -> Refinements -> Age (feature_two_browse-bin)
Books -> Refinements -> Format (binding_browse-bin) -> Paperback
Books -> Refinements -> Condition (condition-type)
|