- S'inscrire
- |
- Mon compte
- |
- Newsletter
- |
- Aide
PHPUnit
Test-Driven Development in PHP
- Auteur(s) : Sebastian Bergmann
- Editeur : O'Reilly
-
Nombre de pages : 80 pages
- Date de parution : 18/10/2005
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.
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
|
|
Les nouveautés sur le même thème (Voir tout)
Nos clients ont aussi acheté
Dans la même collection (Voir tout)
Consultez aussi
- Tous les livres de la collection Pocket Guide de l'éditeur O'Reilly
- Tous les livres de Sebastian Bergmann
- Sélection de livres d'informatique en anglais
- Info, photo... Nos interviews auteurs
Les thèmes associés
- Informatique > Développement d'applications > Outils de développement
- Informatique > Développement d'applications > Langages > PHP
- Informatique > Développement d'applications > Langages
- 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 > Systèmes d'exploitation > Linux
- Informatique > Bases de données > Produits SGBD > MySQL













Devenez Fan !
Suivez-nous sur Twitter