- Jubilee offer: spend £10 or more on any product sold by Amazon.co.uk on or before June 6 and you can buy The Diamond Jubilee A Classical Celebration Album for just £2.50 Here's how (terms and conditions apply)
| ||||||||||||
![]() Trade In this Item for up to £0.25
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in JUnit in Action for an Amazon.co.uk gift card of up to £0.25, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.
|
|
There is a newer edition of this item:
|
Product details
|
JUnit in Action is an example-driven, how-to book about unit testing Java applications (including J2EE applications) using the JUnit framework and its extensions. Intended readers are software architects, developers, testing teams, development managers, Extreme Programmers, or anyone practicing any Agile Methodology.
JUnit in Action is about solving tough real-world problems such as unit testing legacy applications, writing real tests for real objects, automating tests, testing in isolation, unit testing J2EE and database applications, and more.
Vincent Massol is the creator of the Jakarta Cactus framework. He is also an active member of the Maven, Gump, Struts and MockObjects development teams. After having spent 4 years as a Technical Architect on several major projects (mostly J2EE), Vincent is now the co-founder and CTO of Pivolis, a company specialized in applying Agile Methodologies to Offshore Software Development. Consultant and lecturer during the day and open source developer at night, Vincent dreams of the time when he will be wise enough to devote all his time to his wife and two children. Vincent currently lives in Paris, France.
Ted Husted is the lead author of the best-selling Struts in Action, an active member of the Struts development team, and manager of the JGuru Struts Forum. As a consultant and lecturer, Ted has worked with Java development teams throughout the United States. Ted's most recent development project uses Test-Driven Design throughout and is available as open source [wqdata]. Ted lives in Fairport NY with his wife, two children, four computers, and anaging cat.
Tags Customers Associate with This Product(What's this?)Click on a tag to find related items, discussions, and people.
|
The book starts with the basics of using JUnit but then moves on to explaining the intricacies of JUnit. UML diagrams clearly show the flow of control within JUnit and your unit tests. The author gives a good description of how to integrate JUnit with Ant, Maven, and Eclipse. The book also shows how to do unit testing of Servlets and JSPs which can be much more complex to test. The author demonstrates both the use of Cactus as well as the use of mock objects for J2EE testing. In fact, the best part of the book is that the author helps you determine how to decide what type of testing strategy is right for your application.
I thoroughly enjoyed this book and found the author's comments clear and insightful. The author supplies plenty of code samples with explanations of not just how but why we do our testing a certain way. The author's own experience is passed on to us with his "best practices". Anyone who is writing Java code should read and understand this book. The quality of the code you produce will vastly improve.
- 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).
|
|
|