2012-01-17 11:55:42 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
//Specify test environment
|
|
|
|
define('ENVIRONMENT', 'DEVELOPMENT');
|
|
|
|
|
|
|
|
//Include simpletest
|
|
|
|
require_once('simpletest/autorun.php');
|
|
|
|
|
2012-01-30 18:20:05 -05:00
|
|
|
// 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/');
|
|
|
|
|
2012-01-17 11:55:42 -05:00
|
|
|
//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');
|