or
Sign in to turn on 1-Click ordering.
Sell Back Your Copy
For a $9.50 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Test Driven: 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, or download a FREE Kindle Reading App.

Test Driven: TDD and Acceptance TDD for Java Developers [Paperback]

Lasse Koskela (Author)
3.9 out of 5 stars  See all reviews (17 customer reviews)

List Price: $44.99
Price: $28.46 & this item ships for FREE with Super Saver Shipping. Details
You Save: $16.53 (37%)
  Special Offers Available
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 on January 31, 2012.
Order it now.
Ships from and sold by Amazon.com. Gift-wrap available.
Textbook Student FREE Two-Day Shipping for Students. Learn more

Sell Back Your Copy for $9.50
Whether you buy it used on Amazon for $13.05 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $9.50.
Used Price$13.05
Trade-in Price$9.50
Price after
Trade-in
$3.55

Book Description

1932394850 978-1932394856 October 19, 2007

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

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Customers buy this book with JUnit in Action, Second Edition $28.25

Test Driven: TDD and Acceptance TDD for Java Developers + JUnit in Action, Second Edition
Price For Both: $56.71

One of these items ships sooner than the other. Show details

  • This item: Test Driven: TDD and Acceptance TDD for Java Developers

    In stock on January 31, 2012.
    Order it now.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • JUnit in Action, Second Edition

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



Editorial Reviews

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: 470 pages
  • Publisher: Manning Publications (October 19, 2007)
  • Language: English
  • ISBN-10: 1932394850
  • ISBN-13: 978-1932394856
  • Product Dimensions: 9.2 x 7.4 x 1.1 inches
  • Shipping Weight: 2.6 pounds (View shipping rates and policies)
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Best Sellers Rank: #663,061 in Books (See Top 100 in Books)

More About the Author

I'm a consultant and trainer working for a software consulting company in Finland. During my spare time, I tend bar at the JavaRanch (http://www.javaranch.com).

 

Customer Reviews

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

18 of 20 people found the following review helpful:
5.0 out of 5 stars My new standard reference, October 22, 2007
By 
This review is from: Test Driven: TDD and Acceptance TDD for Java Developers (Paperback)

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!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


19 of 22 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
Amazon Verified Purchase(What's this?)
This review is from: Test Driven: TDD and Acceptance TDD for Java Developers (Paperback)
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 9 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 
This review is from: Test Driven: TDD and Acceptance TDD for Java Developers (Paperback)
"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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

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











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
interaction assertions, implementing acceptance tests, coding dojos, testing view components, transactional fixtures, writing integration tests, writing acceptance tests, fixture class, fake implementation, automated acceptance tests, legacy code base, public void setup, canvas component, mock object, template engine, fixture tables, user stories, resisting individual, assertion pattern, expected collaboration, user gestures, public void process, fixture object, persistence framework, dependency injection
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Test-driving Swing, Spring Framework, Martin Fowler, Object Mother, Java Swing, Supervising Controller, Passive View, Intimate Inner Class, Java Servlets, Parameterized Creation Method, Internet Explorer, Manning Publications, Setup Test, Data Access Object, Extra Constructor, What's Fit, Michael Feathers, Extreme Programming, Executing Fit, Component Chooser, Parameterized Test, Resulting State Assertion, American Express, Test System, Mozilla Firefox
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

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

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 Discussions

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


Active discussions in related forums
Search Customer Discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject