/eot

East-oriented tests

Primary LanguagePHPThe UnlicenseUnlicense

eot

East-oriented tests

EOT logo

PANTONE 213 C

examples

simple assertion

(new IsTrue(function () { return true; }))->run(new ConsoleOutput());

exception assertion

(new ExceptionThrown(
    InvalidArgumentException::class,
    function () { throw new InvalidArgumentException('test'); }
))->run(new ConsoleOutput());