9/15/2010

JUnit in Action, 2nd Edition - pdf

JUnit in Action, 2nd EditionBook 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.

About the Author
Building on the first edition by Vincent Massol and Ted Husted, authors Petar Tahchiev, Stan Silvert and Felipe Leme team up to provide a completely-updated version of this Manning classic.

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. He is the leader of the Bulgarian Java User Group (BGJUG) and a frequent speaker at OpenFest, ApacheCON, CommunityONE, and other conferences.

Felipe Leme has worked as a software engineer with Java since 1996 and is an active member of the community. He is a 4-time repeat speaker at JavaOne, has written dozens of Java-related articles and contributed to many open-source projects including DbUnit and Jakarta Cactus, and became an individual JCP in 2003.

Stan Silvert was once the only JSF guy at JBoss, but with the success of Seam framework, he is now one of many. A long-time proponent of testing, he is the driving force behind JSFUnit.

Book Details

  • Paperback: 504 pages
  • Publisher: Manning Publications; 2 edition (July, 2010)
  • Language: English
  • ISBN-10: 1935182021
  • ISBN-13: 978-1935182023
  • File Size: 8.4 MiB
  • Hits: 2,754 times
Tags:   · · · ·