0%

Book Description

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.

    Table of Contents

    1. Title Page
    2. Copyright Page
    3. Dedication Page
    4. Contents
    5. Foreword by Kent Beck
    6. Foreword by Dale Emery
    7. Preface
    8. Acknowledgments
    9. About the Author
    10. Part I: Airport Parking Lot
      1. Chapter 1. Parking Cost Calculator Workshop
      2. Chapter 2. Valet Parking Automation
      3. Chapter 3. Automating the Remaining Parking Lots
      4. Chapter 4. Wish and Collaborate
    11. Part II: Traffic Light Software System
      1. Chapter 5. Getting Started
      2. Chapter 6. Light States
      3. Chapter 7. First Crossing
      4. Chapter 8. Discover and Explore
    12. Part III: Principles of Acceptance Test-Driven Development
      1. Chapter 9. Use Examples
      2. Chapter 10. Specify Collaboratively
      3. Chapter 11. Automate Literally
      4. Chapter 12. Test Cleanly
      5. Chapter 13. Successful ATDD
    13. Appendix A. Cucumber
    14. Appendix B. FitNesse
    15. Appendix C. Robot Framework
    16. References
    17. Index
    18. Footnotes
      1. Preface
      2. Chapter 2
      3. Chapter 3
      4. Chapter 5
      5. Chapter 6
      6. Chapter 7
      7. Chapter 9
      8. Chapter 11
      9. Chapter 12
      10. Appendix C
    13.58.82.79