Added PhpUnit configuration

This commit is contained in:
netkas 2024-09-17 22:17:13 -04:00
parent ad9e406657
commit 61158ff802
3 changed files with 25 additions and 0 deletions

9
bootstrap.php Normal file
View file

@ -0,0 +1,9 @@
<?php
$autoload_path = __DIR__ . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'ncc' . DIRECTORY_SEPARATOR . 'autoload.php';
if(!file_exists($autoload_path))
{
throw new Exception("Autoload file not found");
}
require $autoload_path;