
PHPUnit
Test-Driven Development in PHP
Sebastian Bergmann - Collection Pocket Guide
Résumé
Smart web developers will tell you that the sooner you detect your code mistakes, the quicker you can fix them, and the less the project will cost in the long run. Well, the most efficient way to detect your mistakes in PHP is with PHPUnit, an open source framework that automates unit testing by running a battery of tests as you go. The benefits of PHPUnit are significant:
- a reduction in the effort required to frequently test code
- fewer overall defects
- added confidence in your code
- improved relations with your open source teammates
The only problem with this popular testing tool was its lack of documentation-until now, that is. For this, O'Reilly went right to the source, as Sebastian Bergmann, the author of PHPUnit Pocket Guide, also happens to be PHPUnit's creator. This little book brings together hard-to-remember information, syntax, and rules for working with PHPUnit. It also delivers the insight and sage advice that can only come from the technology's creator. Coverage of testing under agile methodologies and Extreme Programming (XP) is also included.
The latest in O'Reilly's series of handy Pocket Guides, this quick-reference book puts all the answers are right at your fingertips. It's an invaluable companion for anyone interested in testing the PHP code they write for web applications.
L'auteur - Sebastian Bergmann
Sebastian Bergmann was born in 1978, lives in Siegburg, Germany, and studies computer science and biology at the University of Bonn. He is the author of the PHPUnit Pocket Guide and the German book Professionelle Softwareentwicklung mit PHP 5, writes for both print and online media, and is a frequent speaker at conferences.
Sebastian spends his free time with the development of free software, is a member of the PHP and Gentoo Linux development teams, and is author of a variety of PHP software projects such as PHPUnit and phpOpenTracker.
Sommaire
- Introduction
- Automating Tests
- PHPUnit's Goals
- Installing PHPUnit
- The Command-Line Test Runner
- Fixtures
- Testing Exceptions and Performance Regressions
- Incomplete Tests
- Test-First Programming
- Code-Coverage Analysis
- Stubs
- PHPUnit and Phing
- PHPUnit's Implementation
- PHPUnit API
- Extending PHPUnit
- PHPUnit for PHP 4
- Bibliography
- Index
Caractéristiques techniques
PAPIER | |
Éditeur(s) | O'Reilly |
Auteur(s) | Sebastian Bergmann |
Collection | Pocket Guide |
Parution | 18/10/2005 |
Nb. de pages | 80 |
Format | 11 x 18 |
Couverture | Broché |
Poids | 93g |
Intérieur | Noir et Blanc |
EAN13 | 9780596101039 |
ISBN13 | 978-0-596-10103-9 |
Avantages Eyrolles.com
Nos clients ont également acheté
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 Systèmes d'exploitation Linux
- Informatique Bases de données Produits SGBD MySQL
- Informatique Développement d'applications Conception et développement web
- Informatique Développement d'applications Conception et développement web Serveurs web et serveurs d'application Apache
- Informatique Développement d'applications Langages
- Informatique Développement d'applications Langages PHP
- Informatique Développement d'applications Outils de développement