diff options
Diffstat (limited to 'tests/Bootstrap.php')
-rw-r--r-- | tests/Bootstrap.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php new file mode 100644 index 000000000..ca63ff788 --- /dev/null +++ b/tests/Bootstrap.php @@ -0,0 +1,21 @@ +<?php + +ini_set('display_errors', 1); +error_reporting(E_ALL | E_STRICT); + +if ( ! defined('PROJECT_BASE')) +{ + define('PROJECT_BASE', realpath(dirname(__FILE__).'/../').'/'); + + define('BASEPATH', PROJECT_BASE.'system/'); + define('APPPATH', PROJECT_BASE.'application/'); +} +// define('EXT', '.php'); + +// @todo provide a way to set various config options + + + +// set up a highly controlled CI environment +require_once './lib/common.php'; +require_once './lib/ci_testcase.php';
\ No newline at end of file |