JUnit Recipes

Practical Methods for Programmer Testing

  • Nombre de pages : 721 pages   drapeau anglais
  • Date de parution : 15/09/2004

Résumé

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
  • Difficult-to-test designs, and how to fix them
  • How testing saves time
  • Choose a JUnit extension

Sommaire

  • Part 1 The building blocks
    • Fundamentals
    • Elementary tests
    • Organizing and building JUnit tests
    • Managing test suites
    • Working with test data
    • Running JUnit tests
    • Reporting JUnit results
    • Troubleshooting JUnit
  • Part 2 Testing J2EE
    • Testing and XML
    • Testing and JDBC
    • Testing Enterprise JavaBeans
    • Testing web components
    • Testing J2EE applications
  • Part 3 More JUnit techniques
    • Testing design patterns
    • GSBase
    • JUnit-addons
    • Odds and ends
    • Appendix A Complete solutions
    • Appendix B Essays on testing
    • Appendix C Reading List

Caractéristiques

  • Type produit : Ouvrage
  • Langue : Anglais
  •  
  • Editeur(s) : Manning Publications
  • Auteur(s) : J. B. Rainsberger
  •  
  • ISBN13 : 978-1-932394-23-8
  • EAN13 : 9781932394238
  • ISBN10 : 1-932394-23-0
  • Parution : 15/09/2004
  • Edition : 1ère édition
  •  
  • Nb de pages : 721 pages
  • Format : 19 x 23,5
  • Couverture : Broché
  • Poids : 1258 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