The groundbreaking book Design Driven Testing brings sanity back to the software development process by flipping around the concept of Test Driven Development (TDD)arestoring 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 aToo Damn Difficulta 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, youall 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, atest-consciousa design patterns), and showing how to create your own test transformation templates in Enterprise Architect. What youall 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, architectsain 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 Somebody Has It Backwards TDD Using Hello World aHello World!a Using DDT Introducing the Mapplet Project Detailed Design and Unit Testing Conceptual Design and Controller Testing Acceptance Testing: Expanding Use Case Scenarios Acceptance Testing: Business Requirements Unit Testing Antipatterns (The aDonatsa) Design for Easier Testing Automated Integration Testing Unit Testing Algorithms Alice in Use-Case Land aTwas Brillig and the Slithy TestsSequence diagrams, for example, are best used to think through a detailed design, and, in particular, to allocate ... To put it another way, ifyou want to track down some behavior related to a reservation, the first place in the code youa#39;d go to would ... The Mapplet requires an Advanced Search widget, which will allow the user to search for hotels using search fields ... The Flex client contacts the Java-based search service, which, in turn, calls out to an external, XML-based search system.
|Title||:||Design Driven Testing|
|Author||:||Matt Stephens, Doug Rosenberg|
|Publisher||:||Apress - 2010-09-16|