s1ptex / uniter
A package for quickly creating Unit tests
dev-main
2023-07-29 19:14 UTC
This package is auto-updated.
Last update: 2025-08-29 02:52:27 UTC
README
Instalation
composer require s1ptex/uniter
Usage
First you need to create a cortege of testsв
$Cortege = new \S1ptex\Uniter\Cortege("Test cortege");
Now add test
$Cortege->add("One plus One is Two", function(\S1ptex\Uniter\Test $test){ $test->assert(1+1 === 2); });
Print cortege
$Cortege->execute();
Let's run
php8.1 name_of_file.php