final class TargetResults

Summarizes executed and deferred targets without treating deferred work as a pass.

Methods§

public function summarize(
    array<string, TestReference> $targets,
    array<string, TestResult> $cache,
): VerificationResult

Combines one specification's target results.

Parameters

$targetsarray<string, TestReference>
$cachearray<string, TestResult>

Returns

VerificationResult The verdict and passing and deferred counts
Test cases 1
Called from 1
Calls 3

Test cases 6§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 5

Relations§

Instantiated in 1
Method calls 1