miniMVC/tests/index.php

26 lines
528 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');
//Include test files
require_once('commonTest.php');
2012-04-27 16:28:25 -04:00