Résumé
Developers in the know are switching to a new testing strategy - unit testing - which interleaves coding and testing in an integrated way. This has proven to be a powerful combination that results in better designed software with fewer defects and faster delivery cycles.
JUnit in Action shows you how to benefit from this strategy using the popular open source testing framework, JUnit. It's a no fluff discussion of unit testing techniques and best practices. It gives examples of tough situations such as how to unit test EJBs, database applications, JSPs and Taglibs. It discusses unit testing of J2EE applications, and shows how to test in automated builds.
What's Inside
- Testing in isolation with mock objects
- In-container testing with Cactus
- Automated builds with Ant and Maven
- Unit testing from within Eclipse
- Test Driven Development principles
- Unit testing
- Java apps
- Servlets
- JSP
- Taglibs
- Filters
- EJB
- DB apps
Contents
- JUnit distilled
- JUnit jumpstart
- Exploring JUnit
- Sampling JUnit
- Examining software tests
- Automating JUnit
- Testing strategies
- Coarse-grained testing with stubs
- Testing in isolation with mock objects
- In-container testing with Cactus
- Testing components
- Unit-testing servlets and filters
- Unit-testing JSPs and taglibs
- Unit-testing database applications
- Unit-testing EJBs
- Appendix A The source code
- Appendix B Eclipse quick start
L'auteur - Vincent Massol
Vincent Massol is Chief Technology Officer of Pivolis
which specializes in agile offshore software development..
Vince is an active member of the Maven, Gump and
MockObjects development teams and the creator of the
Jakarta Cactus testing framework. He lives in the City of
Light, Paris, France.
L'auteur - Ted Husted
Ted Husted is an acknowledged Struts authority, an
active member of the Struts development team, and manager
of the JGuru Struts Forum. As a consultant, Ted has worked
with professional Struts development teams throughout the
United States. Ted also helps manage the Apache Jakarta
project, which hosts the Struts framework. Ted lives in
Fairport, New York with his wife, two children, four
computers, and an aging cat.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Manning Publications |
Auteur(s) | Vincent Massol, Ted Husted |
Collection | In action |
Parution | 21/11/2003 |
Nb. de pages | 384 |
Format | 18,7 x 23,5 |
Couverture | Broché |
Poids | 655g |
Intérieur | Noir et Blanc |
EAN13 | 9781930110991 |
ISBN13 | 978-1-930110-99-1 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse
- Informatique Développement d'applications Gestion de projets
- Informatique Développement d'applications Conception et développement web Serveurs web et serveurs d'application
- Informatique Développement d'applications Conception et développement web Serveurs web et serveurs d'application Tomcat
- Informatique Développement d'applications Conception et développement web Serveurs web et serveurs d'application JBoss
- Informatique Développement d'applications Langages Java - J2EE JavaServer Pages (JSP)
- Informatique Développement d'applications Langages Java - J2EE EJB
- Informatique Développement d'applications Modélisation et génie logiciel Tests et qualité logiciels
- Informatique Développement d'applications Modélisation et génie logiciel Design patterns