Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

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

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 yours here.
 
  

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

by Lasse Koskela (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%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Thursday, July 16? Choose One-Day Shipping at checkout. Details
23 new from $24.55 10 used from $8.50

Frequently Bought Together

Customers buy this book with The Art of Agile Development by James Shore

Test Driven: TDD and Acceptance TDD for Java Developers + The Art of Agile Development
  • This item: Test Driven: 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

  • The Art of Agile Development by James Shore

    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

Effective Java (2nd Edition) (Java Series)

Effective Java (2nd Edition) (Java Series)

by Joshua Bloch
4.9 out of 5 stars (35)  $44.46
Spring in Action

Spring in Action

by Craig Walls
4.1 out of 5 stars (64)  $31.49
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)  $44.76
Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin Series)

Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin Series)

by Robert C. Martin
4.4 out of 5 stars (40)  $39.67
JUnit Recipes: Practical Methods for Programmer Testing

JUnit Recipes: Practical Methods for Programmer Testing

by J. B. Rainsberger
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: 470 pages
    • Publisher: Manning Publications (October 12, 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: #52,748 in Books (See Bestsellers in Books)

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

      #20 in  Books > Computers & Internet > Programming > Software Design, Testing & Engineering > Testing
      #94 in  Books > Computers & Internet > Programming > Java

    Inside This Book (learn more)

    What Do Customers Ultimately Buy After Viewing This Item?

    Test Driven: TDD and Acceptance TDD for Java Developers
    80% buy the item featured on this page:
    Test Driven: TDD and Acceptance TDD for Java Developers 3.9 out of 5 stars (16)
    $29.69
    Test Driven Development: By Example (Addison-Wesley Signature Series)
    6% buy
    Test Driven Development: By Example (Addison-Wesley Signature Series) 3.9 out of 5 stars (32)
    $40.49
    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
    4% 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.
    Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
    (16)
    (12)
    (10)
    (9)

    Your tags: Add your first tag
     
    Help others find this product — tag it for Amazon search
    No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

    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

     
    13 of 15 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)



     
    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)



     
    12 of 14 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)


    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 13 days 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 3 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 8 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 9 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 9 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 9 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 9 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 11 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 15 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 16 months ago by C. Bartling

    Only search this product's reviews



    Customer Discussions

     Beta (What's this?)
    New! See all customer communities, and bookmark your communities to keep track of them.
    This product's forum (1 discussion)
      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
      [Cancel]


    Active discussions in related forums
       


    Product Information from the Amapedia Community

    Beta (What's this?)



    Look for Similar Items by Category


    Items Eligible for Free Super Saver Shipping

    Beauty benefit tint
    Check out all items in beauty that are elligible for free super saver shipping and prime.

    See more Prime-eligible beauty items

     

    Best Books of 2008

    Best of 2008
    Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
     

    Buy Three Books, Get a Fourth Free

    4-for-3 Books
    Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
     

    Get Off the Ground

    Shop for miter saw stands
    Lift your miter saw off the ground with a miter saw stand and increase in-feed and out-feed support for optimal performance.

    Shop for miter saw stands

     

     

    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.


    Where's My Stuff?

    Shipping & Returns

    Need Help?

    Your Recent History

      (What's this?)
    You have no recently viewed items or searches.

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

    Look to the right column to find helpful suggestions for your shopping session.

    Continue shopping: Top Sellers
    Paranoia
    Paranoia by Joseph Finder
    My Soul to Lose
    My Soul to Lose by Rachel Vincent
    Glenn Beck's Common Sense
    Glenn Beck's Common Sense

    Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates