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
-
Chapter 1 Introduction
-
Requirements
-
This Book Is Free
-
Conventions Used in This Book
-
How to Contact Us
-
Acknowledgments
-
-
Chapter 2 Automating Tests
-
Chapter 3 PHPUnit's Goals
-
Chapter 4 Installing PHPUnit
-
Chapter 5 The Command-Line Test Runner
-
Chapter 6 Fixtures
-
More setUp( ) than tearDown( )
-
Variations
-
Suite-Level Setup
-
-
Chapter 7 Testing Exceptions and Performance Regressions
-
Exceptions
-
Performance Regressions
-
-
Chapter 8 Incomplete Tests
-
Chapter 9 Test-First Programming
-
BankAccount Example
-
-
Chapter 10 Code-Coverage Analysis
-
Chapter 11 Stubs
-
Self-Shunting
-
-
Chapter 12 Other Uses for Tests
-
Agile Documentation
-
Cross-Team Tests
-
Debugging Tests
-
Refactoring
-
-
Chapter 13 PHPUnit and Phing
-
Formatting Feedback
-
-
Chapter 14 PHPUnit's Implementation
-
Chapter 15 PHPUnit API
-
Overview
-
PHPUnit2_Framework_Assert
-
PHPUnit2_Framework_Test
-
PHPUnit2_Framework_TestCase
-
PHPUnit2_Framework_TestSuite
-
PHPUnit2_Framework_TestResult
-
Package Structure
-
-
Chapter 16 Extending PHPUnit
-
Subclass PHPUnit2_Framework_TestCase
-
Assert Classes
-
Subclass PHPUnit2_Extensions_TestDecorator
-
Implement PHPUnit2_Framework_Test
-
Subclass PHPUnit2_Framework_TestResult
-
Implement PHPUnit2_Framework_TestListener
-
New Test Runner
-
-
Chapter 17 PHPUnit for PHP 4
-
Chapter 18 Bibliography
Product Details
- Title:
- PHPUnit Pocket Guide
- By:
- Sebastian Bergmann
- Publisher:
- O'Reilly Media
- Formats:
-
- 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
