Classes
Marker interface for PHPUnit exceptions.
A set of assertion methods.
Thrown when an assertion failed.
BaseTestListener
deprecated
Implementation of the TestListener interface that does not do anything.
Constraint that asserts that the array it is evaluated for has a given key.
Constraint that asserts that the array it is evaluated for has a specified subset.
Constraint that evaluates against a specified closure.
Constraint that asserts that the class it is evaluated for has a given
attribute.
Constraint that asserts that the class it is evaluated for has a given
static attribute.
Abstract base class for constraints which can be applied to any value.
Constraint that checks if the directory(name) that it is evaluated for exists.
Constraint that checks if the file(name) that it is evaluated for exists.
Constraint that asserts that the value it is evaluated for is greater
than a given value.
Constraint that accepts any input value.
Constraint that checks whether a variable is empty().
Constraint that checks if one value is equal to another.
Constraint that accepts false.
Constraint that accepts finite.
Constraint that asserts that one value is identical to another.
Constraint that accepts infinite.
Constraint that asserts that the object it is evaluated for is an instance
of a given class.
Constraint that asserts that a string is valid JSON.
Constraint that accepts nan.
Constraint that accepts null.
Constraint that checks if the file/dir(name) that it is evaluated for is readable.
Constraint that accepts true.
Constraint that asserts that the value it is evaluated for is of a
specified type.
Constraint that checks if the file/dir(name) that it is evaluated for is writable.
Asserts whether or not two JSON objects are equal.
Provides human readable messages for each JSON error.
Constraint that asserts that the value it is evaluated for is less than
a given value.
Logical AND.
Logical NOT.
Logical OR.
Logical XOR.
Constraint that asserts that the object it is evaluated for has a given
attribute.
Constraint that asserts that the string it is evaluated for matches
a regular expression.
Constraint that asserts that the string it is evaluated for contains
a given string.
Constraint that asserts that the string it is evaluated for ends with a given
suffix.
Constraint that asserts that the string it is evaluated for begins with a
given prefix.
Constraint that asserts that the Traversable it is applied to contains
a given value.
Constraint that asserts that the Traversable it is applied to contains
only values of a given type.
Wrapper for PHP errors.
Base class for all PHPUnit Framework exceptions.
Wraps Exceptions thrown by code under test.
Exception for expectations which failed their check.
A marker interface for marking any exception/error as result of an unit
test as incomplete implementation or currently not implemented.
An incomplete test case
Interface for classes that can return a description of itself.
A skipped test case
Creates a synthetic failed assertion.
A Test can be run and collect its results.
A TestCase defines the fixture to run multiple tests.
A TestFailure collects a failed test together with the caught exception.
A Listener for test progress.
A TestResult collects the results of executing a test case.
A TestSuite is a composite of Tests. It runs a collection of test cases.
Iterator for test suites.
Extension to PHPUnit\Framework\AssertionFailedError to mark the special
case of a test that unintentionally covers code.
Thrown when there is a warning.
A warning.
Base class for all test runners.
Runner for PHPT test cases.
The standard test suite loader.
An interface to define how a test suite should be loaded.
This class defines the current version of PHPUnit.
A TestRunner for the Command Line Interface (CLI)
PHP SAPI Module.
Prints the result of a TextUI TestRunner run.
A TestRunner for the Command Line Interface (CLI)
PHP SAPI Module.
Utility class for blacklisting PHPUnit's own source code files.
Wrapper for the PHPUnit XML configuration file.
Error handler that converts PHP errors and warnings to exceptions.
Utility methods to load PHP sourcefiles.
Filesystem helpers.
Utility class for code filtering.
Command-line options parsing class.
Factory for PHPUnit\Framework\Exception objects that are used to describe
invalid arguments passed to a function or method.
A TestListener that generates a logfile of the test execution in XML markup.
A TestListener that generates a logfile of the test execution using the
TeamCity format (for use with PhpStorm, for instance).
Utility methods for PHP sub-processes.
Default utility for PHP sub-processes.
Windows utility for PHP sub-processes.
Utility class that can print to STDOUT or write to a file.
Error handler that converts PHP errors and warnings to exceptions.
Test helpers.
Prints TestDox documentation in HTML format.
Prettifies class and method names for use in TestDox documentation.
Base class for printers of TestDox documentation.
Prints TestDox documentation in text format.
Utility class for textual type (and value) representation.
XML helpers.