or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
39 used & new from $18.48

Have one to sell? Sell yours here
 
   
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
Test Driven: Practical TDD and Acceptance TDD for Java Developers
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Test Driven: Practical TDD and Acceptance TDD for Java Developers (Paperback)

~ (Author)
Key Phrases: interaction assertions, implementing acceptance tests, coding dojos, Test-driving Swing, Spring Framework, Martin Fowler (more...)
3.9 out of 5 stars  See all reviews (16 customer reviews)

List Price: $44.99
Price: $29.69 & this item ships for FREE with Super Saver Shipping. Details
You Save: $15.30 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, November 10? Choose One-Day Shipping at checkout. Details
30 new from $19.87 9 used from $18.48

Frequently Bought Together

Customers buy this book with Effective Java (2nd Edition) by Joshua Bloch

Test Driven: Practical TDD and Acceptance TDD for Java Developers + Effective Java (2nd Edition)
  • This item: Test Driven: Practical TDD and Acceptance TDD for Java Developers by Lasse Koskela

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Effective Java (2nd Edition) by Joshua Bloch

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Next Generation Java Testing: TestNG and Advanced Concepts

Next Generation Java Testing: TestNG and Advanced Concepts

by Cédric Beust
3.8 out of 5 stars (10)  $30.32
JUnit Recipes: Practical Methods for Programmer Testing

JUnit Recipes: Practical Methods for Programmer Testing

by J. B. Rainsberger
The Art of Agile Development

The Art of Agile Development

by James Shore
4.6 out of 5 stars (34)  $23.68
Continuous Integration: Improving Software Quality and Reducing Risk

Continuous Integration: Improving Software Quality and Reducing Risk

by Paul Duvall
4.7 out of 5 stars (16)  $23.00
xUnit Test Patterns: Refactoring Test Code

xUnit Test Patterns: Refactoring Test Code

by Gerard Meszaros
4.6 out of 5 stars (13)  $47.99
Explore similar items

Editorial Reviews

Product Description

In test driven development, you first write an executable test of what your application code must do. Only then do you write the code itself and, with the test spurring you on, you improve your design. In acceptance test driven development (ATDD), you use the same technique to implement product features, benefiting from iterative development, rapid feedback cycles, and better-defined requirements. TDD and its supporting tools and techniques lead to better software faster.

"Test Driven" brings under one cover practical TDD techniques distilled from several years of community experience. With examples in Java and the Java EE environment, it explores both the techniques and the mindset of TDD and ATDD. It uses carefully chosen examples to illustrate TDD tools and design patterns, not in the abstract but concretely in the context of the technologies you face at work. It is accessible to TDD beginners, and it offers effective and less well known techniques to older TDD hands.

What's Inside Learn hands-on to test drive Java code How to avoid common TDD adoption pitfalls Acceptance test driven development and the Fit framework How to test Java EE components-Servlets, JSPs, and Spring Controllers Tough issues like multithreaded programs and data access code



About the Author

Lasse Koskela is a methodology specialist at Reaktor Innovations. He started promoting Agile methods in Finland in 2002, ramped up the local Agile Seminars in 2005, and has coached dozens of teams around Europe in agile methods and development practices such as test driven development.

Product Details

  • Paperback: 513 pages
  • Publisher: Manning Publications (October 1, 2007)
  • Language: English
  • ISBN-10: 1932394850
  • ISBN-13: 978-1932394856
  • Product Dimensions: 9.2 x 7.2 x 1.2 inches
  • Shipping Weight: 2.6 pounds (View shipping rates and policies)
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (16 customer reviews)
  • Amazon.com Sales Rank: #60,704 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #12 in  Books > Computers & Internet > Programming > Software Design, Testing & Engineering > Testing
    #70 in  Books > Computers & Internet > Programming > Java

More About the Author

Lasse Koskela
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Lasse Koskela Page

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

Test Driven: Practical TDD and Acceptance TDD for Java Developers
76% buy the item featured on this page:
Test Driven: Practical TDD and Acceptance TDD for Java Developers 3.9 out of 5 stars (16)
$29.69
Test Driven Development: By Example
9% buy
Test Driven Development: By Example 3.9 out of 5 stars (32)
$41.22
JUnit Recipes: Practical Methods for Programmer Testing
6% buy
JUnit Recipes: Practical Methods for Programmer Testing 4.6 out of 5 stars (22)
JUnit in Action
5% buy
JUnit in Action 4.5 out of 5 stars (20)
$26.37

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(16)
(12)
(10)
(9)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

16 Reviews
5 star:
 (10)
4 star:
 (2)
3 star:    (0)
2 star:    (0)
1 star:
 (4)
 
 
 
 
 
Average Customer Review
3.9 out of 5 stars (16 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
15 of 17 people found the following review helpful:
5.0 out of 5 stars may be -the- book on TDD in Java, November 2, 2007
By J.J. Langr (United States) - See all my reviews
I've just begun digging into Lasse Koskela's book, Test Driven, but it's already clear that this is the book I will recommend to existing Java programmers for a thorough coverage of TDD. (I'm pointing new Java programmers somewhere else, however. :-))

The text is very well written and engaging. The introductory material, getting developers up to speed on what TDD is and isn't, and how to do it well, is very patient yet not so slow that it's tedious.

The book is well-rounded, and contains information that you're not going to find in the other books on TDD. For example, it includes a good introductory coverage to acceptance testing using FIT/FitNesse. It also includes some recommendations on multithreaded testing, and some practical discussion about the distinctions between unit and integration testing, and what's entailed.

I think Koskela did a good job at surveying the current Java landscape and providing recommendations around the predominant tools/environments. I hope he's able to update the book in a couple years!

Overall, the book has many useful tips throughout, and wraps up with a thorough discussion of what it will take to adopt TDD in an organization. So far it's one of the more enjoyable and useful tech books I've read this year.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
13 of 15 people found the following review helpful:
5.0 out of 5 stars My new standard reference, October 22, 2007
By Bas Vodde (Singapore) - See all my reviews

Lasse's new book, "Test-driven" is now my standard reference for people who want to know more about TDD. Why? Simply because his new book covers it broad, well and in detail. It's the first book I know which also covers the "Acceptance TDD" part and it was about time!

The book consists of three parts. They are: "TDD Primer", "Specific technologies" and "Acceptance TDD".

The first part contains an overview/big picture on what TDD is and especially how the traditional TDD and A-TDD fit together. The first chapter is probably the best overview explanation I know of TDD, A-TDD and the effect on the quality of the code, the effect of refactoring and how to develop software incrementally in small steps (and why you would actually want to do that). The second chapter then dives into the "how do you do this" question and goes over one example to show concretely, in code, how to do TDD. The third chapter focuses on the refactoring step in the traditional TDD cycle. Without refactoring your design will be a mess, though this step is often hard for new TDDers. The last chapter of part 1 then covers concepts and patterns. Concepts are like the different test strategies for test-driving your code. Other example that's covered here is the problems of legacy code.

The second part of the book tries to give concrete answers to common problems. How to I test-drive x! It starts with web components and moves from there in the database area (or data access code). One chapter about test-driving time related issues and then also the extremely hard problem of test-driving multi-threaded code. This part ends with test-driving Java Swing GUI code (using Jemmy)

The third part of the book is the A-TDD part. The first chapter in this part gives an overview of what is meant by Acceptance-TDD. The next chapter talks about FIT, which currently is the most widely used testing framework for A-TDD. The third chapter covers different strategies. Should you test via the interface? Why not, why yes? This chapter answers questions like that. The last chapter helps with adopting TDD. TDD is a really really hard practice to get used to and you'll need lots of approaches to help people get used to TDD. The last chapter covers these.

The authors writing style is very easy to read. The book keeps you reading, even if you already know a lot about TDD :) Lasse has a lot to tell. This is probably the most thorough TDD reference I know and I'll use it as my main reference book on TDD. Thanks for writing it. Recommended!
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
7 of 7 people found the following review helpful:
5.0 out of 5 stars test first or last - tools and techniques for testing well, January 26, 2008
By Jeanne Boyarsky (New York, NY) - See all my reviews
"Test Driven" is geared toward Java developers interested in writing better JUnit tests. Despite the title, it is useful whether you want to write test first or test last.

The first part of the book covers the softer aspects of testing such as how to decide what tests to write first and spikes. The rest of the book covers writing tests for common Java components including servlets, data access code and Swing. Examples were for things that we frequently want to test. They included "hard" things such as testing times and threaded code.

I particularly liked the sections on design and testing patterns. There was good coverage of different JUnit extension libraries with examples including dbunit, jmock, easymock, jemmy and abbot. There was also a full chapter on FIT.

I got a sense of "in the trenches" realism from the book. Tradeoffs of techniques were clearing mentioned. The chapter on adopting TDD shows the experience of someone who has done it many times. The section on how to fight resistance really spoke to me.

This is the first book I have read using JUnit 4, which was useful for reading well written tests. While there is an appendix "tutorial" on JUnit 3.8 and 4.0 (two page annotated classes), you really should feel comfortable with one version of JUnit before reading this book. While a few sections pertained to specific technologies, such as Spring, the concepts apply to everyone. I highly recommend this book.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

1.0 out of 5 stars How about some truly unbiased opinions ...
... instead of fellow authors looking to pump each other's books up?

I read the book, wasn't impressed, and popped it on the shelf to collect dust. Read more
Published 4 months ago by Jim L

1.0 out of 5 stars Not what you expect
I wasn't a big fan of this book really. The first few chapters talk about some TDD and TDD theory which was helpful, but overall the book doesn't really talk too much about... Read more
Published 7 months ago by jacklin10

5.0 out of 5 stars How to do Test Driven Development in Java
If you are interesting in Java TDD with Junit this is your book. Cover different kinds of test depending what are you testing (Dao, logic, threads, etc). Read more
Published 12 months ago by Alvaro Gonzalez Fernandez

4.0 out of 5 stars Useful primer
Very good introduction to TDD. I read this first, and then followed it the Beck's TDD By Example, which was more in depth. Read more
Published 13 months ago by John Wesley Watson

5.0 out of 5 stars TDD and ATDD: a very well-written primer
For the last five years, I have worked for companies that espouse "agile" technologies and development practices. Read more
Published 13 months ago by D. Heinecke

4.0 out of 5 stars Test Test Test
I had been trying out Test Driven Development from past couple of years and found it very interesting. Read more
Published 13 months ago by Umesh Rangappa

1.0 out of 5 stars A disappointing read
As an experienced developer in an XP shop, I am always on the prowl for good books on TDD. Alas, this is not one of them. Read more
Published 13 months ago by J. D. Litwiller

5.0 out of 5 stars This book has already helped introduce several developers I coach to TDD
Bas has already done a good job outlining the content. I won't repeat that here. Instead I will say that TDD is hard. Read more
Published 15 months ago by Mark Levison

5.0 out of 5 stars Excellent book on TDD in Java
This book is an great resource for Java developers wanting to get started on TDD. It covers the majority of tools and techniques available, along with useful tips and best... Read more
Published 19 months ago by Fabio Lessa

5.0 out of 5 stars Awesome reference for TDD
Great book. I've read Kent Beck's book, but his book is a bit dated these days. I found Test Driven to be a nice, timely refresh of the TDD and refactoring topic. Read more
Published 20 months ago by C. Bartling

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
FIT and unit testing examples 0 October 2008
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Discussion Replies Latest Post
Textbooks for Kindle DX? 61 16 hours ago
textbook scam 66 5 days ago
Amazon is a great place to buy textbooks! 35 17 days ago
Search Customer Discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.