Programming Books C Java PHP Python Learn more Browse Programming Books
Qty:1
  • List Price: $49.95
  • Save: $14.65 (29%)
Only 9 left in stock (more on the way).
Ships from and sold by Amazon.com.
Gift-wrap available.
FREE Shipping on orders over $35.
Used: Very Good | Details
Sold by MET Marketplace
Condition: Used: Very Good
Comment: Book looks very good, clean, with tight binding. Pages unmarked, no highlighting or underlining.
Access codes and supplements are not guaranteed with used items.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

JUnit Recipes: Practical Methods for Programmer Testing Paperback – July 15, 2004

ISBN-13: 978-1932394238 ISBN-10: 1932394230

Buy New
Price: $35.30
19 New from $14.99 27 Used from $6.25
Amazon Price New from Used from
Paperback
"Please retry"
$35.30
$14.99 $6.25
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Frequently Bought Together

JUnit Recipes: Practical Methods for Programmer Testing + JUnit in Action, Second Edition + Effective Unit Testing: A guide for Java developers
Price for all three: $98.30

Buy the selected items together
NO_CONTENT_IN_FEATURE

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 721 pages
  • Publisher: Manning Publications (July 15, 2004)
  • Language: English
  • ISBN-10: 1932394230
  • ISBN-13: 978-1932394238
  • Product Dimensions: 7.4 x 1.7 x 9.2 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (23 customer reviews)
  • Amazon Best Sellers Rank: #220,293 in Books (See Top 100 in Books)

Editorial Reviews

Review

"Very comprehensive...Highly Recommended." -- C Vu, Journal of ACCU

About the Author

Rainsberger is a deeloper and consultant who has been a leader in JUnit community since 2001.


Stirling has worked as a technical support and QA engineer for JRun since Allaire acquired the JRun product.

More About the Author

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

Customer Reviews

4.6 out of 5 stars
5 star
16
4 star
6
3 star
0
2 star
1
1 star
0
See all 23 customer reviews
The book covers the basics of using JUnit as well as issues around database and J2EE testing.
Steve Berczuk
The organization of the book flows very logically and the writing style is very clear and easy to follow.
Brad Appleton
Manning is one of my favorite technical book publishers, and this book is another reason why.
David Bock

Most Helpful Customer Reviews

26 of 26 people found the following review helpful By Michael Cohn on August 6, 2004
Format: Paperback
J. B. Rainsberger's JUnit Recipes is a wonderful compendium of tips and tricks that can quickly take anyone from novice to expert at JUnit. The organization of the book should make it appealing to unit-testing programmers of all levels. Early chapters are highly introductory, covering the installation and first uses of JUnit. Later chapters cover testing of JDBC, Enterprise Java Beans, XML, and more.

JUnit Recipes includes the best discussions I've read on how to test database applications and on the complicated art of managing test data. This is probably not a book you will read every chapter of. In my programming, for example, I don't use EJB so I only skimmed that chapter. But at over 700 pages is much more of an encyclopedia of wonderful testing techniques than a book that is meant to be read cover to cover. As its title implies, JUnit Recipes is a cookbook of ideas that will allow you to serve up better, and better-tested, applications.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
17 of 17 people found the following review helpful By Jason R. Tibbetts on December 30, 2005
Format: Paperback
This isn't necessarily the best introduction for absolute beginners (I would recommend /Pragmatic Unit Testing/ for that), but it is required reading for server-side Java, as most other reviewers have pointed out. But it's more than that--it's one of those rare computer books that transcends its subject matter. Why? Because it can make you a better programmer. While some of the credit can rightly be given to unit testing and Test-Driven Development in general, Rainsberger's book makes you /see/ better ways to write and refactor your code. The breadth and depth of examples is astonishing--he convincingly shatters "but it's too hard to test that" arguments with well-researched, non-trivial examples. In fact, I'd say that this is almost a better J2EE tutorial than most books about J2EE proper.

I'm withholding a star for one reason: the book doesn't cover GUI testing tools like Jemmy, JFCUnit, or Abbot/Costello. These JUnit extensions are ripe for a book with this depth; it's just too bad that this couldn't be that book. Other than that, I find that I turn to Rainsberger's book far more often than any other testing book or online reference.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
14 of 14 people found the following review helpful By Brad Appleton on November 18, 2005
Format: Paperback
This review also appears on StickyMinds at [...]

JUnit Recipes is a comprehensive tome of practical methods and techniques for the opensource JUnit tool to develop automated unit-tests for Java/J2EE applications. The book is split into four parts: Building Blocks, Testing J2EE, Additional JUnit Techniques, and Appendices. The Building Blocks cover the basics of using JUnit to create basic tests, organize and manage test suites and test data, running JUnit tests and reporting the results. It even includes a section on troubleshooting. Testing J2EE covers XML, JDBC, EJB, web components (including JSPs), and J2EE applications. Additional techniques include testing some well known design patterns, using JUnit add-ons and JUnit libraries (like GSBase). The Appendices include complete solutions (including code of course), some short and sweet essays on testing, and a modest recommended reading list.

The organization of the book flows very logically and the writing style is very clear and easy to follow. Along the way many insights into important design principles and testing techniques are revealed: the reader will learn about the "Hollywood principle", the Open-Closed principle, design patterns, POJOs, Mock Objects, Private and Parameterized Test-Cases, Abstract Test-Cases, Self-Shunts, and Spys. The book's coverage is very comprehensive and touches on many other popular Java/Enterprise projects and frameworks such as Struts, JBOSS, Prevayler, XDoclet, Tomcat, XPath, XMLUnit, [...] Ant, Jakarta, and others.

Even though JUnit is often associated with "Agile" development and much of the wisdom apparent in the book applies to agile Java development, the book is useful to any Java developer on any Java project (agile or otherwise).
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
26 of 29 people found the following review helpful By grandpiano_57 on May 31, 2009
Format: Paperback
This is a good book. It was very important when it came out. It is dated however and we need a new book on the subject since JUnit is up to version 4.6 as of this writing. Following examples from this book from the start you would want JUnit 3.8 to avoid the confusion. Then you would have to learn the differences between 3.8 and 4.6 which are substantial. Where have all the programmers gone? Books use to be up to date, now we are stuck with many 5 year old books with reviews from 2004. This does not keep programmers informed and secure in their jobs. Time for a new updated edition on this one to make it truly useful.
6 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
15 of 16 people found the following review helpful By Ernest Friedman-Hill VINE VOICE on September 21, 2004
Format: Paperback
Sometimes the tiniest things are the most useful. Nails, screws, paperclips and post-its are all small, simple objects that are used a thousand different ways. So it is with JUnit -- a small and really very simple testing tool that can find its way into every corner of your Java development.

Rainsberger's book is a compendium of those thousand ways that JUnit can be used (well, OK, more like 130 ways). Each recipe starts with a solid motivation and includes a worthwhile discussion afterwards. You quickly realize that the author is sharing hard-won experience with you on every page. There are sections on testing standalone code of every description, as well as detailed sections on testing servlets, EJBs, and other less tractable components.

I've been using JUnit for years, but I picked up quite a few useful tips from this enjoyable book. Highly recommended.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews


What Other Items Do Customers Buy After Viewing This Item?