23 lines
522 B
PHP
23 lines
522 B
PHP
<?php
|
|
|
|
//Specify test environment
|
|
define('ENVIRONMENT', 'DEVELOPMENT');
|
|
|
|
//Include simpletest
|
|
require_once('simpletest/autorun.php');
|
|
|
|
// Set the default paths
|
|
define('BASE_PATH', "../src/");
|
|
define('SYS_PATH', BASE_PATH.'/sys/');
|
|
define('MOD_PATH', BASE_PATH.'/modules/');
|
|
define('APP_PATH', BASE_PATH.'/app/');
|
|
|
|
//Include src files
|
|
require_once('../src/sys/common.php');
|
|
|
|
//Include test files
|
|
require_once('commonTest.php');
|
|
require_once('JSObjectTest.php');
|
|
require_once('miniMVCTest.php');
|
|
require_once('dbTest.php');
|