JUnit Recipes: Practical Methods for Programmer Testing by J B Rainsberger, Scott Stirling (Contribution by)

BUY IT NEW

  • $49.95 List price
    $47.45 Online price
    $42.70 Member price
    (Save 14%)
    Limited Time Offer! Everyone receives the Member Price on books.
    See Details
  • skip to cart
  • Add To List uiAction=GetAllLists&page=List&pageType=list&ean=9781932394238&productCode=BK&maxCount=100&threshold=3

GET FREE SHIPPING ON ORDERS OF $25 OR MORE

DELIVERY & GIFT DETAILS:

Usually ships within 2-3 days

Delivery Time and Shipping Rates

Eligible for gift wrap & gift message.

BUY IT USED

11 copies from $28.69

See All Available

(Paperback)

  • Pub. Date: September 2004
  • 721pp
  • Sales Rank: 466,759
    Buy it Used: 11 copies from $28.69 See All Available
     
    • Overview
    • Editorial Reviews
    • Customer Reviews
    • Features

    Product Details

    • Pub. Date: September 2004
    • Publisher: O'Reilly Media, Incorporated
    • Format: Paperback, 721pp
    • Sales Rank: 466,759

    Synopsis

    When testing becomes a developer's habit good things tend to happen—good productivity, good code, and good job satisfaction. If you want some of that, there's no better way to start your testing habit, nor to continue feeding it, than with JUnit Recipes. In this book you will find one hundred and thirty-seven solutions to a range of problems, from simple to complex, selected for you by an experienced developer and master tester. Each recipe follows the same organization giving you the problem and its background before discussing your options in solving it.

    JUnit—the unit testing framework for Java—is simple to use, but some code can be tricky to test. When you're facing such code you will be glad to have this book. It is a how-to reference full of practical advice on all issues of testing, from how to name your test case classes to how to test complicated J2EE applications. Its valuable advice includes side matters that can have a big payoff, like how to organize your test data or how to manage expensive test resources.

    What's Inside:

    Getting started with JUnit
    Recipes for:
    Servlets; JSPs; EJBs; Database code; much more
    Difficult-to-test designs, and how to fix them
    How testing saves time
    Choose a JUnit extension:
    HTMLUnit; XMLUnit; ServletUnit; EasyMock; and more!

    More Reviews and Recommendations

    Biography

    Rainsberger is a deeloper and consultant who has been a leader in JUnit community since 2001.

    Stirling has worked as a technical support and QA engineer for JRun since Allaire acquired the JRun product.

    Customer Reviews

    • Reader Rating:
    • Ratings: 1Reviews: 1

    JUnit Recipes: Practical Methods for Programmer Testingby Anonymous

    Reader Rating:
    See Detailed Ratings

    August 02, 2004: J. B. Rainsberger?s JUnit Recipes is a wonderful compendium of tips and tricks that can quickly take anyone from novice to expert at JUnit. The organization of the book should make it appealing to unit-testing programmers of all levels. Early chapters are highly introductory, covering the installation and first uses of JUnit. Later chapters cover testing of JDBC, Enterprise Java Beans, XML, and more. JUnit Recipes includes the best discussions I?ve read on how to test database applications and on the complicated art of managing test data. This is probably not a book you will read every chapter of. In my programming, for example, I don?t use EJB so I only skimmed that chapter. But at over 700 pages is much more of an encyclopedia of wonderful testing techniques than a book that is meant to be read cover to cover. As its title implies, JUnit Recipes is a cookbook of ideas that will allow you to serve up better, and better-tested, applications.