miniMVC/tests/index.php

24 lines
538 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-04-27 16:28:25 -04:00
define('MM_BASE_PATH', "../src/");
define('MM_SYS_PATH', MM_BASE_PATH.'/sys/');
define('MM_MOD_PATH', MM_BASE_PATH.'/modules/');
define('MM_APP_PATH', MM_BASE_PATH.'/app/');
2012-01-30 18:20:05 -05:00
//Include src files
require_once('../src/sys/common.php');
//Include test files
require_once('commonTest.php');
2012-04-27 16:28:25 -04:00
require_once('MMTest.php');
require_once('miniMVCTest.php');
require_once('dbTest.php');
2012-04-27 16:28:25 -04:00