Perl Testing: A Developer's Notebook : A Developer's Notebook
معرفی کتاب «Perl Testing: A Developer's Notebook : A Developer's Notebook» نوشتهٔ Langworth, Ian; Chromatic، منتشرشده توسط نشر O'Reilly Media در سال 2005. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «Perl Testing: A Developer's Notebook : A Developer's Notebook» در دستهٔ بدون دستهبندی قرار دارد.
Is there any sexier topic in software development than software testing? That is, besides game programming, 3D graphics, audio, high-performance clustering, cool websites, et cetera? Okay, so software testing is low on the list. And that's unfortunate, because good software testing can increase your productivity, improve your designs, raise your quality, ease your maintenance burdens, and help to satisfy your customers, coworkers, and managers.Perl has a strong history of automated tests. A very early release of Perl 1.0 included a comprehensive test suite, and it's only improved from there. Learning how Perl's test tools work and how to put them together to solve all sorts of previously intractable problems can make you a better programmer in general. Besides, it's easy to use the Perl tools described to handle all sorts of testing problems that you may encounter, even in other languages.Like all the titles in O'Reilly's Developer's Notebook series, this "all lab, no lecture" book skips the boring prose and focuses instead on a series 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 PerlWith today's increased workloads and short development cycles, unit tests are more vital to building robust, high-quality software than ever before. Once mastered, these lessons will help you ensure low-level code correctness, reduce software development cycle time, and ease maintenance burdens.You don't have to be a die-hard free and open source software developer who lives, breathes, and dreams Perl to use this book. You just have to want to do your job a little bit better. Contents......Page 7 The Developer’s Notebook Series......Page 11 Notebooks Are.........Page 12 Organization......Page 13 Preface......Page 15 What This Book Covers......Page 16 Conventions Used in This Book......Page 17 Comments and Questions......Page 18 Acknowledgments......Page 19 chromatic......Page 20 Through the CPAN shell......Page 21 Through PPM......Page 22 By hand......Page 23 What about.........Page 24 What just happened?......Page 25 What about.........Page 26 How do I do that?......Page 27 What just happened?......Page 28 What about.........Page 29 What just happened?......Page 30 What about.........Page 31 How do I do that?......Page 32 What just happened?......Page 33 What about.........Page 34 How do I do that?......Page 35 What just happened?......Page 37 What about.........Page 38 How do I do that?......Page 39 What just happened?......Page 41 How do I do that?......Page 42 How do I do that?......Page 43 Simple Data Structure Equality......Page 45 How do I do that?......Page 46 What about.........Page 47 How do I do that?......Page 50 What just happened?......Page 51 What about.........Page 52 How do I do that?......Page 54 What about.........Page 55 How do I do that?......Page 57 What about.........Page 58 How do I do that?......Page 59 What just happened?......Page 60 What about.........Page 62 How do I do that?......Page 63 What just happened?......Page 64 What about.........Page 66 How do I do that?......Page 68 What just happened?......Page 69 What about.........Page 70 How do I do that?......Page 71 What about.........Page 72 How do I do that?......Page 73 What just happened?......Page 74 How do I do that?......Page 75 Automating Test Runs......Page 76 How do I do that?......Page 77 What about.........Page 79 How do I do that?......Page 81 What about.........Page 82 How do I do that?......Page 83 What just happened?......Page 84 What about.........Page 85 How do I do that?......Page 86 What just happened?......Page 87 What just happened?......Page 88 Letting the User Decide......Page 89 How do I do that?......Page 90 What just happened?......Page 91 How do I do that?......Page 92 Bundling Tests with Modules......Page 93 What just happened?......Page 94 What about?......Page 95 How do I do that?......Page 96 What just happened?......Page 98 Validating Kwalitee......Page 99 What just happened?......Page 100 What about.........Page 101 Overriding Built-ins......Page 103 How do I do that?......Page 104 What just happened?......Page 106 What about.........Page 107 How do I do that?......Page 108 What just happened?......Page 111 How do I do that?......Page 112 What just happened?......Page 115 Partially Mocking Objects......Page 117 How do I do that?......Page 118 What just happened?......Page 121 How do I do that?......Page 122 What just happened?......Page 124 What about.........Page 125 How do I do that?......Page 126 What just happened?......Page 127 What about.........Page 128 Shipping Test Databases......Page 129 How do I do that?......Page 130 What about.........Page 132 How do I do that?......Page 133 What just happened?......Page 135 What about.........Page 136 How do I do that?......Page 137 What just happened?......Page 140 How do I do that?......Page 141 What just happened?......Page 144 What about.........Page 145 Testing Your Backend......Page 147 How do I do that?......Page 148 Testing Your Frontend......Page 152 How do I do that?......Page 153 What just happened?......Page 154 How do I do that?......Page 155 What just happened?......Page 157 Testing the Validity of HTML......Page 158 What about.........Page 159 How do I do that?......Page 161 How do I do that?......Page 163 What just happened?......Page 165 Where to learn more......Page 168 How do I do that?......Page 169 What about.........Page 170 Writing Test Cases......Page 171 How do I do that?......Page 172 What about.........Page 174 Creating Test Fixtures......Page 175 How do I do that?......Page 176 What just happened?......Page 177 How do I do that?......Page 178 How do I do that?......Page 180 What about.........Page 181 What about.........Page 182 How do I do that?......Page 183 What just happened?......Page 185 What about.........Page 186 How do I do that?......Page 187 What just happened?......Page 188 How do I do that?......Page 189 What just happened?......Page 191 How do I do that?......Page 192 What about.........Page 193 Index......Page 195 Is there any sexier topic in software development than software testing? That is, besides game programming, 3D graphics, audio, high-performance clustering, cool websites, et cetera? Okay, so software testing is low on the list. And that's unfortunate, because good software testing can increase your productivity, improve your designs, raise your quality, ease your maintenance burdens, and help to satisfy your customers, coworkers, and managers. Perl has a strong history of automated tests. A very early release of Perl 1.0 included a comprehensive test suite, and it's only improved from there. Learning how Perl's test tools work and how to put them together to solve all sorts of previously intractable problems can make you a better programmer in general. Besides, it's easy to use the Perl tools described to handle all sorts of testing problems that you may encounter, even in other languages. Like all titles in O'Reilly's Developer's Notebook series, this "all lab, no lecture" book skips the boring prose and focuses instead on a series 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, unit tests are more vital to building robust, high-quality software than ever before. Once mastered, these lessons will help you ensure low-level code correctness, reduce software development cycle time, and ease maintenance burdens. You don't have to be a die-hard free and open source software developer who lives, breathes, and dreams Perl to use this book. You just have to want to do your job a little bit better. Is there any sexier topic in software development than software testing? That is, besides game programming, 3D graphics, audio, high-performance clustering, cool websites, et cetera? Okay, so software testing is low on the list. And that's unfortunate, because good software testing can increase your productivity, improve your designs, raise your quality, ease your maintenance burdens, and help to satisfy your customers, coworkers, and managers.Perl has a strong history of automated tests. A very early release of Perl 1.0 included a comprehensive test suite, and it's only improved from there. Learning how Perl's test tools work and how to put them together to solve all sorts of previously intractable problems can make you a better programmer in general. Besides, it's easy to use the Perl tools described to handle all sorts of testing problems that you may encounter, even in other languages.Like all titles in O'Reilly's Developer's Notebook series, this "all lab, no lecture" book skips the boring prose and focuses instead on a series of exercises that speak to you instead of at you.__Perl Testing: A Developer's Notebook__Write basic Perl tests with ease and interpret the resultsApply special techniques and modules to improve your testsBundle test suites along with projectsTest databases and their dataTest websites and web projectsUse the "Test Anything Protocol" which tests projects written in languages other than PerlWith today's increased workloads and short development cycles, unit tests are more vital to building robust, high-quality software than ever before. Once mastered, these lessons will help you ensure low-level code correctness, reduce software development cycle time, and ease maintenance burdens.You don't have to be a die-hard free and open source software developer who lives, breathes, and dreams Perl to use this book. You just have to want to do your job a little bit better. ix xiii Beginning Testing 1 5 7 10 12 15 Writing Tests 19 22 23 25 30 34 37 Managing Tests 39 43 48 51 53 55 56 Distributing Your Tests (and Code) 61 63 66 68 69 72 73 76 79 Testing Untestable Code 83 88 92 97 102 106 Testing Databases 109 113 117 121 Testing Web Sites 127 132 135 138 141 143 149 Unit Testing with Test::Class 151 155 158 160 162 Testing Everything Else 163 167 169 172 175 Good software testing can increase productivity, improve designs, raise quality, and make you more productive overall. This hands-on labs series teaches how Perl's test tools work and how to use them to create basic and complex tests and interpret the results. This notebook is helpful in reducing the software development cycle times. Looks at the Perl test tools and offers a series of exercises that cover such topics as bundling test suites, testing databases, and testing Web sites and projects.
دانلود کتاب Perl Testing: A Developer's Notebook : A Developer's Notebook