final class TestSuiteSorter (View source)

internal  This class is not covered by the backward compatibility promise for PHPUnit
 

Constants

ORDER_DEFAULT

ORDER_RANDOMIZED

ORDER_REVERSED

ORDER_DEFECTS_FIRST

ORDER_DURATION

ORDER_SIZE

private SIZE_SORT_WEIGHT

Methods

__construct(ResultCache|null $cache = null)

No description

void
reorderTestsInSuite(Test $suite, int $order, bool $resolveDependencies, int $orderDefects)

No description

Details

__construct(ResultCache|null $cache = null)

No description

Parameters

ResultCache|null $cache

void reorderTestsInSuite(Test $suite, int $order, bool $resolveDependencies, int $orderDefects)

No description

Parameters

Test $suite
int $order
bool $resolveDependencies
int $orderDefects

Return Value

void

Exceptions

Exception