作者:Ian Langworth, chromatic
出版日期:July 14, 2005
出版社:O'Reilly
页数:180
ISBN:0596100922
文件格式:CHM
Is there any sexier topic in software development than softwaretesting? That is, besides game programming, 3D graphics, audio,high-performance clustering, cool websites, et cetera? Okay, sosoftware testing is low on the list. And that’s unfortunate, becausegood software testing can increase your productivity, improve yourdesigns, raise your quality, ease your maintenance burdens, and help tosatisfy your customers, coworkers, and managers.
Perl has a strong history of automated tests. A very early releaseof Perl 1.0 included a comprehensive test suite, and it’s only improvedfrom there. Learning how Perl’s test tools work and how to put themtogether to solve all sorts of previously intractable problems can makeyou a better programmer in general. Besides, it’s easy to use the Perltools described to handle all sorts of testing problems that you mayencounter, even in other languages.
Like all titles in O’Reilly’s Developer’s Notebook series, this “alllab, no lecture” book skips the boring prose and focuses instead on aseries of exercises that speak to you instead of at you.
“Perl Testing: A Developer’s Notebook” will help you dive right in and:
Write basic Perl tests with ease and interpret the results
Apply special techniques and modules to improve your tests
Bundle test suites along with projects
Test databases and their data
Test websites and web projects
Use the “Test Anything Protocol” which tests projects written in languages other than Perl
With today’s increased workloads and short development cycles, unittests are more vital to building robust, high-quality software thanever before. Once mastered, these lessons will helpyou ensure low-levelcode correctness, reduce software development cycle time, and easemaintenance burdens.
You don’t have to be a die-hard free and open source softwaredeveloper who lives, breathes, and dreams Perl to use this book. Youjust have to want to do your job a little bit better.