Buying Options
PHPUnit Pocket Guide
Print $9.95
Add to Cart
Print+Ebook $10.95
Add to Cart
Ebook $7.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £7.50
Add to Cart
What is this?
Description
This handy guide answers all your PHPUnit questions, and then some. Written by the tool's creator, PHPUnit Pocket Guide delivers insight and sage advice not found anywhere else. It brings together hard-to-remember information, syntax, and rules for working with this popular code-testing tool. Perfect for developers of any level.
Full Description
Table of Contents
  1. Chapter 1 Introduction

    1. Requirements

    2. This Book Is Free

    3. Conventions Used in This Book

    4. How to Contact Us

    5. Acknowledgments

  2. Chapter 2 Automating Tests

  3. Chapter 3 PHPUnit's Goals

  4. Chapter 4 Installing PHPUnit

  5. Chapter 5 The Command-Line Test Runner

  6. Chapter 6 Fixtures

    1. More setUp( ) than tearDown( )

    2. Variations

    3. Suite-Level Setup

  7. Chapter 7 Testing Exceptions and Performance Regressions

    1. Exceptions

    2. Performance Regressions

  8. Chapter 8 Incomplete Tests

  9. Chapter 9 Test-First Programming

    1. BankAccount Example

  10. Chapter 10 Code-Coverage Analysis

  11. Chapter 11 Stubs

    1. Self-Shunting

  12. Chapter 12 Other Uses for Tests

    1. Agile Documentation

    2. Cross-Team Tests

    3. Debugging Tests

    4. Refactoring

  13. Chapter 13 PHPUnit and Phing

    1. Formatting Feedback

  14. Chapter 14 PHPUnit's Implementation

  15. Chapter 15 PHPUnit API

    1. Overview

    2. PHPUnit2_Framework_Assert

    3. PHPUnit2_Framework_Test

    4. PHPUnit2_Framework_TestCase

    5. PHPUnit2_Framework_TestSuite

    6. PHPUnit2_Framework_TestResult

    7. Package Structure

  16. Chapter 16 Extending PHPUnit

    1. Subclass PHPUnit2_Framework_TestCase

    2. Assert Classes

    3. Subclass PHPUnit2_Extensions_TestDecorator

    4. Implement PHPUnit2_Framework_Test

    5. Subclass PHPUnit2_Framework_TestResult

    6. Implement PHPUnit2_Framework_TestListener

    7. New Test Runner

  17. Chapter 17 PHPUnit for PHP 4

  18. Chapter 18 Bibliography

    View Full Table of Contents
    Product Details
    Title:
    PHPUnit Pocket Guide
    By:
    Sebastian Bergmann
    Publisher:
    O'Reilly Media
    Formats:
    • Print
    • Ebook
    • Safari Books Online
    Print Release:
    September 2005
    Ebook Release:
    February 2009
    Pages:
    96
    Print ISBN:
    978-0-596-10103-9
    | ISBN 10:
    0-596-10103-1
    Ebook ISBN:
    978-0-596-10580-8
    | ISBN 10:
    0-596-10580-0
    Customer Reviews
    About the Author
    1. Sebastian Bergmann

      Sebastian Bergmann studies Computer Science at the University of Bonn in Germany . and spends his free time developing Free Software. A member of the PHP and Gentoo Linux development teams and author of a variety of PHP software projects, including PHPUnit and phpOpenTracker, he writes for both print and online media and is a frequent speaker at conferences. In January 2005, Sebastian published his first book ("Professionelle Softwareentwicklung mit PHP 5"5") with the German dpunkt.verlag GmbH.

      View Sebastian Bergmann's full profile page.

    • Book cover of PHPUnit Pocket Guide