Приглашаем посетить
Хемницер (hemnitser.lit-info.ru)

Section 15-1.  Overview

Previous
Table of Contents
Next

15-1. Overview

Most of the time, you will encounter five classes or interfaces when you are using PHPUnit:


PHPUnit2_Framework_Assert

A collection of static methods for checking actual values against expected values


PHPUnit2_Framework_Test

The interface of all objects that act like tests


PHPUnit2_Framework_TestCase

A single test


PHPUnit2_Framework_TestSuite

A collection of tests


PHPUnit2_Framework_TestResult

A summary of the results of running one or more tests

Figure 7 shows the relationship of the five basic classes and interfaces in PHPUnit: PHPUnit2_Framework_Assert, PHPUnit2_ Framework_Test, PHPUnit2_Framework_TestCase, PHPUnit2_ Framework_TestSuite, and PHPUnit2_Framework_TestResult.

Section 15-1.  Overview

Figure 1-7. The five basic classes and interfaces in PHPUnit



Previous
Table of Contents
Next