Design Driven Testing

Test Smarter, Not Harder

By Matt Stephens , Doug Rosenberg

Design Driven Testing brings sanity back to software development by restoring the concept of using testing to verify a design instead of pretending that unit tests are a replacement for design.

Full Description

  • ISBN13: 978-1-4302-2943-8
  • 368 Pages
  • User Level: Beginner to Advanced
  • Publication Date: September 15, 2010
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $59.99
  • eBook Price: $41.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

The groundbreaking book Design Driven Testing brings sanity back to the software development process by flipping around the concept of Test Driven Development (TDD)—restoring the concept of using testing to verify a design instead of pretending that unit tests are a replacement for design. Anyone who feels that TDD is “Too Damn Difficult” will appreciate this book.

Design Driven Testing shows that, by combining a forward-thinking development process with cutting-edge automation, testing can be a finely targeted, business-driven, rewarding effort. In other words, you’ll learn how to test smarter, not harder.

  • Applies a feedback-driven approach to each stage of the project lifecycle.
  • Illustrates a lightweight and effective approach using a core subset of UML.
  • Follows a real-life example project using Java and Flex/ActionScript.
  • Presents bonus chapters for advanced DDTers covering unit-test antipatterns (and their opposite, “test-conscious” design patterns), and showing how to create your own test transformation templates in Enterprise Architect.

What you’ll learn

  • Create unit and behavioral tests using JUnit, NUnit, FlexUnit.
  • Generate acceptance tests for all usage paths through use case thread expansion.
  • Generate requirement tests for functional requirements.
  • Run complex acceptance tests across the enterprise.
  • Isolate individual control points for self-contained unit/behavioral tests.
  • Apply behavior-driven development frameworks like JBehave and NBehave

Who this book is for

Design Driven Testing should appeal to developers, project managers, testers, business analysts, architects—in fact, anyone who builds software that needs to be tested. While equally applicable on both large and small projects, Design Driven Testing is especially helpful to those developers who need to verify their software against formal requirements. Such developers will benefit greatly from the rational and disciplined approach espoused by the authors.

Table of Contents

Table of Contents

  1. Somebody Has It Backwards
  2. TDD Using Hello World
  3. “Hello World!” Using DDT
  4. Introducing the Mapplet Project
  5. Detailed Design and Unit Testing
  6. Conceptual Design and Controller Testing
  7. Acceptance Testing: Expanding Use Case Scenarios
  8. Acceptance Testing: Business Requirements
  9. Unit Testing Antipatterns (The “Don’ts”)
  10. Design for Easier Testing
  11. Automated Integration Testing
  12. Unit Testing Algorithms
  13. Alice in Use-Case Land
  14. ’Twas Brillig and the Slithy Tests
Errata

Please Login to submit errata.

No errata are currently published