or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
19 used & new from $14.98

Have one to sell? Sell yours here
 
   
JUnit in Action
 
 

JUnit in Action (Paperback)

~ (Author), Ted Husted (Author)
4.5 out of 5 stars  See all reviews (20 customer reviews)

List Price: $39.95
Price: $26.37 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.58 (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
Usually ships within 1 to 4 months.
Ships from and sold by Amazon.com. Gift-wrap available.

10 new from $14.98 9 used from $18.50

Formats

Amazon Price New from Used from
  Paperback, September 30, 2003 $26.37 $14.98 $18.50

Frequently Bought Together

Customers buy this book with Ant in Action: Covers Ant 1.7 (Manning) by Steve Loughran

JUnit in Action + Ant in Action: Covers Ant 1.7 (Manning)
Price For Both: $57.86

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

  • This item: JUnit in Action by Vincent Massol

    Usually ships within 1 to 4 months.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Ant in Action: Covers Ant 1.7 (Manning) by Steve Loughran

    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

JUnit Recipes: Practical Methods for Programmer Testing

JUnit Recipes: Practical Methods for Programmer Testing

by J. B. Rainsberger
JUnit Pocket Guide

JUnit Pocket Guide

by Kent Beck
4.2 out of 5 stars (4)  $9.95
Test Driven: Practical TDD and Acceptance TDD for Java Developers

Test Driven: Practical TDD and Acceptance TDD for Java Developers

by Lasse Koskela
3.9 out of 5 stars (16)  $29.69
Maven: The Definitive Guide

Maven: The Definitive Guide

by Sonatype Company
3.9 out of 5 stars (7)  $23.09
Java Persistence with Hibernate

Java Persistence with Hibernate

by Gavin King
3.6 out of 5 stars (64)  $37.79
Explore similar items

Editorial Reviews

Product Description

A guide to unit testing Java applications (including J2EE applications) using the JUnit framework and its extensions, this book provides techniques for solving real-world problems such as unit testing legacy applications, writing real tests for real objects, automating tests, testing in isolation, and unit testing J2EE and database applications. Using a sample-driven approach, various unit testing strategies are covered, such as how to unit test EJBs, database applications, and how to unit test JSPs, and Taglibs. Also addressed are testing strategies using freely available open source frameworks and tools, and how to unit test in isolation with Mock Objects. Testing J2EE applications by running tests from inside the container for performing integration unit tests is discussed, as is how to automate unit testing in automated builds (such as Ant and Maven) for performing continuous integration.


About the Author

Vincent Massol is the creator of the Jakarta Cactus framework and an active member of the Maven, Gump, Struts, and MockObjects development teams. He is the cofounder and CTO of Pivolis, a company that specializes in applying agile methodologies to offshore software development. Ted Husted is an active member of the Struts development team and the manager of the JGuru Struts Forum. His most recent development project uses test-driven design throughout and is available as open source [wqdata]. He is the author of Struts in Action. He lives in Fairport, New York

Product Details

  • Paperback: 384 pages
  • Publisher: Manning Publications (October 1, 2003)
  • Language: English
  • ISBN-10: 1930110995
  • ISBN-13: 978-1930110991
  • Product Dimensions: 9.1 x 7.3 x 1 inches
  • Shipping Weight: 1.3 pounds (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (20 customer reviews)
  • Amazon.com Sales Rank: #217,485 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #67 in  Books > Computers & Internet > Programming > Software Design, Testing & Engineering > Testing

More About the Author

Vincent Massol
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Vincent Massol Page

Look Inside This Book
Browse Sample Pages:
Front Cover | Back Cover


What Do Customers Ultimately 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.
 
(7)
(1)
(1)
(1)

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

20 Reviews
5 star:
 (12)
4 star:
 (7)
3 star:    (0)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.5 out of 5 stars (20 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
37 of 40 people found the following review helpful:
5.0 out of 5 stars The definitive how-to manual for unit testing J2EE code, November 5, 2003
If you've ventured into a bookstore lately, you may have noticed that the number of titles available on agile methodologies is multiplying more rapidly than the populations of some third-world countries. Leafing through any one of these titles while sipping an espresso in the bookstore's coffee bar, you'll quickly figure out that repeatable, automated unit tests are a good thing, and that JUnit is the unit testing framework most often used for Java unit testing. A couple of mochachino grande's later, and you've read enough to convince you that your continued survival rests on writing these automated unit tests. Unfortunately, and before your caffeine buzz even wears off, you're struck with the realization that while you're motivated and ready to go, you're just not sure exactly how to go about writing tests for many of your J2EE components.

"JUnit in Action" picks up where these other texts leave off. This is not a book on test-driven development, and it's not a book trying desperately to convince you of the value of tests. The book's goal is to demonstrate exactly how to write comprehensive unit tests for the various components of your J2EE applications. Writing tests for servlets, filters, JSPs, taglibs, database components, and EJBs are all covered in detail, as are testing strategies using mock objects and Cactus. Not only are you shown how to write the tests, but also how to write testable code. Along the way, the author points out useful "best practices" and how to use design patterns to improve your tests and the code you are testing. Code examples are thoroughly documented throughout the text in order to illustrate the techniques being discussed.

"JUnit in Action" is the definitive how-to manual for unit testing J2EE components. Pick up one of the other books if you're looking for something more motivational, but when you're ready to sit down and bang out some code, you'll want this book at your side.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
13 of 13 people found the following review helpful:
5.0 out of 5 stars A quality and indepth view into the world of Unit Testing, November 20, 2003
By Dion G Almaer (Cambridge) - See all my reviews
When I first started to read JUnit in Action, I was hoping that it wouldn't be a tutorial on the open source tool JUnit. I am glad to say that it is much more. I think the book's name could really be "Testing in Practice". Sure, JUnit is covered in a lot of detail, but so are other tools such as:

- Integration with: Ant, Maven, and Eclipse
- Mock Objects (via both EasyMock and DynaMock)
- Cactus for testing in a container
- And other small helper tools (nice ant tasks, etc.)

What made me really enjoy this book is the way it is written, coupled with the practical look at the many technologies involved in testing. It is a fresh read, that doesn't get bogged down. The book flows really well, giving you best practices throughout. They don't just say "Do X", they actually show you where these best practices come from as they refactor their own code. You are really aware that these authors know their stuff, and are drawing from a lot of experience (compared to the online FAQs).

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
8 of 8 people found the following review helpful:
4.0 out of 5 stars A joy to read but..., February 20, 2005
By Riccardo Audano (Chiavari, Italy) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This book is required reading for any professional Java developer. Even if you are not convinced of the benefits of test driven development and unit testing you owe it to yourself to check what this is all about. This book will serve as a very hands-on introduction to a lot of APIs, libraries and techniques in the field of unit and integration testing. My only complaint is that it tries to cover too many subjects in too little space. The introductory part on JUnit is superb. I found the treatment of Cactus, surprisingly, too superficial (Vincent Massol is the cactus creator) : the author makes you first (after a brief interlude with Jetty) run the cactus test using Maven, and that would be ok with me if he gave a through introduction to this tool, but instead all you get is a "run the tests typing maven cactus:test". Now this kind of monkey work is not what an intelligent developer loves to do.. and besides when things go even slightly wrong (and you know they will...) you are left clueless. You also get a chance to run cactus tests with ant but the treatment is not general enough to give you a solid understanding of this procedure. Anyhow after reading this book you will be much more competent on software development best practice and testing, but probably wondering if, having to learn and employ all these tools and APIs, unit testing is still useful or is monstrously transforming into a heavy and complex part of your application...
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

5.0 out of 5 stars JUnit in Action - excellent book in excellent condition
JUnit in Action
The book was shipped on time, and was in excellent (new) condition! Thanks!
Published 6 months ago by Karine Markosyan

2.0 out of 5 stars A bit verbose
So I am relatively new to Java programming and self-taught. I have read some of the sold basics such as Murach's Java SE 6, Head First Java, Effective Java amongst others, and I... Read more
Published 13 months ago by Marten K

5.0 out of 5 stars Best Junit book
This is one of the best Junit books that I have read. Definitely a keeper in your bookshelf
Published 16 months ago by Raghu Kashyap

4.0 out of 5 stars Good book, but needs new version.
With the new Junit4, the book needs a new version.
Published on March 10, 2007 by Gregory Guthrie

4.0 out of 5 stars Good Introduction to UNIT testing
I read this book pretty much from cover to cover. I found it to be a nice introduction to the unit testing strategy now widely employed in software development projects. Read more
Published on February 27, 2007 by Siddhardha

4.0 out of 5 stars Since this book I am a unit test enthusiast
Before reading this book I seldom wrote unit tests and when I just did it to make the project manager happy. I didn't really grasp what unit test is all about. Read more
Published on September 28, 2006 by Edward Zeh

4.0 out of 5 stars Great for JUnit - intro to intermediate topics
This book is a great intro to JUnit and quickly advances to intermediate level stuff (Cactus etc.). Lots of best practices are littered throughout the book and there's a good... Read more
Published on July 13, 2006 by Frank J. Kelly

5.0 out of 5 stars An ACTION packed thriller with JUnit. Must Read
First things first --> Test Driven(First) Development (TDD) is a *beaten to death* buzz phrase in the IT industry today. Read more
Published on April 21, 2006 by Ganeshji Marwaha

5.0 out of 5 stars One of the best
This is one of the best books for understanding a programming tool I have ever read. Code is well commneted and writing is very clear. Read more
Published on March 12, 2006 by Antonio Quinonez-munoz

4.0 out of 5 stars Very good book - not perfect, but very good.
This is a great book for any Java developer who has heard about JUnit but hasn't really worked with it. Read more
Published on October 13, 2005 by Raymundo Baco

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon 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.