ANSI escape sequences for terminal colors, cursor control, and text formatting.

Provides assertion methods for verifying values in tests.

Carries assertion failure details including the actual and expected values.

Collects code coverage data from a test process and merges it into a shared file.

Base class for code coverage report generators.

Code coverage report generator.

Parses PHP source code and returns:

  • the start/end line information about functions, classes, interfaces, traits and their methods
  • the count of code lines
  • the count of commented code lines

Loads and filters test data from PHP or INI files.

Simplifies querying and traversing HTML documents using CSS selectors.

Dumps PHP variables.

Testing environment.

Builds a chain of Assert constraints to use inside Assert::equal() for partial value matching.

In-memory stream wrapper for testing file operations without touching the filesystem.

PHP file mutator.

Utility methods for file I/O, path handling, annotation parsing, and shell escaping.

HTTP testing helpers.

Parses CLI options, configures the runner, and executes the test suite.

Command-line arguments parser.

Signals that the test run was interrupted by the user (e.g. Ctrl+C).

Job

Spawns an isolated PHP process for a single test and captures its output and exit code.

Receives test lifecycle events from the runner to produce output.

Prints test progress and results to the console in dots, lines, or cider mode.

Outputs test results in JUnit XML format.

Logs all test results including passed tests to a file or stdout.

Outputs test results in Test Anything Protocol format (http://testanything.org).

Wraps a PHP executable and its resolved version, extensions, and command-line options.

Discovers tests, schedules parallel jobs, and aggregates results.

Immutable value object representing a single test and its execution result.

Processes test annotations to initiate test variants and assess their results.

Base class for xUnit-style test cases with setUp/tearDown hooks and data provider support.

Signals a TestCase configuration or runtime error.

Signals that a test method was skipped.