Manning Logo
Home | Ordering Info | Shopping Cart | Manage My Account | Login
Attention customers: online shopping is now available exclusively through our main website: http://www.manning.com. Thank you.
JUnit in Action

Inside the book

Sample Chapters Table of Contents Index Preface Book Reviews Source Code Author Online

Manning Blog

Why small is sweet?

Author Blogs

Dave Crane more...

Author Calendar

Upcoming Events

Catalog

Java .NET Perl XML All by Subject All by Title

About...

Manning Contact Us Ordering FAQs ebooks Covers Sandbox Forums Distributors Manning Early Access Program (MEAP) Affiliate Program Academia/Publicity User Group Program Press Releases Jobs

Manning Publications Co.
209 Bruce Park Avenue
Greenwich, CT 06830

JUnit in Action
Vincent Massol with Ted Husted

2003 | 384 pages
ISBN: 1930110995
$39.95 Softbound print book  
$20.00 ThoutReader + PDF ebook  

Source Code

Source code for JUnit in Action is contained in a single ZIP file.

Free unzip programs can be found at www.download.com.

junitbook 1.0 -- 3.8 MB

The JUnit in Action source code has been donated to the Open Source community under an Apache Public License. It is under community development on SourceForge.

DESCRIPTION

Developers in the know are switching to a new testing strategy - unit testing - which interleaves coding and testing in an integrated way. This has proven to be a powerful combination that results in better designed software with fewer defects and faster delivery cycles.

JUnit in Action shows you how to benefit from this strategy using the popular open source testing framework, JUnit. It's a no fluff discussion of unit testing techniques and best practices. It gives examples of tough situations such as how to unit test EJBs, database applications, JSPs and Taglibs. It discusses unit testing of J2EE applications, and shows how to test in automated builds.

What's Inside

  • Testing in isolation with mock objects
  • In-container testing with Cactus
  • Automated builds with Ant and Maven
  • Unit testing from within Eclipse
  • Test Driven Development principles
  • Unit testing
    • Java apps
    • Servlets
    • JSP
    • Taglibs
    • Filters
    • EJB
    • DB apps

More Information

If you have questions about JUnit in Action, please use the following mailing lists or forums:
  • For questions related purely to the book itself or for any other questions, please use the Manning Author Online Forum.
  • For questions related to the book's source code, please use the SourceForge forum.
  • For questions related to JUnit, please use the JUnit mailing list on YahooGroups.
  • For questions related to Cactus, please use the Cactus mailing list.
  • For questions related to Maven, please use the Maven mailing list.
Please note that for mailing lists, you'll need to subscribe to the list before being able to post messages.

WHAT THE READERS SAY ABOUT THIS BOOK...

"There are a lot of poorly written books out there. Some are just plain wrong and others just barely manage to solve the problem, but don't go much further than that. With a number of the Manning books I can see myself start to think differently about the problems and so I end up being a better developer. The JUnit in Action book was like that for me. At first it bothered me that I was changing my code in order to test it, but then I started seeing that the changes made the code better overall. Now my code is littered with factory methods and similar structures.

You guys are doing good stuff."
-- Joshua Smith, a reader

"The book is liberally sprinkled with JUnit best practices that every reader should take to heart. The examples are clear and real world. The author addresses the complex issues of unit testing EJBs, and web apps head on. He does not shy away from the real issues that come with testing these kinds of applications."
-- Wade Matveyenko, A Reader

ABOUT THE AUTHORS...

Vincent Massol is Chief Technology Officer of Pivolis which specializes in agile offshore software development.. Vince is an active member of the Maven, Gump and MockObjects development teams and the creator of the Jakarta Cactus testing framework. He lives in the City of Light, Paris, France.

Ted Husted is the lead author of Struts in Action.

Home | Catalog | Privacy Policy | About Manning

© 2003-2006 Manning Publications Co.