Loading…

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

Full description

Bibliographic Details
Call Number:Libro Electrónico
Main Author: Bergmann, Sebastian
Format: Electronic eBook
Language:Inglés
Published: Sebastopol, Calif. : O'Reilly, 2005.
Subjects:
Online Access:Texto completo (Requiere registro previo con correo institucional)
Table of Contents:
  • 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.