Automotive Holiday Deals Books Holiday Gift Guide Shop Men's Athletic Shoes Learn more nav_sap_plcc_6M_fly_beacon Ed Sheeran egg_2015 All-New Amazon Fire TV Beauty Deals Martha Stewart American Made Amazon Gift Card Offer minions minions minions  Amazon Echo Starting at $84.99 Kindle Black Friday Deals Classics and Essentials in CDs & Vinyl Outdoor Deals on Tikes

Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your email address or mobile phone number.

Java Testing Patterns 1st Edition

5 customer reviews
ISBN-13: 072-3812499854
ISBN-10: 047144846X
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used
Condition: Used - Good
In Stock. Sold by Atlanta Book Company
Condition: Used: Good
Comment: Book shows minor use. Cover and Binding have minimal wear and the pages have only minimal creases. A tradition of southern quality and service. All books guaranteed at the Atlanta Book Company. Our mailers are 100% recyclable.
Access codes and supplements are not guaranteed with used items.
18 Used from $1.55
+ $3.99 shipping
More Buying Choices
9 New from $51.64 18 Used from $1.55
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

Get Up to 80% Back Rent Textbooks

Editorial Reviews

From the Back Cover

Take your software development skills to the next level with this innovative approach to software testing

As an experienced Java developer, you’re probably well aware of how to use software design patterns for building better software. Now, these same lessons can be applied to software testing. With this comprehensive book, you’ll discover how to use testing patterns along with design patterns in order to make the overall development process a lot more efficient and ensure that your code is easier to maintain. Testing experts Thomas, Young, Brown, and Glover present a brief introduction to design patterns and then walk you through each of the essential types of tests that comprise a complete software test plan.

The authors then demonstrate how to use these patterns to build a real-world test suite. Each pattern contains complete Java code and detailed steps for using it to test an application. The authors also explore popular open source testing tools such as Ant and JUnit so you’ll have everything you need to implement a wide range of testing solutions.

With this book, you’ll quickly learn how to apply the patterns approach to software testing. The authors arm you with detailed patterns for each of the test types, including:

  • Unit testing patterns
  • Database testing patterns
  • Integration testing patterns
  • Use case testing patterns

The companion Web site contains code for Java pattern implementations as well as code for sample applications and test suites. This site also includes diagrams from the book and a bonus chapter.

About the Author

JON THOMAS is a senior software engineer for ScriptSave, where he creates and adopts a variety of patterns for building and testing Java applications. He was also a contributor to the bestselling book Java Tools for Extreme Programming (Wiley).

MATTHEW YOUNG is the senior Java architect at HealthTrio in Tucson, Arizona. He champions the causes of UML, the Agile process, and engineering process improvement.

KYLE BROWN is a senior technical staff member with IBM Software Services for WebSphere. He has published more than fifty papers and articles on software-engineering topics, including database patterns.

ANDREW GLOVER is CTO for Vanward Technologies and specializes in building automated testing frameworks for Java and a variety of other platforms.


Hero Quick Promo
Holiday Deals in Kindle Books
Save up to 85% on more than 1,000 Kindle Books. These deals are valid until November 30, 2015. Learn more

Product Details

  • Series: Java
  • Paperback: 424 pages
  • Publisher: Wiley; 1 edition (October 1, 2004)
  • Language: English
  • ISBN-10: 047144846X
  • ISBN-13: 978-0471448464
  • Product Dimensions: 7.5 x 0.9 x 9.2 inches
  • Shipping Weight: 1.5 pounds
  • Average Customer Review: 3.2 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Best Sellers Rank: #4,058,442 in Books (See Top 100 in Books)

More About the Author

I'm a Distinguished Engineer with IBM where I focus on emerging technologies, which has led me down a lot of interesting paths over the years. I've written books on Design Patterns in Smalltalk, Object-Relational Mapping, WebSphere Application Server (several of those) and Mobile development. I'm also a series editor for IBM Press for the new DeveloperWorks series. I write a lot of articles for DeveloperWorks, blog, and tweet at @kgb1001001

Customer Reviews

Most Helpful Customer Reviews

13 of 15 people found the following review helpful By Jeanne Boyarsky on October 7, 2004
Format: Paperback
"Java Testing Patterns" is one of those books where it appears nobody edited. Java class/method names and acronyms are used in lower/upper case interchangeably. Writing class names in all lowercase in a Java book doesn't inspire much confidence in the accuracy of the rest of the book. There are many typos and inconsistencies that make it hard to read.

The formatting is also very poor. The code looks good in Eclipse, but not in the book. Lines wrap without indentation. Similarly, UML diagrams are randomly split into pages. They are supposed to be on the web, but they aren't yet.

The intro states a target audience of "software engineers, engineering managers and software testers." This book is heavily reliant on reading code. After the first few chapters, I don't think managers or testers would benefit.

Speaking of code, I think the code is too verbose and complicated - especially for a book. A few times, a simple JavaBean's source takes up one to two pages. One DAO takes up 12 pages. There is a test method with 16 branches. These examples make understanding quite difficult.

Now as for what the book does well. There are five good chapters on patterns. However, two are in essence the Factory and State patterns. The appendices are very good too. I wouldn't buying a book for three chapters and some appendices. Other books cover the material better. I would not recommend this book in its current edition.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
3 of 3 people found the following review helpful By Chuck Larsen on October 8, 2004
Format: Paperback
I've only read a couple patterns books, including the classic GoF. The only thing I don't like about the GoF book is that the explanations are very academic and the examples are far from useful in my work.

What I like about this Java testing patterns book is that it is extremely practical and therefor useful. For me it bridged the gap from a highly theoretical treatment of patterns to a detailed understanding of how to really employ patterns while coding in Java. The examples are rich and detailed and reflect the kind of development work I do (ie the examples are not simple strawmen set up to demonstrate an isolated concept).

Also, this book does a very good job of presenting a selection of patterns that you are likely to use *in combination* and with popular development tools. For instance the book not only describes the Mock Object, MockDAO, and Test Database patterns but also explains best practices for using DbUnit, JUnit, and other tools when testing code written with these patterns. I'm extremely thankful for that advice which is the kind of thing I've not found anywhere else.

The code actually works (amazing!) and is very useful. The formatting is at times a little odd in the book but it is defintitely readable.

I also appreciate the size of the UML diagrams and their readability...thank you for not squeezing them all on one page!

The only downside to this book is that I wish it covered more patterns. Hopefully the authors will cover more in the next edition or release more material on the Web site.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
1 of 1 people found the following review helpful By Ted Sloan on October 8, 2004
Format: Paperback
"Java Testing Patterns" is a welcome take on maximizing the use of patterns in your Java development and testing process. The book begins with a very crisply written description of what testing is and what it is not. There are some absolutely vital concepts in this chapter that anyone responsible for testing code should read and understand.

The next chapters each describe the concepts involved in a particular type of testing: unit, integration, end-to-end, and database. These chapters do an excellent job of isolating discussing the purpose, process, and pitfalls involved in each type of testing.

From there the book dives into the actual patterns. These chapters are full of good testing advice, and they contain code and sample applications that demonstrate a realistic employment of each pattern. My only nit with this book is that a couple chapters are not quite as well written as others (I thought Self-Shunt would have benefitted from additional description and analysis).

The book also does an excellent job of placing patterns within the entire development/testing context; it describes not only the patterns, but also the tools and processes you need to use with these patterns to fully test your application.

This is not your usual patterns book, which makes it a welcome addition to the literature.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
1 of 1 people found the following review helpful By Jack D. Herrington on November 20, 2004
Format: Paperback
If you are a patterns buff you will probably love this book. It takes a Gang of Four Design Patterns approach to various types of testing, starting with unit testing in the abstract, but then covering use of mock objects, test database, exception testing and other areas. It's a wide coverage area but the patterns remain fairly abstract. For those of a more pragmatic mind you should look at Manning's JUnit Recipes.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
Not the best of Books for intermediate or experienced programmer. Keep away from this book if you are looking to learn anything about test case design patterns.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse