2012-01-17 11:55:42 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
//Specify test environment
|
|
|
|
define('ENVIRONMENT', 'DEVELOPMENT');
|
|
|
|
|
|
|
|
//Include simpletest
|
2012-07-12 10:23:55 -04:00
|
|
|
require_once 'simpletest/autorun.php';
|
2012-01-17 11:55:42 -05:00
|
|
|
|
2012-01-30 18:20:05 -05:00
|
|
|
// Set the default paths
|
2012-05-18 16:20:47 -04:00
|
|
|
define('MM_SYS_PATH', '../sys/');
|
|
|
|
define('MM_MOD_PATH', '../modules/');
|
|
|
|
define('MM_APP_PATH', '../app/');
|
|
|
|
|
|
|
|
// Include db autoloader
|
|
|
|
require_once(MM_SYS_PATH . 'db/autoload.php');
|
|
|
|
|
|
|
|
// Include db tests
|
|
|
|
require_once(MM_SYS_PATH . 'db/tests/index.php');
|
2012-01-30 18:20:05 -05:00
|
|
|
|
2012-01-17 11:55:42 -05:00
|
|
|
//Include src files
|
2012-05-18 16:20:47 -04:00
|
|
|
require_once(MM_SYS_PATH . 'common.php');
|
2012-01-17 11:55:42 -05:00
|
|
|
|
|
|
|
//Include test files
|
2012-07-12 10:23:55 -04:00
|
|
|
require_once 'commonTest.php';
|
2012-04-27 16:28:25 -04:00
|
|
|
|