miniMVC/tests/index.php

32 lines
786 B
PHP
Raw Normal View History

<?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
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
//Include src files
2012-05-18 16:20:47 -04:00
require_once(MM_SYS_PATH . 'common.php');
require_once(MM_SYS_PATH . 'core/traits.php');
require_once(MM_SYS_PATH . 'core/MM.php');
require_once(MM_SYS_PATH . 'core/miniMVC.php');
array_map('do_include', glob(MM_SYS_PATH . 'core/*.php'));
//Include test files
require_once('commonTest.php');
2012-04-27 16:28:25 -04:00
require_once('MMTest.php');
require_once('miniMVCTest.php');
2012-04-27 16:28:25 -04:00