Design Driven Testing: Test Smarter, Not Harder (Paperback)
- 出版商: Apress
- 出版日期: 2010-09-15
- 售價: $1,860
- 貴賓價: 9.5 折 $1,767
- 語言: 英文
- 頁數: 364
- 裝訂: Paperback
- ISBN: 1430229438
- ISBN-13: 9781430229438
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
- Somebody Has It Backwards
- TDD Using Hello World
- “Hello World!” 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 “Don’ts”)
- Design for Easier Testing
- Automated Integration Testing
- Unit Testing Algorithms
- Alice in Use-Case Land
- ’Twas Brillig and the Slithy Tests