Chapter 52. Zend_Test

Table of Contents

52.1. Introduction
52.2. Zend_Test_PHPUnit
52.2.1. Bootstrapping your TestCase
52.2.2. Testing your Controllers and MVC Applications
52.2.3. Assertions
52.2.3.1. CSS Selector Assertions
52.2.3.2. XPath Assertions
52.2.3.3. Redirect Assertions
52.2.3.4. Response Header Assertions
52.2.3.5. Request Assertions
52.2.4. Examples
52.3. Zend_Test_PHPUnit_Db
52.3.1. Quickstart
52.3.1.1. Setup a Database TestCase
52.3.1.2. Specify a seed dataset
52.3.1.3. A few initial database tests
52.3.2. Usage, API and Extensions Points
52.3.2.1. The Zend_Test_PHPUnit_DatabaseTestCase class
52.3.2.2. Integrating Database Testing with the ControllerTestCase
52.3.3. Using the Database Testing Adapter

52.1. Introduction

Zend_Test provides tools to facilitate unit testing of your Zend Framework applications. At this time, we offer facilities to enable testing of your Zend Framework MVC applications