وبلاگ بلیان

ATDD by Example: A Practical Guide to Acceptance Test-Driven Development: A Practical Guide to Acceptance TestDriven Development (AddisonWesley Signature Series (Beck))

جلد کتاب ATDD by Example: A Practical Guide to Acceptance Test-Driven Development: A Practical Guide to Acceptance TestDriven Development (AddisonWesley Signature Series (Beck))

معرفی کتاب «ATDD by Example: A Practical Guide to Acceptance Test-Driven Development: A Practical Guide to Acceptance TestDriven Development (AddisonWesley Signature Series (Beck))» نوشتهٔ Markus Gärtner، منتشرشده توسط نشر Addison-Wesley Professional در سال 2012. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

With Acceptance Test-Driven Development (ATDD), business customers, testers, and developers can collaborate to produce testable requirements that help them build higher quality software more rapidly. However, ATDD is still widely misunderstood by many practitioners. ATDD by Example is the first practical, entry-level, hands-on guide to implementing and successfully applying it. ATDD pioneer Markus Gärtner walks readers step by step through deriving the right systems from business users, and then implementing fully automated, functional tests that accurately reflect business requirements, are intelligible to stakeholders, and promote more effective development. Through two end-to-end case studies, Gärtner demonstrates how ATDD can be applied using diverse frameworks and languages. Each case study is accompanied by an extensive set of artifacts, including test automation classes, step definitions, and full sample implementations. These realistic examples illuminate ATDD’s fundamental principles, show how ATDD fits into the broader development process, highlight tips from Gärtner’s extensive experience, and identify crucial pitfalls to avoid. Readers will learn to Master the thought processes associated with successful ATDD implementation Use ATDD with Cucumber to describe software in ways businesspeople can understand Test web pages using ATDD tools Bring ATDD to Java with the FitNesse wiki-based acceptance test framework Use examples more effectively in Behavior-Driven Development (BDD) Specify software collaboratively through innovative workshops Implement more user-friendly and collaborative test automation Test more cleanly, listen to test results, and refactor tests for greater value If you’re a tester, analyst, developer, or project manager, this book offers a concrete foundation for achieving real benefits with ATDD now–and it will help you reap even more value as you gain experience. Contents 8 Foreword 12 Foreword 14 Preface 16 Acknowledgments 22 About the Author 24 Part I: Airport Parking Lot 26 1 Parking Cost Calculator Workshop 28 Valet Parking 28 Short-Term Parking 30 Economy and Long-Term Parking 31 Essential Examples 34 Summary 37 2 Valet Parking Automation 42 The First Example 43 Pairing for the First Test 50 Tabulated Tests 61 Summary 64 3 Automating the Remaining Parking Lots 66 Short-Term Parking Lot 66 Economy Parking Lot 69 Summary 71 4 Wish and Collaborate 72 Specification Workshops 73 Wishful Thinking 74 Collaboration 75 Summary 77 Part II: Traffic Light Software System 78 5 Getting Started 80 Traffic Lights 80 FitNesse 83 Supporting Code 84 Summary 85 6 Light States 86 State Specifications 86 The First Test 87 Diving into the Code 91 Refactoring 95 Summary 115 7 First Crossing 118 Controller Specifications 118 Driving the Controller 119 Summary 143 8 Discover and Explore 144 Discover the Domain 145 Drive the Production Code 146 Test Your Glue Code 147 Value Your Glue Code 149 Summary 150 Part III: Principles of Acceptance Test-Driven Development 152 9 Use Examples 154 Use a Proper Format 155 Refine the Examples 167 Cut Examples 171 Consider Gaps 174 Summary 176 10 Specify Collaboratively 178 Meet the Power of Three 178 Hold Workshops 180 Trawl Requirements 183 Summary 184 11 Automate Literally 186 Use Friendly Automation 187 Collaborate on Automation 189 Discover the Domain 191 Summary 192 12 Test Cleanly 194 Develop Test Automation 195 Listen to the Tests 197 Refactor Tests 201 Summary 205 13 Successful ATDD 208 Appendix A: Cucumber 212 Feature Files 212 Step Definitions 213 Production Code 214 Appendix B: FitNesse 216 Wiki Structure 216 SLiM Tables 217 Support Code 218 Appendix C: Robot Framework 220 Sections 220 Library Code 224 References 226 Index 230 A 230 B 230 C 230 D 231 E 231 F 232 G 232 H 232 I 232 J 233 K 233 L 233 M 233 N 233 P 233 Q 234 R 234 S 235 T 236 U 237 V 237 W 237 X 237 With Acceptance Test-Driven Development (ATDD), business customers, testers, and developers can collaborate to produce testable requirements that help them build higher quality software more rapidly. However, ATDD is still widely misunderstood by many practitioners. "ATDD by Example" is the first practical, entry-level, hands-on guide to implementing and successfully applying it. ATDD pioneer Markus Gartner walks readers step by step through deriving the right systems from business users, and then implementing fully automated, functional tests that accurately reflect business requirements, are intelligible to stakeholders, and promote more effective development. Through two end-to-end case studies, Gartner demonstrates how ATDD can be applied using diverse frameworks and languages. Each case study is accompanied by an extensive set of artifacts, including test automation classes, step definitions, and full sample implementations. These realistic examples illuminate ATDD's fundamental principles, show how ATDD fits into the broader development process, highlight tips from Gartner's extensive experience, and identify crucial pitfalls to avoid. Readers will learn to Master the thought processes associated with successful ATDD implementationUse ATDD with Cucumber to describe software in ways businesspeople can understand Test web pages using ATDD toolsBring ATDD to Java with the FitNesse wiki-based acceptance test framework Use examples more effectively in Behavior-Driven Development (BDD)Specify software collaboratively through innovative workshopsImplement more user-friendly and collaborative test automationTest more cleanly, listen to test results, and refactor tests for greater value If you're a tester, analyst, developer, or project manager, this book offers a concrete foundation for achieving real benefits with ATDD now-and it will help you reap even more value as you gain experience.
دانلود کتاب ATDD by Example: A Practical Guide to Acceptance Test-Driven Development: A Practical Guide to Acceptance TestDriven Development (AddisonWesley Signature Series (Beck))