Closed elliotchance closed 8 years ago
The autoloader will be in a different place and we also need to run tests or manually load a bootstrap with the ModuleManager, like:
$autoloadFiles = [ __DIR__ . '/../vendor/autoload.php', 'vendor/autoload.php', ]; foreach ($autoloadFiles as $autoload) { if (file_exists($autoload)) { require_once($autoload); break; } } require_once('protected/tests/bootstrap.php');
Need to write docs on how to use this.
Also the assertions aren't updated automatically when running the CLI.
The autoloader will be in a different place and we also need to run tests or manually load a bootstrap with the ModuleManager, like: