JUnit in Action

JUnit in Action

Paperback(Second Edition)

$31.49 $49.99 Save 37% Current price is $31.49, Original price is $49.99. You Save 37%.
View All Available Formats & Editions
Eligible for FREE SHIPPING
  • Get it by Friday, August 25 ,  Order by 12:00 PM Eastern and choose Expedited Delivery during checkout.
    Same Day delivery in Manhattan. 


JUnit in Action by Petar Tahchiev, Felipe Leme, Vincent Massol, Gary Gregory

When JUnit was first introduced a decade ago by Kent Beck and Erich Gamma, the Agile movement was in its infancy, "Test Driven Development" was unknown, and unit testing was just starting to move into the typical developer's vocabulary. Today, most developers acknowledge the benefits of unit testing and rely on the increasingly sophisticated tools now available. The recently released JUnit 4.5 represents the state of the art in unit testing frameworks, and provides significant new features to improve the Java development process.

JUnit in Action, Second Edition is an up-to-date guide to unit testing Java applications (including Java EE applications) using the JUnit framework and its extensions. This book provides techniques for solving real-world problems such as testing AJAX applications, using mocks to achieve testing isolation, in-container testing for Java EE and database applications, and test automation.

Written to help readers exploit JUnit 4.5, the book covers recent innovations such as the new annotations that simplify test writing, improved exception handling, and the new assertion methods. You'll also discover how to use JUnit extensions to test new application styles and frameworks including Ajax, OSGi, and HTML-based presentation layers.

Using a sample-driven approach, various unit testing strategies are covered, such as how to unit test EJBs, database applications, and web applications. Also addressed are testing strategies using freely available open source frameworks and tools, and how to unit test in isolation with Mock Objects. The book will also bring you up to speed on the latest thinking in TDD, BDD, Continuous Integration, and other practices related to unit testing.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

Product Details

ISBN-13: 9781935182023
Publisher: Manning Publications Company
Publication date: 07/28/2010
Edition description: Second Edition
Pages: 504
Sales rank: 1,252,948
Product dimensions: 7.30(w) x 9.20(h) x 1.20(d)

About the Author

Petar Tahchiev is a software engineer with Hewlett Packard and serves as the Jakarta Cactus lead developer and a Jakarta PMC member with the Apache Software Foundation.

Felipe Leme lives in California and has worked as a softwareengineer with Javasince 1996. He is a four-time repeat speaker at JavaOne, has written dozens of Java-related articles, and contributed to many open source projects including DbUnit and Jakarta Cactus.

Vincent Massol authored the original JUnit in Action and is a leading member ofthe Apache community. He lives near Paris and is Chief Technology Officer of XWiki which develops open source enterprise wikis and collaborative softwareproducts.

Gary Gregory is an active member of The Apache Software Foundation, the Apache Jakarta Project Management Committee and contributes regularly to various Apache Commons projects. He lives in California.

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

JUnit in Action 3 out of 5 based on 0 ratings. 2 reviews.
cemkaner More than 1 year ago
Not many books have come out on unit testing recently. Most of the discussions of jUnit and associated tools are unusably out of date. And most of them focus on the technology--how to create and organize your unit tests rather than what tests to write. This book provides an excellent introduction to the technology, with clear examples that my students can easily understand. I haven't noticed errors yet. The book's guidance on unit test design (what errors to look for, how to design tests to find them) is shallow, but I haven't yet noticed _bad_ advice, which is a significant benefit compared to several other books in this space.
Anonymous More than 1 year ago