final class Verifier

Runs the tests linked to specifications and decides each verdict.

Each distinct runner and target pair runs once and its result is shared. A specification passes when every linked target passes with at least one executed test; requirements are not applicable, unsupported specifications are not run.

Methods§

public function verify(
    Project $project,
    array<string, Item> $items,
    bool $noTest = false,
    bool $all = false,
): array<string, VerificationResult>

Verifies items.

Parameters

$projectProjectThe loaded project with its runners
$itemsarray<string, Item>The items to verify by ID
$noTestboolWhether to report linked targets without running them
$allboolWhether to include manual tests

Returns

array<string, VerificationResult> The verdicts by item ID

Throws

InvalidInputException When a runner uses an unknown extension
Test cases 16
Called from 1
Calls 6

Test cases 21§

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

Dedicated tests 16
Other tests reaching this symbol 5

Relations§

Instantiated in 1
Method calls 1