silverstripe-cms/tests/bootstrap.php
Sam Minnee bf9939e32c NEW: Refactor test bootstrap to be more modular.
The test bootstrap is broken into units that can be combined for
different test situations:

 - phpunit
 - behat
 - serve
2016-10-28 17:47:53 +13:00

11 lines
373 B
PHP

<?php
require __DIR__ . '/bootstrap/init.php';
require FRAMEWORK_PATH . '/tests/bootstrap/init.php';
require FRAMEWORK_PATH . '/tests/bootstrap/cli.php';
require FRAMEWORK_PATH . '/tests/bootstrap/environment.php';
require __DIR__ . '/bootstrap/mysite.php';
require FRAMEWORK_PATH . '/tests/bootstrap/mysite.php';
require FRAMEWORK_PATH . '/tests/bootstrap/phpunit.php';