Home > Store > Software Development & Management
Test-Driven Development: A Practical Guide: A Practical Guide
- By David Astels
- Published Jul 2, 2003 by Prentice Hall. Part of the Coad Series series.
- Copyright 2004
- Dimensions: 7 x 9 1/4
- Pages: 592
- Edition: 1st
- Book
- ISBN-10: 0-13-101649-0
- ISBN-13: 978-0-13-101649-1
Register your product to gain access to bonus material or receive a coupon.
Test-Driven Development: A Practical Guide
David R. Astels
Foreword by Ron Jeffries
- The relentlessly practical TDD guide: real problems, real solutions, real code
- Includes a start-to-finish project written in Java and using JUnit
- Introduces TDD frameworks for C++, C#/.NET, Python, VB6, and more
- For every developer and project manager interested test-driven development
Make Test-Driven Development work for you!
Test-Driven Development: A Practical Guide enables developers to write software that's simpler, leaner, more reliable... just plain better.
Now, there's a TDD guide focused on real projects, real developers, real implementation challenges, and real code.
Renowned agile development expert Dave Astels shows TDD at work in a start-to-finish project written in Java and using the JUnit testing framework. You'll learn how "test first" works, why it works, what obstacles you'll encounter, and how to transform TDD's promise into reality.
- o Relentlessly practical! Full of downloadable code examples, hands-on exercises, and a fully hyperlinked version of the "resources" appendix
- o Introduces powerful TDD tools and techniques--including key JUnit extensions, presented by their creators (Scott Ambler, Tim Bacon, Mike Bowler, Mike Clark, Bryan Dollery, James Newkirk, Bob Payne, Kay Pentacost, and Jens Uwe Pipka)
- o Covers refactoring, "programming by intention," mock objects, and much more
- o Discusses TDD frameworks for C++, C#/.NET, Python, VB6, Ruby, and Smalltalk
- o Introduces previously unpublished test-first techniques for GUI software
- o Contains appendices introducing eXtreme Programming and Agile Modeling
- o For all programmers and project managers
Read this book if you're ready to write code that's clearer, more robust, and easier to extend & maintain--in short, if you're ready to write better code!
Related Articles
Test-Driven Development from a Conventional Software Testing Perspective, Part 1
Test-Driven Development from a Conventional Software Testing Perspective, Part 3
|
55 of 60 people found the following review helpful
By A Customer
This review is from: Test-Driven Development: A Practical Guide: A Practical Guide (Paperback)
This book is about Test-Driven Development (TDD). Its purpose is to help you write better code (by having more tests) and give you a head start with existing tools to achieve this.The book falls short of these goals: The explanations about writing tests are short on advice and are sometimes misleading. The presentation of the tools is long, with little useful facts. The book is organized into four parts: Background on TDD, refactoring and programming by intention; A look at JUnit and related tools used to write and run tests; A lengthy example of TDD; An overview of other tools in the xUnit family. The book is targeted at a Java audience but programmers using other languages should have little difficulties understanding the code. I have a major problem with the background section. The author repeatedly claims that TDD provides exhaustive test coverage and ensures that you can refactor your code with confidence. Any error will be caught by the tests. This is foolish. First,... Read more
16 of 17 people found the following review helpful
By dkroot (Washington, DC USA) - See all my reviews
This review is from: Test-Driven Development: A Practical Guide: A Practical Guide (Paperback)
(Disclaimer: I worked with the author on one large project).Dave Astels' book is a comprehensive work covering TDD from the ground up to advanced topics. While most of the book examples use Java and JUnit, it does cover unit testing frameworks in several other languages as well. I've read two books on the topic (the other one is Kent Beck's "TDD By Example") and I liked Dave's book better. The basics of TDD can be explained in 10 minutes however when it is applied on practice it gets complicated in at least 3 areas: 1) testing UI 2) testing with database - data setup, isolation, etc. and 3) mocks. Kent's book is more about a philosophy of TDD but it only goes through a very simple "toy" example. Dave's book really helped me to understand mocks and it does cover UI testing in great length. Mocks are an advanced topic, so it does require a good knowledge of Java and OOP. The rest of the book seems to be on intermediate technical level. The only thing this book is missing, I... Read more
15 of 16 people found the following review helpful
This review is from: Test-Driven Development: A Practical Guide: A Practical Guide (Paperback)
Test-driven development (TDD) is one of the hot topics in the recent "agile revolution". Unfortunately, there aren't too many texts currently available that take an in-depth look at the subject. David Astels jumps into the fray with his new book, "Test-Driven Development: A Practical Guide", in order to help fill that void. Giving a nod to Kent Beck's "Test Driven Development By Example", Astels views his work as a complement to Beck's, focusing on the practical techniques and tools necessary to best make use of TDD.The book first touches on some topics fundamental to TDD, such as refactoring, programming by intention, and of course the basic theory behind TDD. Appendices further flesh out this material by addressing extreme programming and agile modeling. Although other members of the xUnit family are looked at, this book is squarely focused on JUnit and Java. As such, the text goes into detail about using JUnit, including the API, and how to go about the task of writing... Read more |
› See all 15 customer reviews...
Online Sample Chapter
Test Driven Development: Programming by Intention
Table of Contents
Foreword.
Preface.
I. BACKGROUND.
II. TOOLS AND TECHNIQUES.
III. A JAVA PROJECT: TEST-DRIVEN END TO END.
IV. XUNIT FAMILY MEMBERS.
V. APPENDICES.
Downloadable Sample Chapter
This book includes free shipping!
- Request an Instructor or Media review copy.
- Corporate, Academic, and Employee Purchases
- International Buying Options
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.





