Java Testing Patterns

Timely. Practical. Reliable

  • Nombre de pages : 400 pages   drapeau anglais
  • Date de parution : 11/10/2004

Résumé

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 Clover 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 I Unit 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 pattern
  • 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.

Sommaire

  • Critical Testing Concepts
  • Unit Testing
  • Integration Testing
  • End-to-End Testing
  • Database Testing
  • Assertion Pattern
  • Mock Object Pattern
  • Mock Data Access Objects (DAOs)
  • Test Database Pattern
  • Controlled Exception Pattern
  • Self-Shunt Pattern
  • AbstractTest Pattern
  • Category-Partition Pattern
  • Use Case Testing Pattern
  • ObjectMother Pattern
  • Quasi-Modal Testing Pattern
  • Sample Application Description
  • Design and Components of the Sample Application
  • Unit Tests for the Sample Application
  • Functional Tests for the Sample Application
  • Integrating Unit Tests into Ant

Caractéristiques

  • Parution : 11/10/2004
  • Edition : 1ère édition
  •  
  • Nb de pages : 400 pages
  • Format : 18,5 x 23,5
  • Couverture : Broché
  • Poids : 645 g
  • Intérieur : Noir et Blanc
  •  
  • Niveau : Avancé

mentions légales | conditions générales de vente | copyright © 2012
(1) livraison gratuite à partir de 49 € en France métropolitaine