JUnit in Action, Second Edition Review

JUnit in Action, Second Edition
Average Reviews:

(More customer reviews)
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.

Click Here to see more reviews about: JUnit in Action, Second Edition

Product Description:

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.



Buy NowGet 37% OFF

Want to buy JUnit in Action, Second Edition at other amazon sites? Click the corresponding icon below:



buy it at amazon.combuy it at amazon.co.ukbuy it at amazon.cabuy it at amazon.debuy it at amazon.fr

0 comments:

Post a Comment