Cargando…

PHPUnit pocket guide /

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 run...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Bergmann, Sebastian
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol, Calif. : O'Reilly, 2005.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • PHPUnit Pocket Guide; Introduction; Requirements; This Book Is Free; Conventions Used in This Book; How to Contact Us; Acknowledgments; Automating Tests; PHPUnit's Goals; Installing PHPUnit; The Command-Line Test Runner; Fixtures; More setUp(??) than tearDown(??); Variations; Suite-Level Setup; Testing Exceptions and Performance Regressions; Exceptions; Performance Regressions; Incomplete Tests; Test-First Programming; BankAccount Example; Code-Coverage Analysis; Stubs; Self-Shunting; Other Uses for Tests; Agile Documentation; Cross-Team Tests; Debugging Tests; Refactoring.