PHP lithium\test Namespace

Nested Namespaces

lithium\test\filter

Classes

Name Description
Controller Controller for reporting test results in html
Dispatcher The Lithium Test Dispatcher
Filter `Filter` is the base class for all test filters.
Group A `Collection` of tests that represents a test group.
Integration This is the base class for integration tests.
Mocker The Mocker class aids in the creation of Mocks on the fly, allowing you to use Lithium filters on most methods in the class.
MockerChain Mocker chain is used to aid in assertion of method calls.
Report This `Report` object aggregates tests in a group and allows you to run said tests to obtain the results and stats (passes, fails, exceptions, skips) of the test run.
Unit This is the base class for all test cases. Test are performed using an assertion method. If the assertion is correct, the test passes, otherwise it fails. Most assertions take an expected result, a received result, and a message (to describe the failure) as parameters.