feature/cierres #31

Merged
aldarien merged 462 commits from feature/cierres into develop 2025-09-11 17:05:18 -03:00
377 changed files with 943 additions and 16850 deletions
Showing only changes of commit f5f1482b7a - Show all commits

View File

@ -147,6 +147,21 @@ class TestBootstrap
}
}
spl_autoload_register(function($className) {
$baseTestPath = __DIR__ . "/tests";
$namespaceMap = [
"ProVM\\Integration\\" => "{$baseTestPath}/integration",
"ProVM\\Unit\\" => "{$baseTestPath}/unit/src",
"ProVM\\Performance\\" => "{$baseTestPath}/performance",
];
foreach ($namespaceMap as $namespace => $path) {
if (str_starts_with($className, $namespace)) {
require str_replace($namespace, "{$path}/", $className) . ".php";
return;
}
}
});
$bootstrap = new TestBootstrap($_ENV);
Benchmark::execute([$bootstrap, 'run']);
Benchmark::print();