interface Test implements Countable (View source)

A Test can be run and collect its results.

Methods

run(TestResult $result = null)

Runs a test and collects its result in a TestResult instance.

Details

TestResult run(TestResult $result = null)

Runs a test and collects its result in a TestResult instance.

Parameters

TestResult $result

Return Value

TestResult